{"id":"CVE-2026-89858","aliases":["CVE-2026-89858"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: qla2xxx: Bound image count in qla2x00_update_fru_versions()","summary":"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->count 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->count)) / 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->count 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->count)) / 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.","source":"cvelist"}],"published":"2026-09-16T10:31:30.876Z","modified":"2026-10-19T09:18:30.243Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"697a4bc69159c3396035b0506ffa55c4b2d0b1f4","fixed":"af733bbfcf667af1871a2735fba2835b0da71efb","status":"affected"},{"type":"git","introduced":"697a4bc69159c3396035b0506ffa55c4b2d0b1f4","fixed":"a9706d5e754e77515a92bb532bd0d73644979a1f","status":"affected"},{"type":"git","introduced":"697a4bc69159c3396035b0506ffa55c4b2d0b1f4","fixed":"7e3154c97ec15460f715dbbe4097c255cce110b1","status":"affected"},{"type":"git","introduced":"697a4bc69159c3396035b0506ffa55c4b2d0b1f4","fixed":"047f1f7ee6f85bde28abfdda9fa550191ddc0532","status":"affected"},{"type":"git","introduced":"697a4bc69159c3396035b0506ffa55c4b2d0b1f4","fixed":"f93e8039e6fd54a3c027c6184daf00b745b576a0","status":"affected"},{"type":"git","introduced":"697a4bc69159c3396035b0506ffa55c4b2d0b1f4","fixed":"7b22b4cb8822805cef7ba618da6f76e1474d68bd","status":"affected"},{"type":"git","introduced":"697a4bc69159c3396035b0506ffa55c4b2d0b1f4","fixed":"f2d4f025b67fcbfb2bbbadd3b5a6a43c4b436514","status":"affected"},{"type":"git","introduced":"697a4bc69159c3396035b0506ffa55c4b2d0b1f4","fixed":"de62cf265dbe309f34f144a6cdbca9240317727e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.2","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/af733bbfcf667af1871a2735fba2835b0da71efb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a9706d5e754e77515a92bb532bd0d73644979a1f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e3154c97ec15460f715dbbe4097c255cce110b1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/047f1f7ee6f85bde28abfdda9fa550191ddc0532","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f93e8039e6fd54a3c027c6184daf00b745b576a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7b22b4cb8822805cef7ba618da6f76e1474d68bd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f2d4f025b67fcbfb2bbbadd3b5a6a43c4b436514","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/de62cf265dbe309f34f144a6cdbca9240317727e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89858","url":"https://www.cve.org/CVERecord?id=CVE-2026-89858","licence":"CVE Terms of Use","modified":"2026-10-19T08:53:50.969Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89858","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89858","licence":"Public domain","modified":"2026-10-19T09:18:30.243Z"}],"updatedAt":"2026-11-25T22:59:38.959Z","epss":{"score":0.00216,"percentile":0.1284,"date":"2026-12-01T12:00:22.000Z"}}