{"id":"CVE-2026-99842","summary":"blk-iocost: abort weight transfer on invalid donation weights","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-iocost: abort weight transfer on invalid donation weights\n\ntransfer_surpluses() warns and then keeps going when the donation\ncalculation produced invalid weights.  The following propagation can then\ndivide by a zero hweight_inuse, so the warning is immediately followed by a\ndivide error.\n\nWhen the check trips, abandon this period's donation transfer and release\nthe walk lists.  This trades one period without donation for not crashing;\nthe invalid state is not expected on the normal path.\n\nDeveloped with assistance from Claude Code (Anthropic): the assistant\nanalysed the failure path, drafted the change and ran the checks listed\nbelow.  The author reviewed the result and remains responsible for it.","modified":"2026-12-01T21:02:40.944591100Z","published":"2026-11-30T13:17:33.600Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99842.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4c24ed7a2653db137297fe8120daab7a84854290"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4cb4db33ccea29a9fc5fffff7d2cc9497266c72c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5eaf8d58dfc08274e0bf62b04e25c418ce624113"},{"type":"WEB","url":"https://git.kernel.org/stable/c/735bacfe7238f465e602c73cc3c0acf08bb65b1b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3db8d7c21e432764c5fd6fd0d52c688258f1b90"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bf04f8bdd6f0065afe6997a4a2affeece2090d57"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c810ee88cdab27f443c32270dc7c0eaad2cca3f8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eaf8b5f9cd5222f9ae02b43fd968e331aa8195cb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99842.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99842"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e08d02aa5fc9978ed42240bd80d3fb5dd28ecac0"},{"fixed":"735bacfe7238f465e602c73cc3c0acf08bb65b1b"},{"fixed":"a3db8d7c21e432764c5fd6fd0d52c688258f1b90"},{"fixed":"5eaf8d58dfc08274e0bf62b04e25c418ce624113"},{"fixed":"4cb4db33ccea29a9fc5fffff7d2cc9497266c72c"},{"fixed":"eaf8b5f9cd5222f9ae02b43fd968e331aa8195cb"},{"fixed":"bf04f8bdd6f0065afe6997a4a2affeece2090d57"},{"fixed":"4c24ed7a2653db137297fe8120daab7a84854290"},{"fixed":"c810ee88cdab27f443c32270dc7c0eaad2cca3f8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99842.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99842.json"}}],"schema_version":"1.9.2"}