CVE-2026-99156·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: scsi: st: Fix use-after-free race between st_remove() and st_open() st_remove() drops the probe reference on the scsi_tape with kref_put() and only afterwards removes its index from st_index_idr. If that was the last reference, scsi_tape_release() frees the structure while it is still published in the idr. scsi_tape_get(), called from st_open(), looks up the tape in st_index_idr and takes a reference under st_ref_mutex and st_index_lock. remove_cdevs() does not wait for opens that are already past chrdev_open(), so an open that is blocked on st_ref_mutex while st_remove() holds it can take the mutex as soon as st_remove() drops it, find the freed tpnt in the idr and call kref_get() on it: BUG: KASAN: slab-use-after-free in st_open Write of size 4 ... st_open (drivers/scsi/st.c:254 drivers/scsi/st.c:1291) chrdev_open ... Freed by task ...: kfree st_remove (drivers/scsi/st.c:4512) Remove the index from the idr before dropping the reference, all under st_ref_mutex. A concurrent scsi_tape_get() now either runs first and holds a valid reference that keeps the tape alive, or runs afterwards and finds nothing, so st_open() fails with -ENXIO. This restores the ordering st_remove() had before the conversion to st_index_idr, where the tape was unpublished from scsi_tapes[] before the final kref_put().
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.10.273, 5.15.224, 6.1.191, 6.6.161, 6.12.115, 6.18.59, 7.2.13, 7.3
- Published
How to fix this CVE
Update your Linux kernel to address a use-after-free vulnerability in the SCSI tape driver that can occur when the tape device is removed while being opened concurrently. Apply the patched kernel version for your stable branch: 5.10.273, 5.15.224, 6.1.191, 6.6.161, 6.12.115, 6.18.59, or 7.2.13. Most users should update to the latest stable release within their current kernel series rather than jumping to mainline.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r
- Compare against fixed versions: if your version is earlier than 5.10.273 (5.10.x), 5.15.224 (5.15.x), 6.1.191 (6.1.x), 6.6.161 (6.6.x), 6.12.115 (6.12.x), 6.18.59 (6.18.x), or 7.2.13 (7.2.x), you are vulnerable
- Verify SCSI tape module is in use: lsmod | grep st (if output appears, the vulnerable component is present)
- After patching, reboot and confirm new kernel version with uname -r matches a fixed release
FAQ
What is CVE-2026-99156?
This vulnerability is a use-after-free race condition in the Linux SCSI tape driver where removing a tape device while it is being simultaneously opened causes the driver to reference freed memory, potentially leading to a kernel crash or code execution.
Is CVE-2026-99156 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. However, it is a high-severity issue that should be patched promptly.
What versions of Kernel are affected by CVE-2026-99156?
All Linux kernel versions before 5.10.273, 5.15.224, 6.1.191, 6.6.161, 6.12.115, 6.18.59, 7.2.13 and mainline 7.3 are affected. The vulnerability exists in the SCSI tape subsystem and requires the st driver to be loaded.
How do I check if my server is vulnerable to CVE-2026-99156?
Run 'uname -r' to get your kernel version and compare it against the fixed versions listed. If your version is older than the corresponding fixed release in your series, you are vulnerable. Run 'lsmod | grep st' to confirm the SCSI tape driver is active.
Does Defensia detect CVE-2026-99156?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If a vulnerable kernel version is detected on a monitored server, CVE-2026-99156 will appear in your dashboard with remediation steps and patched release information.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/00ff1128123d4bdfacd28d68fb4b6e6f657a3648
- https://git.kernel.org/stable/c/18a0e3733ce38718688e813e5e2d1106bd4830e5
- https://git.kernel.org/stable/c/5ef230f734e0d23db007c8405f38b7e226740084
- https://git.kernel.org/stable/c/71caf7f84bd62a4bf91cc95abd2de690afb8d15f
- https://git.kernel.org/stable/c/7d7f9d2ee4b0841f3eba9fa3627044ad329428de
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-99156. Free for 1 server.
Get started free