Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99156

published high CVSS 3.1 · 7.8

scsi: st: Fix use-after-free race between st_remove() and st_open()

Published
28 Oct 2026, 10:35:10 UTC
Updated
31 Oct 2026, 12:44:14 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux6c648d95a6af4a79241a916871df17c84c68ea20 to < 7d7f9d2ee4b0841f3eba9fa3627044ad329428de · 6c648d95a6af4a79241a916871df17c84c68ea20 to < d9517fc39ec3ee13eadefdc17f45300f7d23ed8c · 6c648d95a6af4a79241a916871df17c84c68ea20 to < e7a5da4a4820210aa7d7cd8e6eb25aabe9e5b5a7 · 6c648d95a6af4a79241a916871df17c84c68ea20 to < 00ff1128123d4bdfacd28d68fb4b6e6f657a3648 · 6c648d95a6af4a79241a916871df17c84c68ea20 to < 5ef230f734e0d23db007c8405f38b7e226740084 · 6c648d95a6af4a79241a916871df17c84c68ea20 to < a1647b653549ff29f0422a63eabf329b842f3822 · 6c648d95a6af4a79241a916871df17c84c68ea20 to < 18a0e3733ce38718688e813e5e2d1106bd4830e5 · 6c648d95a6af4a79241a916871df17c84c68ea20 to < 71caf7f84bd62a4bf91cc95abd2de690afb8d15f · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.7 (affected) · 0 to < 3.7 (unaffected · semver) · 5.10.273 through 5.10.* (unaffected · semver) · 5.15.224 through 5.15.* (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.161 through 6.6.* (unaffected · semver) · 6.12.115 through 6.12.* (unaffected · semver) · 6.18.59 through 6.18.* (unaffected · semver) · 7.2.13 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-139 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2026-121 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
Debian bookworm linux Advisory build 6.1.192-1 DLA-4906-1
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2026-3448 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3538 Fixed Not stated Amazon Linux assessment
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
AlmaLinux 8 kernel Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.186.1.rt7.527.el8_10 ALSA-2026:99031
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.186.1.rt7.527.el8_10 ALSA-2026:99031
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.186.1.rt7.527.el8_10 ALSA-2026:99031
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.186.1.rt7.527.el8_10 ALSA-2026:99031
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.186.1.rt7.527.el8_10 ALSA-2026:99031
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.186.1.rt7.527.el8_10 ALSA-2026:99031
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.186.1.rt7.527.el8_10 ALSA-2026:99031
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.186.1.rt7.527.el8_10 ALSA-2026:99031
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.186.1.rt7.527.el8_10 ALSA-2026:99031
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.186.1.rt7.527.el8_10 ALSA-2026:99031
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 perf Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.186.1.el8_10 ALSA-2026:99015
Debian bookworm linux-6.12 Advisory build 6.12.115-2~deb12u1 DLA-4904-1
Debian trixie linux Advisory build 6.12.115-2 DSA-6602-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.186.1.el8_10 ELSA-2026-99015
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-553.186.1.el8_10 RHSA-2026:99015

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

36

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - A local openat() reaches st_open() through chrdev_open(), then scsi_tape_get(); concurrent hot-unplug reaches the patched st_remove() through __scsi_remove_device(), with no network-supplied input. AC:L - A tape-device user controlling a hotpluggable TYPE_TAPE device can flood /dev/stN opens while disconnecting it, controlling both st_open() and st_remove() and retrying the race at will. PR:L - st_open() and scsi_tape_get() perform no capability check; may_open() applies device-node DAC and device-cgroup policy, so a tape-group user controlling an external tape needs no init-namespace administrative privilege. UI:N - The attacker performs both the /dev/stN open flood and device disconnect; no separate victim must open the tape, remove it, or mount attacker-supplied content. S:U - The freed scsi_tape object and subsequent corruption remain within the host kernel's SCSI-tape authority, without crossing a VM, IOMMU, or sandbox security boundary. C:H - st_remove() leaves a freed kmalloc-1k scsi_tape in st_index_idr; scsi_tape_get() reads its device pointer and st_open() follows buffer and mode pointers from reclaimable storage, enabling kernel-memory disclosure. I:H - kref_get() performs a confirmed four-byte write into the freed scsi_tape, and successful reclamation exposes further st_open() writes through in_use, state, and buffer fields, supporting control-flow hijacking. A:H - The stale device and buffer pointers are subsequently dereferenced by scsi_device_get() and st_open() buffer handling; the reported UAF proceeds to unrelated corruption, oops/GPF, and kernel panic.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 6c648d95a6af4a79241a916871df17c84c68ea20 to < 7d7f9d2ee4b0841f3eba9fa3627044ad329428de (affected · git)6c648d95a6af4a79241a916871df17c84c68ea20 to < d9517fc39ec3ee13eadefdc17f45300f7d23ed8c (affected · git)6c648d95a6af4a79241a916871df17c84c68ea20 to < e7a5da4a4820210aa7d7cd8e6eb25aabe9e5b5a7 (affected · git)6c648d95a6af4a79241a916871df17c84c68ea20 to < 00ff1128123d4bdfacd28d68fb4b6e6f657a3648 (affected · git)6c648d95a6af4a79241a916871df17c84c68ea20 to < 5ef230f734e0d23db007c8405f38b7e226740084 (affected · git)6c648d95a6af4a79241a916871df17c84c68ea20 to < a1647b653549ff29f0422a63eabf329b842f3822 (affected · git)6c648d95a6af4a79241a916871df17c84c68ea20 to < 18a0e3733ce38718688e813e5e2d1106bd4830e5 (affected · git)6c648d95a6af4a79241a916871df17c84c68ea20 to < 71caf7f84bd62a4bf91cc95abd2de690afb8d15f (affected · git)Default: unaffected Linux · cna
Linux Linux 3.7 (affected)0 to < 3.7 (unaffected · semver)5.10.273 through 5.10.* (unaffected · semver)5.15.224 through 5.15.* (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.161 through 6.6.* (unaffected · semver)6.12.115 through 6.12.* (unaffected · semver)6.18.59 through 6.18.* (unaffected · semver)7.2.13 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

scsi: st: Fix use-after-free race between st_remove() and st_open()

Provenance

Schema
5.2
Searchable
yes
Content hash
eecd73c35eb64c7568e806fc31c81db9dd2d16ea9f8ae3311834b875258fbfef
Ingested
31 Oct 2026, 12:46:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected