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.

Affected products

VendorProductVersions
LinuxLinux697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to <af733bbfcf667af1871a2735fba2835b0da71efb; 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to <a9706d5e754e77515a92bb532bd0d73644979a1f; 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to <7e3154c97ec15460f715dbbe4097c255cce110b1; 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to <047f1f7ee6f85bde28abfdda9fa550191ddc0532; 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to <f93e8039e6fd54a3c027c6184daf00b745b576a0; 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to <7b22b4cb8822805cef7ba618da6f76e1474d68bd; 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to <f2d4f025b67fcbfb2bbbadd3b5a6a43c4b436514; 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to <de62cf265dbe309f34f144a6cdbca9240317727e
LinuxLinux3.2; 0 to <3.2; 5.10.270 to <=5.10.*; 5.15.221 to <=5.15.*; 6.1.188 to <=6.1.*; 6.6.157 to <=6.6.*; 6.12.110 to <=6.12.*; 6.18.51 to <=6.18.*; 7.2.5 to <=7.2.*; 7.3-rc1 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 17 Sep 2026 07:04 UTC.