{"id":"CVE-2026-72083","revision":"90a393c14e0d423a8fe48c082f2b3658","records":[{"revision":"90a393c14e0d423a8fe48c082f2b3658","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-72083","aliases":[],"title":"scsi: target: core: Fix iSCSI ISID use-after-free in REGISTER AND MOVE","description":"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.","state":0,"publishedAt":"2026-08-15T05:52:32.045+00:00","modifiedAt":"2026-10-19T21:19:26.91+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/target/target_core_pr.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"4949314c7283ea4f9ade182ca599583b89f7edd6\",\n                            \"lessThan\": \"7d56f5c868d92c9d504a34a3ea450bce481c7f63\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"4949314c7283ea4f9ade182ca599583b89f7edd6\",\n                            \"lessThan\": \"59a2a5a37dc49a641ad6bc64aee34e5a61025ffd\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"4949314c7283ea4f9ade182ca599583b89f7edd6\",\n                            \"lessThan\": \"9f8076cc73dfa6b10155978c160587e986b22169\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"4949314c7283ea4f9ade182ca599583b89f7edd6\",\n                            \"lessThan\": \"a040004846f1fbe687f6ec76d9ccc27b4ead42e4\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"4949314c7283ea4f9ade182ca599583b89f7edd6\",\n                            \"lessThan\": \"05b3e37433cf2eaf8867f1c16528aa347bb212ab\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"4949314c7283ea4f9ade182ca599583b89f7edd6\",\n                            \"lessThan\": \"cb7bdae7fba404852ade34b0c1445fbaf3e54fbb\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"4949314c7283ea4f9ade182ca599583b89f7edd6\",\n                            \"lessThan\": \"ef2ee18fec92088c7d8877baf7674e89389ccd66\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"4949314c7283ea4f9ade182ca599583b89f7edd6\",\n                            \"lessThan\": \"fda6a1f3c3d7047b5ce5654487649c2daa738bfc\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d2227f84ba0e97906153ac83db13213fb2e3938d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3.2.9\",\n                            \"lessThan\": \"3.3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/target/target_core_pr.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"3.3\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"3.3\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.10.261\",\n                            \"lessThanOrEqual\": \"5.10.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.212\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.178\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.145\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.97\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.40\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.5\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://git.kernel.org/stable/c/7d56f5c868d92c9d504a34a3ea450bce481c7f63","https://git.kernel.org/stable/c/59a2a5a37dc49a641ad6bc64aee34e5a61025ffd","https://git.kernel.org/stable/c/9f8076cc73dfa6b10155978c160587e986b22169","https://git.kernel.org/stable/c/a040004846f1fbe687f6ec76d9ccc27b4ead42e4","https://git.kernel.org/stable/c/05b3e37433cf2eaf8867f1c16528aa347bb212ab","https://git.kernel.org/stable/c/cb7bdae7fba404852ade34b0c1445fbaf3e54fbb","https://git.kernel.org/stable/c/ef2ee18fec92088c7d8877baf7674e89389ccd66","https://git.kernel.org/stable/c/fda6a1f3c3d7047b5ce5654487649c2daa738bfc"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-72083","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-72083","identifiers":["CVE-2026-72083"]},"retained":false,"historicalAffected":[]}],"coverage":[]}