{"id":"CVE-2026-72086","summary":"scsi: xen: scsiback: Free the command tag on the TMR submit-failure path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: xen: scsiback: Free the command tag on the TMR submit-failure path\n\nscsiback_device_action() obtains a command tag in\nscsiback_get_pend_req() and submits a task-management request with\ntarget_submit_tmr(). When target_submit_tmr() fails it returns \u003c 0 and\nscsiback jumps to the err: label, which sends a response but frees\nnothing, leaking the tag.\n\nImpact: a pvSCSI guest can leak the command tags of a LUN's session,\nstopping the LUN, by issuing VSCSIIF_ACT_SCSI_ABORT or RESET requests\nwhenever target_submit_tmr() fails.\n\ntransport_generic_free_cmd() cannot be used here. By the time\ntarget_submit_tmr() returns an error it has already run\n__target_init_cmd() (so se_cmd-\u003ecmd_kref is one, not zero), and on its\ntarget_get_sess_cmd() error path it has freed se_cmd-\u003ese_tmr_req via\ncore_tmr_release_req() while leaving SCF_SCSI_TMR_CDB set and the\npointer dangling. Letting the command release run target_free_cmd_mem()\nwould then double-free se_tmr_req.\n\nUse the same helper, which returns just the tag, on this path too.","modified":"2026-08-18T03:31:01.582675446Z","published":"2026-08-15T05:52:34.822Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72086.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1357fb32d42ad8da193e6da285f09e6452feabda"},{"type":"WEB","url":"https://git.kernel.org/stable/c/18d4f86816592586b38513543b5e1f9553bc271f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/255fb7b0cdc947b1c01929c7f133281342a3a6b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4567ce79fe2f84c3dcc3a91b22a377cf482d33ad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66aefc277ebb796ec285d550305535dc3fc0179f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c01f0439098f00a64b246dc27479602201382f7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fbc1bdede66d0f2cde83b75d6524ce1a815bb69f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72086.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72086"},{"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":"2dbcdf33dbf61f44b29adb52338282c3d7840d0e"},{"fixed":"4567ce79fe2f84c3dcc3a91b22a377cf482d33ad"},{"fixed":"6c01f0439098f00a64b246dc27479602201382f7"},{"fixed":"18d4f86816592586b38513543b5e1f9553bc271f"},{"fixed":"fbc1bdede66d0f2cde83b75d6524ce1a815bb69f"},{"fixed":"255fb7b0cdc947b1c01929c7f133281342a3a6b5"},{"fixed":"1357fb32d42ad8da193e6da285f09e6452feabda"},{"fixed":"66aefc277ebb796ec285d550305535dc3fc0179f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72086.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.6.0"},{"fixed":"5.15.212"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72086.json"}}],"schema_version":"1.9.0"}