scsi: qla4xxx: Add length check when parsing nlattrs
In the Linux kernel, the following vulnerability has been resolved: scsi: qla4xxx: Add length check when parsing nlattrs There are three places that qla4xxx parses nlattrs: - qla4xxx_set_chap_entry() - qla4xxx_iface_set_param() - qla4xxx_sysfs_ddb_set_param() and each of them directly converts the nlattr to specific pointer of structure without length checking. This could be dangerous as those attributes are not validated and a malformed nlattr (e.g., length 0) could result in an OOB read that leaks heap dirty data. Add the nla_len check before accessing the nlattr data and return EINVAL if the length check fails.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.14.326, 4.19.295, 5.10.195, 5.15.132, 5.4.257, 6.1.53, 6.4.16, 6.5.3
- CVEs
- CVE-2023-53456
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 10:29 UTC · Revision 1
Source evidence
scsi: qla4xxx: Add length check when parsing nlattrs
core-osv · Original sourcePublished 1 Oct 2025, 11:42 UTC
In the Linux kernel, the following vulnerability has been resolved: scsi: qla4xxx: Add length check when parsing nlattrs There are three places that qla4xxx parses nlattrs: - qla4xxx_set_chap_entry() - qla4xxx_iface_set_param() - qla4xxx_sysfs_ddb_set_param() and each of them directly converts the nlattr to specific pointer of structure without length checking. This could be dangerous as those attributes are not validated and a malformed nlattr (e.g., length 0) could result in an OOB read that leaks heap dirty data. Add the nla_len check before accessing the nlattr data and return EINVAL if the length check fails.
osv:CVE-2023-53456
Kernel
Fixed versions: 4.14.326, 4.19.295, 5.4.257, 5.10.195, 5.15.132, 6.1.53, 6.4.16, 6.5.3
Complete source record
{
"id": "c12fd065152eb03ae873428ffab55a7133db825bc6e81d2515425465f19a2598",
"url": "https://osv.dev/vulnerability/CVE-2023-53456",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "scsi: qla4xxx: Add length check when parsing nlattrs",
"summary": "In the Linux kernel, the following vulnerability has been resolved: scsi: qla4xxx: Add length check when parsing nlattrs There are three places that qla4xxx parses nlattrs: - qla4xxx_set_chap_entry() - qla4xxx_iface_set_param() - qla4xxx_sysfs_ddb_set_param() and each of them directly converts the nlattr to specific pointer of structure without length checking. This could be dangerous as those attributes are not validated and a malformed nlattr (e.g., length 0) could result in an OOB read that leaks heap dirty data. Add the nla_len check before accessing the nlattr data and return EINVAL if the length check fails.",
"evidence": "osv:CVE-2023-53456",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.14.326",
"evidence": "/affected/1/ranges"
},
{
"value": "4.19.295",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.257",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.195",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.132",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.53",
"evidence": "/affected/1/ranges"
},
{
"value": "6.4.16",
"evidence": "/affected/1/ranges"
},
{
"value": "6.5.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2023-53456",
"aliases": [
"CVE-2023-53456"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80"
},
{
"fixed": "cfa6a1a79ed6d336fac7a5d87eb5471e4401829f"
},
{
"fixed": "5925e224cc6edfef57b20447f18323208461309b"
},
{
"fixed": "47f3be62eab50b8cd7e1ae5fc2c4dae687497c34"
},
{
"fixed": "6d65079c69dc1feb817ed71f5bd15e83a7d6832d"
},
{
"fixed": "f61fc650c47849637fa1771a31a11674c824138a"
},
{
"fixed": "25feffb3fbd51ae81d92c65cebc0e932663828b3"
},
{
"fixed": "4ed21975311247bb84e82298eeb359ec0a0fa84d"
},
{
"fixed": "b018c0440b871d8b001c996e95fa4538bd292de6"
},
{
"fixed": "47cd3770e31df942e2bb925a9a855c79ed0662eb"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53456.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.2.0"
},
{
"fixed": "4.14.326"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.15.0"
},
{
"fixed": "4.19.295"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.257"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.195"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.132"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.53"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.4.16"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.5.0"
},
{
"fixed": "6.5.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53456.json"
}
}
],
"modified": "2026-10-28T02:30:44.094120274Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/25feffb3fbd51ae81d92c65cebc0e932663828b3",
"https://git.kernel.org/stable/c/47cd3770e31df942e2bb925a9a855c79ed0662eb",
"https://git.kernel.org/stable/c/47f3be62eab50b8cd7e1ae5fc2c4dae687497c34",
"https://git.kernel.org/stable/c/4ed21975311247bb84e82298eeb359ec0a0fa84d",
"https://git.kernel.org/stable/c/5925e224cc6edfef57b20447f18323208461309b",
"https://git.kernel.org/stable/c/6d65079c69dc1feb817ed71f5bd15e83a7d6832d",
"https://git.kernel.org/stable/c/b018c0440b871d8b001c996e95fa4538bd292de6",
"https://git.kernel.org/stable/c/cfa6a1a79ed6d336fac7a5d87eb5471e4401829f",
"https://git.kernel.org/stable/c/f61fc650c47849637fa1771a31a11674c824138a",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53456.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-53456",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53456.json"
}
},
"related_cves": [
{
"value": "CVE-2023-53456",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 511621,
"published_at": "2025-10-01T11:42:27.821+00:00"
}