{"id":"CVE-2026-89861","aliases":["CVE-2026-89861"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: qla2xxx: Hold vport reference in qla24xx_report_id_acquisition()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Hold vport reference in qla24xx_report_id_acquisition()\n\nIn the format 1 path, the virtual port is located on ha->vp_list while\nholding vport_slock, but the lock is dropped before vp is used:\nqla_update_host_map() is called and VP_IDX_ACQUIRED/REGISTER_FC4_NEEDED/\nREGISTER_FDMI_NEEDED are set on vp. No reference is taken across that\nwindow, so a concurrent qla24xx_deallocate_vp_id() can tear the vport\ndown and free it, leading to a use-after-free.\n\nTake a vport reference (vref_count) under vport_slock when the matching\nvp is found, and drop it after the last use of\nvp. qla24xx_deallocate_vp_id() waits for vref_count to reach zero before\nunlinking and freeing the vport, so the pointer stays valid. This\nmatches the reference idiom already used by the other ha->vp_list\ntraversals.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Hold vport reference in qla24xx_report_id_acquisition()\n\nIn the format 1 path, the virtual port is located on ha->vp_list while\nholding vport_slock, but the lock is dropped before vp is used:\nqla_update_host_map() is called and VP_IDX_ACQUIRED/REGISTER_FC4_NEEDED/\nREGISTER_FDMI_NEEDED are set on vp. No reference is taken across that\nwindow, so a concurrent qla24xx_deallocate_vp_id() can tear the vport\ndown and free it, leading to a use-after-free.\n\nTake a vport reference (vref_count) under vport_slock when the matching\nvp is found, and drop it after the last use of\nvp. qla24xx_deallocate_vp_id() waits for vref_count to reach zero before\nunlinking and freeing the vport, so the pointer stays valid. This\nmatches the reference idiom already used by the other ha->vp_list\ntraversals.","source":"cvelist"}],"published":"2026-09-16T10:31:32.987Z","modified":"2026-10-19T09:18:30.610Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2c3dfe3f6ad8daff5acdb01713e4f2b116e78136","fixed":"d09ef32af1e05d79f29b460521a20bc4e6fd2ecf","status":"affected"},{"type":"git","introduced":"2c3dfe3f6ad8daff5acdb01713e4f2b116e78136","fixed":"4b7f0a95bfeb1d3673da4c29bbe9872a61bc1a69","status":"affected"},{"type":"git","introduced":"2c3dfe3f6ad8daff5acdb01713e4f2b116e78136","fixed":"267533b28ddf2c9223d30ad7e6960fa9e936428e","status":"affected"},{"type":"git","introduced":"2c3dfe3f6ad8daff5acdb01713e4f2b116e78136","fixed":"f8d2eb510c063a8ca79a5dc766a4303d3925fe83","status":"affected"},{"type":"git","introduced":"2c3dfe3f6ad8daff5acdb01713e4f2b116e78136","fixed":"f6b3bcc7cb2f4c37464958b9fd97dc7f185ea297","status":"affected"},{"type":"git","introduced":"2c3dfe3f6ad8daff5acdb01713e4f2b116e78136","fixed":"47272152a13d202d98496208f9bf382c1cf4d4fb","status":"affected"},{"type":"git","introduced":"2c3dfe3f6ad8daff5acdb01713e4f2b116e78136","fixed":"d556f899964d184e6cb788f3fa9dcddcafe1ab2d","status":"affected"},{"type":"git","introduced":"2c3dfe3f6ad8daff5acdb01713e4f2b116e78136","fixed":"793cedee296fd819bfadc2a7ec4d52faf9c09a0a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.23","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.23","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/d09ef32af1e05d79f29b460521a20bc4e6fd2ecf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4b7f0a95bfeb1d3673da4c29bbe9872a61bc1a69","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/267533b28ddf2c9223d30ad7e6960fa9e936428e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f8d2eb510c063a8ca79a5dc766a4303d3925fe83","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6b3bcc7cb2f4c37464958b9fd97dc7f185ea297","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47272152a13d202d98496208f9bf382c1cf4d4fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d556f899964d184e6cb788f3fa9dcddcafe1ab2d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/793cedee296fd819bfadc2a7ec4d52faf9c09a0a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89861","url":"https://www.cve.org/CVERecord?id=CVE-2026-89861","licence":"CVE Terms of Use","modified":"2026-10-19T08:53:53.884Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89861","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89861","licence":"Public domain","modified":"2026-10-19T09:18:30.610Z"}],"updatedAt":"2026-11-25T22:59:38.960Z","epss":{"score":0.00587,"percentile":0.49429,"date":"2026-12-01T12:00:22.000Z"}}