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.

Affected products

VendorProductVersions
LinuxLinuxb13a3539eb2affcb8833c189d68d6a4b99c41f6e to <c161498d36e5f0d83f8776ea4df05c83051a95be [affected]; b13a3539eb2affcb8833c189d68d6a4b99c41f6e to <faba6b1b3c26e45873aa73a98b17b0f23dc25ba9 [affected]; b13a3539eb2affcb8833c189d68d6a4b99c41f6e to <6252388f4ee900826173c2a71d9071b7a2b699f9 [affected]; b13a3539eb2affcb8833c189d68d6a4b99c41f6e to <b75af28847a4cd6eb1275beb49cfb9da322926e6 [affected]; b13a3539eb2affcb8833c189d68d6a4b99c41f6e to <cc0ce3fe8fac073ecded4f32c8ee5b89da1397e8 [affected]
LinuxLinux5.3 [affected]; 0 to <5.3 [unaffected]; 6.6.163 to <=6.6.* [unaffected]; 6.12.117 to <=6.12.* [unaffected]; 6.18.63 to <=6.18.* [unaffected]; 7.3.4 to <=7.3.* [unaffected]; 7.4-rc1 to <=* [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 01 Dec 2026 08:04 UTC.