AZL-116887: CVE-2026-139111 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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

blk-iocost: publish hweights as one atomic value

currenthweight() publishes the cache generation and both weights with separate stores. Refreshers running on different CPUs can interleave their stores and leave a new generation paired with weights from an older calculation. The compiler can also reorder the generation store before the weight stores, so a reader that sees the new generation can accept stale weights.

A stale weight is not only a reporting artifact. It feeds the cost calculation and the donation logic, where an inconsistent combination can lead to a zero divisor in transfersurpluses().

In addition, the slow path rereads iocg->hweightactive/inuse after publishing them, so the value it returns can be the one written by another refresher instead of the locally computed one.

Pack the generation and both weights into a single atomic64t and publish them with one atomic write. Readers take one atomic snapshot and return the local values. Weights are in [1, WEIGHTONE]; storing each minus one preserves the full range in 16 bits and leaves 32 bits for the generation.

The two weight fields remain as the donation workspace used under ioc->lock. Tracepoints decode the packed cache without refreshing it and iocostmonitor.py is updated accordingly.

Developed with assistance from Claude Code (Anthropic): the assistant drafted the packed representation, the helpers and the tracepoint/monitor changes, and ran the checks listed below. The author reviewed the result and remains responsible for it.

Affected Software

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

Event History

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

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required for this issue to occur?

The issue requires concurrent blk-iocost weight refreshers running on different CPUs, allowing their separate updates to the cache generation and weight values to interleave. A reader must then observe a new generation together with stale weights.

2

What is the potential operational impact?

An inconsistent weight combination can reach the cost calculation and donation logic and cause a zero divisor in transfer_surpluses(). The issue can also cause the slow path to return values written by a different refresher rather than its locally computed values.

3

How does the resolved implementation prevent the race?

The fix packs the generation and both weights into one atomic64_t value and publishes them with a single atomic write. Readers take a single atomic snapshot, preventing them from accepting a new generation with older weight values.

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