CVE-2023-53456
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 1 Oct 2025
- Last modified
- 5 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 3.2, < 4.14.326 | 4.14.326 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.15, < 4.19.295 | 4.19.295 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.20, < 5.4.257 | 5.4.257 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.5, < 5.10.195 | 5.10.195 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.132 | 5.15.132 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.53 | 6.1.53 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.4.16 | 6.4.16 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.5, < 6.5.3 | 6.5.3 |
References
- https://git.kernel.org/stable/c/25feffb3fbd51ae81d92c65cebc0e932663828b3 · Patch
- https://git.kernel.org/stable/c/47cd3770e31df942e2bb925a9a855c79ed0662eb · Patch
- https://git.kernel.org/stable/c/47f3be62eab50b8cd7e1ae5fc2c4dae687497c34 · Patch
- https://git.kernel.org/stable/c/4ed21975311247bb84e82298eeb359ec0a0fa84d · Patch
- https://git.kernel.org/stable/c/5925e224cc6edfef57b20447f18323208461309b · Patch
- https://git.kernel.org/stable/c/6d65079c69dc1feb817ed71f5bd15e83a7d6832d · Patch
- https://git.kernel.org/stable/c/b018c0440b871d8b001c996e95fa4538bd292de6 · Patch
- https://git.kernel.org/stable/c/cfa6a1a79ed6d336fac7a5d87eb5471e4401829f · Patch
- https://git.kernel.org/stable/c/f61fc650c47849637fa1771a31a11674c824138a · Patch
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 1 Oct 2025)