CVEvulnerability

CVE-2023-53456

5.5 MEDIUM Published 2025-10-01 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-10-01
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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 configurations

• linux linux kernel (>= 3.2 < 4.14.326) • linux linux kernel (>= 4.15 < 4.19.295) • linux linux kernel (>= 4.20 < 5.4.257) • linux linux kernel (>= 5.5 < 5.10.195) • linux linux kernel (>= 5.11 < 5.15.132) • linux linux kernel (>= 5.16 < 6.1.53) • linux linux kernel (>= 6.2 < 6.4.16) • linux linux kernel (>= 6.5 < 6.5.3)

References