---
id: CVE-2023-53456
title: 'scsi: qla4xxx: Add length check when parsing nlattrs'
summary: |-
  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()

   -…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 <
    cfa6a1a79ed6d336fac7a5d87eb5471e4401829f
  - >-
    Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 <
    5925e224cc6edfef57b20447f18323208461309b
  - >-
    Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 <
    47f3be62eab50b8cd7e1ae5fc2c4dae687497c34
  - >-
    Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 <
    6d65079c69dc1feb817ed71f5bd15e83a7d6832d
  - >-
    Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 <
    f61fc650c47849637fa1771a31a11674c824138a
  - >-
    Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 <
    25feffb3fbd51ae81d92c65cebc0e932663828b3
  - >-
    Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 <
    4ed21975311247bb84e82298eeb359ec0a0fa84d
  - >-
    Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 <
    b018c0440b871d8b001c996e95fa4538bd292de6
  - >-
    Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 <
    47cd3770e31df942e2bb925a9a855c79ed0662eb
  - Linux 3.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:21:10.594572Z'
published: '2025-10-01'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:31:09.662Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-53456'
references:
  - url: 'https://git.kernel.org/stable/c/cfa6a1a79ed6d336fac7a5d87eb5471e4401829f'
  - url: 'https://git.kernel.org/stable/c/5925e224cc6edfef57b20447f18323208461309b'
  - url: 'https://git.kernel.org/stable/c/47f3be62eab50b8cd7e1ae5fc2c4dae687497c34'
  - url: 'https://git.kernel.org/stable/c/6d65079c69dc1feb817ed71f5bd15e83a7d6832d'
  - url: 'https://git.kernel.org/stable/c/f61fc650c47849637fa1771a31a11674c824138a'
  - url: 'https://git.kernel.org/stable/c/25feffb3fbd51ae81d92c65cebc0e932663828b3'
  - url: 'https://git.kernel.org/stable/c/4ed21975311247bb84e82298eeb359ec0a0fa84d'
  - url: 'https://git.kernel.org/stable/c/b018c0440b871d8b001c996e95fa4538bd292de6'
  - url: 'https://git.kernel.org/stable/c/47cd3770e31df942e2bb925a9a855c79ed0662eb'
tags:
  - cve.org
epss: 0.00163
epssPercentile: 0.05562
ingestedAt: '2026-11-05T22:38:31.796Z'
---

## Overview

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

- `Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 < cfa6a1a79ed6d336fac7a5d87eb5471e4401829f`
- `Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 < 5925e224cc6edfef57b20447f18323208461309b`
- `Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 < 47f3be62eab50b8cd7e1ae5fc2c4dae687497c34`
- `Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 < 6d65079c69dc1feb817ed71f5bd15e83a7d6832d`
- `Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 < f61fc650c47849637fa1771a31a11674c824138a`
- `Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 < 25feffb3fbd51ae81d92c65cebc0e932663828b3`
- `Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 < 4ed21975311247bb84e82298eeb359ec0a0fa84d`
- `Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 < b018c0440b871d8b001c996e95fa4538bd292de6`
- `Linux >= 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 < 47cd3770e31df942e2bb925a9a855c79ed0662eb`
- `Linux 3.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
