AZL-117403: CVE-2026-99939 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

scsi: ufs: bsg: Complete the job on error

When ufsbsgrequest() fails, it returns a non-zero status without calling bsgjobdone(). bsgqueuerq() then ends the request with BLKSTSIOERR without running bsgcomplete(), leaking the job's device reference and mapped scatterlists.

Always complete the job via bsgjobdone() and return 0, matching other BSG transports. Requests failing with a negative errno now return it from SGIO with the 4-byte result in the reply, while positive status codes still return 0 from SGIO with the reply header.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the Linux kernel UFS BSG path, ensure ufs_bsg_request() calls bsg_job_done() on error and returns 0; report negative errno values in the SG_IO reply header.

Event History

Nov 30, 2026
Advisory Published
via OSV·02:20 PM
Data Sourced
via OSV·02:20 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What operational impact can occur when the affected request path encounters an error?

A failed UFS BSG request can leave the job's device reference and mapped scatterlists unreleased. This occurs because the job completion callback is not run on that error path.

2

Will the fix change what applications receive from SG_IO for failed requests?

Yes. Requests that fail with a negative errno return that errno from SG_IO and include the 4-byte result in the reply. Positive status-code failures continue to return 0 from SG_IO with the reply header.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203