CVE-2026-139393
publishedscsi: scsi_debug: Fix a locking bug in resp_write_same()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux84f3a3c01d70efba736bc42155cf32722067b327 to < 9fa387c4bea66d6f586fdadca438940268f079ce · 84f3a3c01d70efba736bc42155cf32722067b327 to < 85224decd4e075ca5263c8d6d84eb74483a7a644 · 84f3a3c01d70efba736bc42155cf32722067b327 to < 662f4d7e7da5abea384c96d3de86e336014fa5b5 · 84f3a3c01d70efba736bc42155cf32722067b327 to < 2f50ca3d46b4d5916874ba19612498c0a9c1f5f9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.11 (affected) · 0 to < 6.11 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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".
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 84f3a3c01d70efba736bc42155cf32722067b327 to < 9fa387c4bea66d6f586fdadca438940268f079ce (affected · git)84f3a3c01d70efba736bc42155cf32722067b327 to < 85224decd4e075ca5263c8d6d84eb74483a7a644 (affected · git)84f3a3c01d70efba736bc42155cf32722067b327 to < 662f4d7e7da5abea384c96d3de86e336014fa5b5 (affected · git)84f3a3c01d70efba736bc42155cf32722067b327 to < 2f50ca3d46b4d5916874ba19612498c0a9c1f5f9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.11 (affected)0 to < 6.11 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
scsi: scsi_debug: Fix a locking bug in resp_write_same()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a44e1362c67aea9892e70b5d0cda823cab3ebad95a23064724b3c5301d563daf
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record