CVE-2026-99939
scsi: ufs: bsg: Complete the job on error
Check your servers for CVE-2026-99939
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-99939 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: ufs: bsg: Complete the job on error
When ufs_bsg_request() fails, it returns a non-zero status without calling bsg_job_done(). bsg_queue_rq() then ends the request with BLK_STS_IOERR without running bsg_complete(), leaking the job's device reference and mapped scatterlists.
Always complete the job via bsg_job_done() and return 0, matching other BSG transports. Requests failing with a negative errno now return it from SG_IO with the 4-byte result in the reply, while positive status codes still return 0 from SG_IO with the reply header.
Exploitation
EPSS 0.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 25.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b13a3539eb2affcb8833c189d68d6a4b99c41f6e, before c161498d36e5f0d83f8776ea4df05c83051a95be affected from b13a3539eb2affcb8833c189d68d6a4b99c41f6e, before faba6b1b3c26e45873aa73a98b17b0f23dc25ba9 affected from b13a3539eb2affcb8833c189d68d6a4b99c41f6e, before 6252388f4ee900826173c2a71d9071b7a2b699f9 affected from b13a3539eb2affcb8833c189d68d6a4b99c41f6e, before b75af28847a4cd6eb1275beb49cfb9da322926e6 affected from b13a3539eb2affcb8833c189d68d6a4b99c41f6e, before cc0ce3fe8fac073ecded4f32c8ee5b89da1397e8
Other versions: unaffected
|
| Linux |
affected 5.3 unaffected before 5.3 unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 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-99939 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99939
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-99939
trivy image --scanners vuln IMAGE | grep CVE-2026-99939
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/c161498d36e5f0d83f8776ea4df05c83051a95be git.kernel.org
- https://git.kernel.org/stable/c/faba6b1b3c26e45873aa73a98b17b0f23dc25ba9 git.kernel.org
- https://git.kernel.org/stable/c/6252388f4ee900826173c2a71d9071b7a2b699f9 git.kernel.org
- https://git.kernel.org/stable/c/b75af28847a4cd6eb1275beb49cfb9da322926e6 git.kernel.org
- https://git.kernel.org/stable/c/cc0ce3fe8fac073ecded4f32c8ee5b89da1397e8 git.kernel.org
Source: the record CVE-2026-99939 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