blk-iocost: abort weight transfer on invalid donation weights
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | e08d02aa5fc9978ed42240bd80d3fb5dd28ecac0 to before 735bacfe7238f465e602c73cc3c0acf08bb65b1b Affectede08d02aa5fc9978ed42240bd80d3fb5dd28ecac0 to before a3db8d7c21e432764c5fd6fd0d52c688258f1b90 Affectede08d02aa5fc9978ed42240bd80d3fb5dd28ecac0 to before 5eaf8d58dfc08274e0bf62b04e25c418ce624113 Affectede08d02aa5fc9978ed42240bd80d3fb5dd28ecac0 to before 4cb4db33ccea29a9fc5fffff7d2cc9497266c72c Affectede08d02aa5fc9978ed42240bd80d3fb5dd28ecac0 to before eaf8b5f9cd5222f9ae02b43fd968e331aa8195cb Affectede08d02aa5fc9978ed42240bd80d3fb5dd28ecac0 to before bf04f8bdd6f0065afe6997a4a2affeece2090d57 Affectede08d02aa5fc9978ed42240bd80d3fb5dd28ecac0 to before 4c24ed7a2653db137297fe8120daab7a84854290 Affectede08d02aa5fc9978ed42240bd80d3fb5dd28ecac0 to before c810ee88cdab27f443c32270dc7c0eaad2cca3f8 Affected |
| Linux Linux | 5.10 Affectedbefore 5.10 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/735bacfe7238f465e602c73cc3c0acf08bb65b1b
- https://git.kernel.org/stable/c/a3db8d7c21e432764c5fd6fd0d52c688258f1b90
- https://git.kernel.org/stable/c/5eaf8d58dfc08274e0bf62b04e25c418ce624113
- https://git.kernel.org/stable/c/4cb4db33ccea29a9fc5fffff7d2cc9497266c72c
- https://git.kernel.org/stable/c/eaf8b5f9cd5222f9ae02b43fd968e331aa8195cb
- https://git.kernel.org/stable/c/bf04f8bdd6f0065afe6997a4a2affeece2090d57
- https://git.kernel.org/stable/c/4c24ed7a2653db137297fe8120daab7a84854290
- https://git.kernel.org/stable/c/c810ee88cdab27f443c32270dc7c0eaad2cca3f8
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.