CVE-2026-139393
scsi: scsi_debug: Fix a locking bug in resp_write_same()
Check your servers for CVE-2026-139393
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139393 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
scsi: scsi_debug: Fix a locking bug in resp_write_same()
If fetch_to_dev_buffer() fails in resp_write_same(), the function jumps to 'out' without releasing the data write lock acquired earlier via sdeb_data_write_lock(). Jump to 'unlock' instead so that sdeb_data_write_unlock() is called on the error path. This bug has been discovered by building the scsi_debug driver with Clang and modified lock context annotations. The modified lock context annotations are available in patch "scsi: scsi_debug: Improve lock context annotations".
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 84f3a3c01d70efba736bc42155cf32722067b327, before 9fa387c4bea66d6f586fdadca438940268f079ce affected from 84f3a3c01d70efba736bc42155cf32722067b327, before 85224decd4e075ca5263c8d6d84eb74483a7a644 affected from 84f3a3c01d70efba736bc42155cf32722067b327, before 662f4d7e7da5abea384c96d3de86e336014fa5b5 affected from 84f3a3c01d70efba736bc42155cf32722067b327, before 2f50ca3d46b4d5916874ba19612498c0a9c1f5f9
Other versions: unaffected
|
| Linux |
affected 6.11 unaffected before 6.11 unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139393 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139393
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139393
trivy image --scanners vuln IMAGE | grep CVE-2026-139393
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/9fa387c4bea66d6f586fdadca438940268f079ce git.kernel.org
- https://git.kernel.org/stable/c/85224decd4e075ca5263c8d6d84eb74483a7a644 git.kernel.org
- https://git.kernel.org/stable/c/662f4d7e7da5abea384c96d3de86e336014fa5b5 git.kernel.org
- https://git.kernel.org/stable/c/2f50ca3d46b4d5916874ba19612498c0a9c1f5f9 git.kernel.org
Source: the record CVE-2026-139393 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse