{"id":"CVE-2026-89858","summary":"scsi: qla2xxx: Bound image count in qla2x00_update_fru_versions()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Bound image count in qla2x00_update_fru_versions()\n\nqla2x00_update_fru_versions() copies the user-supplied BSG request into\na fixed 256-byte stack buffer (bsg[DMA_POOL_SIZE]) and then iterates\nlist-\u003ecount times over the qla_image_version array embedded in that\nbuffer, advancing the image pointer each iteration. count is taken\ndirectly from user input with no upper bound, while only (DMA_POOL_SIZE\n- sizeof(list-\u003ecount)) / sizeof(struct qla_image_version) = 6 entries\nactually fit. A larger count walks the image pointer off the end of the\nstack buffer, reading adjacent kernel stack memory and sending it to the\ndevice via qla2x00_write_sfp().\n\nReject requests whose declared count does not fit in the buffer.","modified":"2026-09-18T03:48:33.581303816Z","published":"2026-09-16T10:31:30.876Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89858.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/047f1f7ee6f85bde28abfdda9fa550191ddc0532"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b22b4cb8822805cef7ba618da6f76e1474d68bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e3154c97ec15460f715dbbe4097c255cce110b1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9706d5e754e77515a92bb532bd0d73644979a1f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/af733bbfcf667af1871a2735fba2835b0da71efb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/de62cf265dbe309f34f144a6cdbca9240317727e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f2d4f025b67fcbfb2bbbadd3b5a6a43c4b436514"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f93e8039e6fd54a3c027c6184daf00b745b576a0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89858.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89858"},{"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":"697a4bc69159c3396035b0506ffa55c4b2d0b1f4"},{"fixed":"af733bbfcf667af1871a2735fba2835b0da71efb"},{"fixed":"a9706d5e754e77515a92bb532bd0d73644979a1f"},{"fixed":"7e3154c97ec15460f715dbbe4097c255cce110b1"},{"fixed":"047f1f7ee6f85bde28abfdda9fa550191ddc0532"},{"fixed":"f93e8039e6fd54a3c027c6184daf00b745b576a0"},{"fixed":"7b22b4cb8822805cef7ba618da6f76e1474d68bd"},{"fixed":"f2d4f025b67fcbfb2bbbadd3b5a6a43c4b436514"},{"fixed":"de62cf265dbe309f34f144a6cdbca9240317727e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89858.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89858.json"}}],"schema_version":"1.9.0"}