CVE-2026-139111
blk-iocost: publish hweights as one atomic value
Check your servers for CVE-2026-139111
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139111 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
blk-iocost: publish hweights as one atomic value
current_hweight() 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 transfer_surpluses().
In addition, the slow path rereads iocg->hweight_active/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 atomic64_t and publish them with one atomic write. Readers take one atomic snapshot and return the local values. Weights are in [1, WEIGHT_ONE]; 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 iocost_monitor.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.
Exploitation
EPSS 0.37%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 32.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7caa47151ab2e644dd221f741ec7578d9532c9a3, before b837673eaaf820481843901b8505968c31157189 affected from 7caa47151ab2e644dd221f741ec7578d9532c9a3, before eaa12d1932546a26816865df96afa2dcdc26d3bf affected from 7caa47151ab2e644dd221f741ec7578d9532c9a3, before da227c9773756e829388a1740f311d2f2d8b0ede affected from 7caa47151ab2e644dd221f741ec7578d9532c9a3, before 0150554a3f38e1850d5964102eb89a720c5fe789
Other versions: unaffected
|
| Linux |
affected 5.4 unaffected before 5.4 unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139111 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139111
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139111
trivy image --scanners vuln IMAGE | grep CVE-2026-139111
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b837673eaaf820481843901b8505968c31157189 git.kernel.org
- https://git.kernel.org/stable/c/eaa12d1932546a26816865df96afa2dcdc26d3bf git.kernel.org
- https://git.kernel.org/stable/c/da227c9773756e829388a1740f311d2f2d8b0ede git.kernel.org
- https://git.kernel.org/stable/c/0150554a3f38e1850d5964102eb89a720c5fe789 git.kernel.org
Source: the record CVE-2026-139111 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse