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

Tue, 01 Dec 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Tue, 01 Dec 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-828

Mon, 30 Nov 2026 22:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-828

Mon, 30 Nov 2026 14:00:00 +0000

Type Values Removed Values Added
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".
Title scsi: scsi_debug: Fix a locking bug in resp_write_same()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2026-11-30T13:34:20.539Z

Updated: 2026-11-30T13:34:20.539Z

Reserved: 2026-11-30T13:22:15.931Z

Link: CVE-2026-139393

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-30T14:19:07.397

Modified: 2026-11-30T14:19:07.397

Link: CVE-2026-139393

cve-icon Redhat

No data.