CVE-2026-99939
publishedscsi: ufs: bsg: Complete the job on error
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb13a3539eb2affcb8833c189d68d6a4b99c41f6e to < c161498d36e5f0d83f8776ea4df05c83051a95be · b13a3539eb2affcb8833c189d68d6a4b99c41f6e to < faba6b1b3c26e45873aa73a98b17b0f23dc25ba9 · b13a3539eb2affcb8833c189d68d6a4b99c41f6e to < 6252388f4ee900826173c2a71d9071b7a2b699f9 · b13a3539eb2affcb8833c189d68d6a4b99c41f6e to < b75af28847a4cd6eb1275beb49cfb9da322926e6 · b13a3539eb2affcb8833c189d68d6a4b99c41f6e to < cc0ce3fe8fac073ecded4f32c8ee5b89da1397e8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.3 (affected) · 0 to < 5.3 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 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: 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.
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 | b13a3539eb2affcb8833c189d68d6a4b99c41f6e to < c161498d36e5f0d83f8776ea4df05c83051a95be (affected · git)b13a3539eb2affcb8833c189d68d6a4b99c41f6e to < faba6b1b3c26e45873aa73a98b17b0f23dc25ba9 (affected · git)b13a3539eb2affcb8833c189d68d6a4b99c41f6e to < 6252388f4ee900826173c2a71d9071b7a2b699f9 (affected · git)b13a3539eb2affcb8833c189d68d6a4b99c41f6e to < b75af28847a4cd6eb1275beb49cfb9da322926e6 (affected · git)b13a3539eb2affcb8833c189d68d6a4b99c41f6e to < cc0ce3fe8fac073ecded4f32c8ee5b89da1397e8 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.3 (affected)0 to < 5.3 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/6252388f4ee900826173c2a71d9071b7a2b699f9
- https://git.kernel.org/stable/c/b75af28847a4cd6eb1275beb49cfb9da322926e6
- https://git.kernel.org/stable/c/c161498d36e5f0d83f8776ea4df05c83051a95be
- https://git.kernel.org/stable/c/cc0ce3fe8fac073ecded4f32c8ee5b89da1397e8
- https://git.kernel.org/stable/c/faba6b1b3c26e45873aa73a98b17b0f23dc25ba9
Provider assertions
1Linux · cna
scsi: ufs: bsg: Complete the job on error
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e172f36fba8ee6db9466bafd6768122b40a09c6988b0ec6d9fc2504e8408e752
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record