Security mailing lists by PureSourceCode

CVE-2026-99939

not scored yet

scsi: ufs: bsg: Complete the job on error

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= b13a3539eb2affcb8833c189d68d6a4b99c41f6e, < c161498d36e5f0d83f8776ea4df05c83051a95be; >= b13a3539eb2affcb8833c189d68d6a4b99c41f6e, < faba6b1b3c26e45873aa73a98b17b0f23dc25ba9; >= b13a3539eb2affcb8833c189d68d6a4b99c41f6e, < 6252388f4ee900826173c2a71d9071b7a2b699f9; >= b13a3539eb2affcb8833c189d68d6a4b99c41f6e, < b75af28847a4cd6eb1275beb49cfb9da322926e6; >= b13a3539eb2affcb8833c189d68d6a4b99c41f6e, < cc0ce3fe8fac073ecded4f32c8ee5b89da1397e8 c161498d36e5f0d83f8776ea4df05c83051a95be, faba6b1b3c26e45873aa73a98b17b0f23dc25ba9, 6252388f4ee900826173c2a71d9071b7a2b699f9, b75af28847a4cd6eb1275beb49cfb9da322926e6, cc0ce3fe8fac073ecded4f32c8ee5b89da1397e8
CVE List Linux Linux = 5.3

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.