CVE-2026-99842
Description
In the Linux kernel, the following vulnerability has been resolved:
blk-iocost: abort weight transfer on invalid donation weights
transfer_surpluses() warns and then keeps going when the donation calculation produced invalid weights. The following propagation can then divide by a zero hweight_inuse, so the warning is immediately followed by a divide error.
When the check trips, abandon this period's donation transfer and release the walk lists. This trades one period without donation for not crashing; the invalid state is not expected on the normal path.
Developed with assistance from Claude Code (Anthropic): the assistant analysed the failure path, drafted the change and ran the checks listed below. The author reviewed the result and remains responsible for it.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/4c24ed7a2653db137297fe8120daab7a84854290nvd
- git.kernel.org/stable/c/4cb4db33ccea29a9fc5fffff7d2cc9497266c72cnvd
- git.kernel.org/stable/c/5eaf8d58dfc08274e0bf62b04e25c418ce624113nvd
- git.kernel.org/stable/c/735bacfe7238f465e602c73cc3c0acf08bb65b1bnvd
- git.kernel.org/stable/c/a3db8d7c21e432764c5fd6fd0d52c688258f1b90nvd
- git.kernel.org/stable/c/bf04f8bdd6f0065afe6997a4a2affeece2090d57nvd
- git.kernel.org/stable/c/c810ee88cdab27f443c32270dc7c0eaad2cca3f8nvd
- git.kernel.org/stable/c/eaf8b5f9cd5222f9ae02b43fd968e331aa8195cbnvd
News mentions
0No linked articles in our index yet.