Vulnerabilities · 2023 · Linux
CVE-2023-53456
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/25feffb3fbd51ae81d92c65cebc0e932663828b3 · Patch
- git.kernel.org/stable/c/47cd3770e31df942e2bb925a9a855c79ed0662eb · Patch
- git.kernel.org/stable/c/47f3be62eab50b8cd7e1ae5fc2c4dae687497c34 · Patch
- git.kernel.org/stable/c/4ed21975311247bb84e82298eeb359ec0a0fa84d · Patch
- git.kernel.org/stable/c/5925e224cc6edfef57b20447f18323208461309b · Patch
- git.kernel.org/stable/c/6d65079c69dc1feb817ed71f5bd15e83a7d6832d · Patch
- git.kernel.org/stable/c/b018c0440b871d8b001c996e95fa4538bd292de6 · Patch
- git.kernel.org/stable/c/cfa6a1a79ed6d336fac7a5d87eb5471e4401829f · Patch
- nvd.nist.gov/vuln/detail/CVE-2023-53456
- cve.org/CVERecord?id=CVE-2023-53456
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.