scsi: qla2xxx: Bound image count in qla2x00_update_fru_versions() (Linux Linux)

CVE-2026-89858
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Bound image count in qla2x00_update_fru_versions() qla2x00_update_fru_versions() copies the user-supplied BSG request into a fixed 256-byte stack buffer (bsg[DMA_POOL_SIZE]) and then iterates list->count times over the qla_image_version array embedded in that buffer, advancing the image pointer each iteration. count is taken directly from user input with no upper bound, while only (DMA_POOL_SIZE - sizeof(list->count)) / sizeof(struct qla_image_version) = 6 entries actually fit. A larger count walks the image pointer off the end of the stack buffer, reading adjacent kernel stack memory and sending it to the device via qla2x00_write_sfp(). Reject requests whose declared count does not fit in the buffer.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 < af733bbfcf667af1871a2735fba2835b0da71efb ; affected 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 < a9706d5e754e77515a92bb532bd0d73644979a1f ; affected 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 < 7e3154c97ec15460f715dbbe4097c255cce110b1 ; affected 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 < 047f1f7ee6f85bde28abfdda9fa550191ddc0532 ; affected 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 < f93e8039e6fd54a3c027c6184daf00b745b576a0 ; affected 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 < 7b22b4cb8822805cef7ba618da6f76e1474d68bd
Linux · Linuxaffected 3.2 ; unaffected 0 < 3.2 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD