Bug 2586318 (CVE-2026-99939) - CVE-2026-99939 kernel: kernel: Denial of Service via resource leak in UFS BSG driver
Summary: CVE-2026-99939 kernel: kernel: Denial of Service via resource leak in UFS BSG...
Keywords:
Status: NEW
Alias: CVE-2026-99939
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 13:42 UTC by OSIDB Bzimport
Modified: 2026-11-30 19:14 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:42:04 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.