CVE-2026-139111

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-1391129.8In the Linux kernel, the following vulnerability has been resolved: rnbd-srv: publish the sess_dev at the end of OPEN rnbd_sess_dev_alloc(CVE-2026-1391139.8In the Linux kernel, the following vulnerability has been resolved: rnbd-srv: fix use-after-free on two CLOSE messages process_msg_close()CVE-2026-1391147.5In the Linux kernel, the following vulnerability has been resolved: block/rnbd-srv: drop the sess_dev kobject unlocked rnbd_srv_create_devCVE-2026-1391159.8In the Linux kernel, the following vulnerability has been resolved: block/rnbd-srv: don't free the device on a sysfs error rnbd_srv_createCVE-2026-139116In the Linux kernel, the following vulnerability has been resolved: drbd: take req_lock to skip the initial sync as peer _drbd_set_state()CVE-2026-139117In the Linux kernel, the following vulnerability has been resolved: drbd: stop the start_resync timer of a dying device start_resync_timerCVE-2026-139118In the Linux kernel, the following vulnerability has been resolved: blk-mq: free the bitmaps of tags in the SRCU callback Commit ad0d05dbdCVE-2026-139119In the Linux kernel, the following vulnerability has been resolved: block: partitions/mac: compute the sectors in 64 bits start_block and CVE-2026-139124.3Inappropriate implementation in Safe Browsing in Google Chrome on iOS prior to 150.0.7871.47 allowed a remote attacker to perform UI spoofinCVE-2026-1391209.8In the Linux kernel, the following vulnerability has been resolved: blk-mq: set up a queue under tag_list_lock blk_mq_init_allocated_queueCVE-2026-1391219.8In the Linux kernel, the following vulnerability has been resolved: blk-mq: exit the hctxs of a queue under tag_list_lock blk_mq_update_nrCVE-2026-1391227.5In the Linux kernel, the following vulnerability has been resolved: blk-mq: quiesce a queue that joins a quiesced tag set blk_mq_quiesce_t
CVE-2026-139111: Unscored | Vulnix