{"id":"CVE-2026-139393","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:07.397","lastModified":"2026-11-30T14:19:07.397","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: scsi_debug: Fix a locking bug in resp_write_same()\n\nIf fetch_to_dev_buffer() fails in resp_write_same(), the function jumps\nto 'out' without releasing the data write lock acquired earlier via\nsdeb_data_write_lock(). Jump to 'unlock' instead so that\nsdeb_data_write_unlock() is called on the error path. This bug has been\ndiscovered by building the scsi_debug driver with Clang and modified\nlock context annotations. The modified lock context annotations are\navailable in patch \"scsi: scsi_debug: Improve lock context annotations\"."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/scsi/scsi_debug.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"84f3a3c01d70efba736bc42155cf32722067b327","lessThan":"9fa387c4bea66d6f586fdadca438940268f079ce","versionType":"git","status":"affected"},{"version":"84f3a3c01d70efba736bc42155cf32722067b327","lessThan":"85224decd4e075ca5263c8d6d84eb74483a7a644","versionType":"git","status":"affected"},{"version":"84f3a3c01d70efba736bc42155cf32722067b327","lessThan":"662f4d7e7da5abea384c96d3de86e336014fa5b5","versionType":"git","status":"affected"},{"version":"84f3a3c01d70efba736bc42155cf32722067b327","lessThan":"2f50ca3d46b4d5916874ba19612498c0a9c1f5f9","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/scsi/scsi_debug.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.11","status":"affected"},{"version":"0","lessThan":"6.11","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/2f50ca3d46b4d5916874ba19612498c0a9c1f5f9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/662f4d7e7da5abea384c96d3de86e336014fa5b5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/85224decd4e075ca5263c8d6d84eb74483a7a644","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9fa387c4bea66d6f586fdadca438940268f079ce","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}