{"id":"CVE-2026-72083","published":"2026-08-15T05:52:32Z","modified":"2026-10-19T21:19:26Z","title":"scsi: target: core: Fix iSCSI ISID use-after-free in REGISTER AND MOVE","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: core: Fix iSCSI ISID use-after-free in REGISTER AND MOVE\n\ncore_scsi3_emulate_pro_register_and_move() maps the PERSISTENT RESERVE OUT\nparameter list with transport_kmap_data_sg() and parses the destination\nTransportID with target_parse_pr_out_transport_id(). For an iSCSI\nTransportID (FORMAT CODE 01b), iscsi_parse_pr_out_transport_id() returns\nthe ISID in iport_ptr as a raw pointer into that mapped buffer.\n\nThe function then unmaps the buffer with transport_kunmap_data_sg() before\ndereferencing iport_ptr in strcmp(), __core_scsi3_locate_pr_reg() and\ncore_scsi3_alloc_registration(). When the parameter list spans more than\none page (PARAMETER LIST LENGTH > 4096), transport_kmap_data_sg() uses\nvmap() and transport_kunmap_data_sg() does vunmap(), so the kernel virtual\naddress backing iport_ptr is torn down and every subsequent dereference is\na use-after-free read of the unmapped region.\n\nKeep the parameter list mapped until iport_ptr is no longer needed: drop\nthe early transport_kunmap_data_sg() and unmap once on the success path,\nright before returning. The error paths already unmap through the existing\n\"if (buf) transport_kunmap_data_sg(cmd)\" at the out: label, which now runs\non every post-map error exit because buf is no longer cleared early. Only\nreads of the mapping happen while spinlocks are held; the map and unmap\ncalls remain outside any lock. The sibling caller\ncore_scsi3_decode_spec_i_port() already uses the buffer before unmapping it\nand is left unchanged.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00724,"percentile":0.54989,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/7d56f5c868d92c9d504a34a3ea450bce481c7f63","tags":[]},{"url":"https://git.kernel.org/stable/c/59a2a5a37dc49a641ad6bc64aee34e5a61025ffd","tags":[]},{"url":"https://git.kernel.org/stable/c/9f8076cc73dfa6b10155978c160587e986b22169","tags":[]},{"url":"https://git.kernel.org/stable/c/a040004846f1fbe687f6ec76d9ccc27b4ead42e4","tags":[]},{"url":"https://git.kernel.org/stable/c/05b3e37433cf2eaf8867f1c16528aa347bb212ab","tags":[]},{"url":"https://git.kernel.org/stable/c/cb7bdae7fba404852ade34b0c1445fbaf3e54fbb","tags":[]},{"url":"https://git.kernel.org/stable/c/ef2ee18fec92088c7d8877baf7674e89389ccd66","tags":[]},{"url":"https://git.kernel.org/stable/c/fda6a1f3c3d7047b5ce5654487649c2daa738bfc","tags":[]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":11.0},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4949314c7283ea4f9ade182ca599583b89f7edd6, < 7d56f5c868d92c9d504a34a3ea450bce481c7f63",">= 4949314c7283ea4f9ade182ca599583b89f7edd6, < 59a2a5a37dc49a641ad6bc64aee34e5a61025ffd",">= 4949314c7283ea4f9ade182ca599583b89f7edd6, < 9f8076cc73dfa6b10155978c160587e986b22169",">= 4949314c7283ea4f9ade182ca599583b89f7edd6, < a040004846f1fbe687f6ec76d9ccc27b4ead42e4",">= 4949314c7283ea4f9ade182ca599583b89f7edd6, < 05b3e37433cf2eaf8867f1c16528aa347bb212ab",">= 4949314c7283ea4f9ade182ca599583b89f7edd6, < cb7bdae7fba404852ade34b0c1445fbaf3e54fbb",">= 4949314c7283ea4f9ade182ca599583b89f7edd6, < ef2ee18fec92088c7d8877baf7674e89389ccd66",">= 4949314c7283ea4f9ade182ca599583b89f7edd6, < fda6a1f3c3d7047b5ce5654487649c2daa738bfc","d2227f84ba0e97906153ac83db13213fb2e3938d",">= 3.2.9, < 3.3"]},{"vendor":"Linux","product":"Linux","versions":["3.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-16T15:51:39.405960Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-59041","exploited":false,"provenance":"source"}}