AZL-117211: CVE-2026-139543 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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

scsi: scsidebug: Avoid 32-bit overflow in WRITE SCATTERED offsets

respwritescat() computes the length of an LBA range in bytes as a 32-bit product, numby = num lbsize, and adds it to sgoff, the 32-bit offset of the next range in the data-out buffer. The product wraps for a range of 4 GiB or more, which checkdeviceaccessparams() allows once the store is that large, and sgoff wraps once the ranges add up to 4 GiB, which neither their number nor their overlap prevents. The ranges that follow are then written from the wrong offset in the buffer.

Make numby and sgoff 64-bit, and pass dodeviceaccess() sgoff capped at the length of the buffer. An offset at the end of the buffer copies nothing, and sgcopybuffer(), which takes it as an offt, is never given one larger than the buffer that it copies.

Affected Software

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

Event History

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

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the scsi_debug driver and processing WRITE SCATTERED requests are affected when the backing store is large enough to permit an LBA range of 4 GiB or more. The problem is specific to offset and length calculations for these requests.

2

What conditions are needed to trigger the incorrect write offset?

A WRITE SCATTERED LBA range whose byte length reaches 4 GiB can cause the 32-bit length calculation to wrap. Independently, multiple ranges whose accumulated offsets reach 4 GiB can wrap the next-range offset, causing later data to be written from the wrong buffer position.

3

What can be done if the update cannot be applied immediately?

Avoid WRITE SCATTERED operations with individual ranges of 4 GiB or more, and avoid request layouts whose cumulative range offsets reach 4 GiB. Restricting use of the affected scsi_debug functionality also prevents the vulnerable path from being exercised.

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