# CVE-2023-53456: scsi: qla4xxx: Add length check when parsing nlattrs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 8, 2026-11-26)
- **Published:** 2025-10-01T11:42:27.821Z
- **Modified:** 2026-11-05T21:17:20.713Z

## Who should check

- Anyone running Linux \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< cfa6a1a79ed6d336fac7a5d87eb5471e4401829f; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 5925e224cc6edfef57b20447f18323208461309b; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 47f3be62eab50b8cd7e1ae5fc2c4dae687497c34; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 6d65079c69dc1feb817ed71f5bd15e83a7d6832d; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< f61fc650c47849637fa1771a31a11674c824138a; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 25feffb3fbd51ae81d92c65cebc0e932663828b3; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 4ed21975311247bb84e82298eeb359ec0a0fa84d; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< b018c0440b871d8b001c996e95fa4538bd292de6; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 47cd3770e31df942e2bb925a9a855c79ed0662eb
- Anyone running Linux 3.2

## 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.

## Affected and fixed versions

- Linux: \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< cfa6a1a79ed6d336fac7a5d87eb5471e4401829f; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 5925e224cc6edfef57b20447f18323208461309b; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 47f3be62eab50b8cd7e1ae5fc2c4dae687497c34; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 6d65079c69dc1feb817ed71f5bd15e83a7d6832d; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< f61fc650c47849637fa1771a31a11674c824138a; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 25feffb3fbd51ae81d92c65cebc0e932663828b3; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 4ed21975311247bb84e82298eeb359ec0a0fa84d; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< b018c0440b871d8b001c996e95fa4538bd292de6; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 47cd3770e31df942e2bb925a9a855c79ed0662eb (cvelist)
- Linux: 3.2 (cvelist)

## Mitigation

- Upgrade Linux to 47cd3770e31df942e2bb925a9a855c79ed0662eb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53456. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53456.md
Affected: Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, < cfa6a1a79ed6d336fac7a5d87eb5471e4401829f; >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, < 5925e224cc6edfef57b20447f18323208461309b; >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, < 47f3be62eab50b8cd7e1ae5fc2c4dae687497c34; >= 00c31889f7513e9ffa6b2b4…
Fixed in: Linux 5925e224cc6edfef57b20447f18323208461309b, Linux 47f3be62eab50b8cd7e1ae5fc2c4dae687497c34, Linux 6d65079c69dc1feb817ed71f5bd15e83a7d6832d, Linux 25feffb3fbd51ae81d92c65cebc0e932663828b3, Linux 4ed21975311247bb84e82298eeb359ec0a0fa84d, Linux 47cd3770e31df942e2bb925a9a855c79ed0662eb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53456 being exploited?

There is no confirmed exploitation: CVE-2023-53456 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53456?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53456?

Linux \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< cfa6a1a79ed6d336fac7a5d87eb5471e4401829f; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 5925e224cc6edfef57b20447f18323208461309b; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 47f3be62eab50b8cd7e1ae5fc2c4dae687497c34; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 6d65079c69dc1feb817ed71f5bd15e83a7d6832d; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< f61fc650c47849637fa1771a31a11674c824138a; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 25feffb3fbd51ae81d92c65cebc0e932663828b3; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 4ed21975311247bb84e82298eeb359ec0a0fa84d; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< b018c0440b871d8b001c996e95fa4538bd292de6; \>= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80, \< 47cd3770e31df942e2bb925a9a855c79ed0662eb; Linux 3.2.

### Is there a fix for CVE-2023-53456?

Yes. Fixed in Linux 5925e224cc6edfef57b20447f18323208461309b, Linux 47f3be62eab50b8cd7e1ae5fc2c4dae687497c34, Linux 6d65079c69dc1feb817ed71f5bd15e83a7d6832d, Linux 25feffb3fbd51ae81d92c65cebc0e932663828b3, Linux 4ed21975311247bb84e82298eeb359ec0a0fa84d, Linux 47cd3770e31df942e2bb925a9a855c79ed0662eb. Upgrade Linux to 47cd3770e31df942e2bb925a9a855c79ed0662eb or later.

### How do I check if I'm affected by CVE-2023-53456?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/cfa6a1a79ed6d336fac7a5d87eb5471e4401829f>
- patch: <https://git.kernel.org/stable/c/5925e224cc6edfef57b20447f18323208461309b>
- patch: <https://git.kernel.org/stable/c/47f3be62eab50b8cd7e1ae5fc2c4dae687497c34>
- patch: <https://git.kernel.org/stable/c/6d65079c69dc1feb817ed71f5bd15e83a7d6832d>
- patch: <https://git.kernel.org/stable/c/f61fc650c47849637fa1771a31a11674c824138a>
- patch: <https://git.kernel.org/stable/c/25feffb3fbd51ae81d92c65cebc0e932663828b3>
- patch: <https://git.kernel.org/stable/c/4ed21975311247bb84e82298eeb359ec0a0fa84d>
- patch: <https://git.kernel.org/stable/c/b018c0440b871d8b001c996e95fa4538bd292de6>
- patch: <https://git.kernel.org/stable/c/47cd3770e31df942e2bb925a9a855c79ed0662eb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53456>

HTML: <https://flawdb.com/CVE-2023-53456> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53456>
