Use After Free Vulnerability in Linux Kernel Affects SCSI Target Functionality
CVE-2026-99765
What is CVE-2026-99765?
A use-after-free vulnerability exists in the Linux kernel SCSI target subsystem where dynamic ACL dev entries could remain linked after being freed. This issue arises during the demo-mode login process that allows unauthenticated initiators to interact with the target. The failure to properly issue a teardown on LUN entries results in stale device references being accessible, which can lead to memory corruption when the same LUN is re-added. The vulnerability is remedied by reorganizing the order of operations involving publication and linking of ACLs and their corresponding device entries, ensuring mutex protections are adhered to during critical operations.
Affected Version(s)
Linux 49cb77e297dc611a1b795cfeb79452b3002bd331
Linux 49cb77e297dc611a1b795cfeb79452b3002bd331 < 78ad4413fab0cbd42c7280b5069ed2dd3f039162
Linux 49cb77e297dc611a1b795cfeb79452b3002bd331 < 6a6e7d7230cd4e0a6c003bae5b85bf37a1e77b94