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

Medium 5.5 Published Updated

A missing length check in the qla4xxx SCSI driver allows an attacker to trigger an out-of-bounds read, potentially leaking heap memory contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-53456?

CVE-2023-53456 is a medium-severity vulnerability in Linux kernel, published on 1 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2023-53456?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53456?

Apply the vendor's patch.

Is CVE-2023-53456 being exploited?

There is no known exploitation of CVE-2023-53456 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53456, DEBIAN-CVE-2023-53456, GHSA-vp46-h7c5-rj5w, UBUNTU-CVE-2023-53456.

Is CVE-2023-53456 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free