CVE-2026-139393 scsi: scsi_debug: Fix a locking bug in resp_write_same()

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139393?

CVE-2026-139393 is a vulnerability in Linux, published on 30 Nov 2026.

Official 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".

Which versions are affected by CVE-2026-139393?

How do I fix CVE-2026-139393?

Upgrade to a fixed version.

Is CVE-2026-139393 being exploited?

There is no known exploitation of CVE-2026-139393 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-139393, DEBIAN-CVE-2026-139393, GHSA-p24r-664q-6c6r, UBUNTU-CVE-2026-139393.

Is CVE-2026-139393 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free