CVE-2023-53456
scsi: qla4xxx: Add length check when parsing nlattrs
Check your servers for CVE-2023-53456
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53456 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.90% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, before cfa6a1a79ed6d336fac7a5d87eb5471e4401829f affected from 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, before 5925e224cc6edfef57b20447f18323208461309b affected from 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, before 47f3be62eab50b8cd7e1ae5fc2c4dae687497c34 affected from 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, before 6d65079c69dc1feb817ed71f5bd15e83a7d6832d affected from 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, before f61fc650c47849637fa1771a31a11674c824138a affected from 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, before 25feffb3fbd51ae81d92c65cebc0e932663828b3 affected from 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, before 4ed21975311247bb84e82298eeb359ec0a0fa84d affected from 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, before b018c0440b871d8b001c996e95fa4538bd292de6 affected from 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, before 47cd3770e31df942e2bb925a9a855c79ed0662eb
Other versions: unaffected
|
| Linux |
affected 3.2 unaffected before 3.2 unaffected from 4.14.326 up to and including 4.14.* unaffected from 4.19.295 up to and including 4.19.* unaffected from 5.4.257 up to and including 5.4.* unaffected from 5.10.195 up to and including 5.10.* unaffected from 5.15.132 up to and including 5.15.* unaffected from 6.1.53 up to and including 6.1.* unaffected from 6.4.16 up to and including 6.4.* unaffected from 6.5.3 up to and including 6.5.* unaffected 6.6 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53456 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53456
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53456
trivy image --scanners vuln IMAGE | grep CVE-2023-53456
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/cfa6a1a79ed6d336fac7a5d87eb5471e4401829f git.kernel.org
- https://git.kernel.org/stable/c/5925e224cc6edfef57b20447f18323208461309b git.kernel.org
- https://git.kernel.org/stable/c/47f3be62eab50b8cd7e1ae5fc2c4dae687497c34 git.kernel.org
- https://git.kernel.org/stable/c/6d65079c69dc1feb817ed71f5bd15e83a7d6832d git.kernel.org
- https://git.kernel.org/stable/c/f61fc650c47849637fa1771a31a11674c824138a git.kernel.org
- https://git.kernel.org/stable/c/25feffb3fbd51ae81d92c65cebc0e932663828b3 git.kernel.org
- https://git.kernel.org/stable/c/4ed21975311247bb84e82298eeb359ec0a0fa84d git.kernel.org
- https://git.kernel.org/stable/c/b018c0440b871d8b001c996e95fa4538bd292de6 git.kernel.org
- https://git.kernel.org/stable/c/47cd3770e31df942e2bb925a9a855c79ed0662eb git.kernel.org
Source: the record CVE-2023-53456 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse