{"id":"CVE-2023-53456","summary":"scsi: qla4xxx: Add length check when parsing nlattrs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla4xxx: Add length check when parsing nlattrs\n\nThere are three places that qla4xxx parses nlattrs:\n\n - qla4xxx_set_chap_entry()\n\n - qla4xxx_iface_set_param()\n\n - qla4xxx_sysfs_ddb_set_param()\n\nand each of them directly converts the nlattr to specific pointer of\nstructure without length checking. This could be dangerous as those\nattributes are not validated and a malformed nlattr (e.g., length 0) could\nresult in an OOB read that leaks heap dirty data.\n\nAdd the nla_len check before accessing the nlattr data and return EINVAL if\nthe length check fails.","modified":"2026-04-02T09:44:15.128558Z","published":"2025-10-01T11:42:27.821Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03614-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:3761-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53456.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/25feffb3fbd51ae81d92c65cebc0e932663828b3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/47cd3770e31df942e2bb925a9a855c79ed0662eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/47f3be62eab50b8cd7e1ae5fc2c4dae687497c34"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4ed21975311247bb84e82298eeb359ec0a0fa84d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5925e224cc6edfef57b20447f18323208461309b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d65079c69dc1feb817ed71f5bd15e83a7d6832d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b018c0440b871d8b001c996e95fa4538bd292de6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cfa6a1a79ed6d336fac7a5d87eb5471e4401829f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f61fc650c47849637fa1771a31a11674c824138a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53456.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53456"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80"},{"fixed":"cfa6a1a79ed6d336fac7a5d87eb5471e4401829f"},{"fixed":"5925e224cc6edfef57b20447f18323208461309b"},{"fixed":"47f3be62eab50b8cd7e1ae5fc2c4dae687497c34"},{"fixed":"6d65079c69dc1feb817ed71f5bd15e83a7d6832d"},{"fixed":"f61fc650c47849637fa1771a31a11674c824138a"},{"fixed":"25feffb3fbd51ae81d92c65cebc0e932663828b3"},{"fixed":"4ed21975311247bb84e82298eeb359ec0a0fa84d"},{"fixed":"b018c0440b871d8b001c996e95fa4538bd292de6"},{"fixed":"47cd3770e31df942e2bb925a9a855c79ed0662eb"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53456.json"}}],"schema_version":"1.7.5"}