{"id":"CVE-2026-90259","aliases":["CVE-2026-90259"],"related":[],"kind":"vulnerability","state":"published","title":"btrfs: qgroup: fix a wrong length calculation in qgroup_free_reserved_data()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: qgroup: fix a wrong length calculation in qgroup_free_reserved_data()\n\nIn that function, we round down the start position and round up the\nending position.\n\nBut during the calculation of @len, we use \"round_up(start + len,\nsectorsize)\", which is the rounded up end position, not the rounded up\nlength.\n\nWhich results a much larger length, and later we are still using\n\"start + len\", which is completely incorrect.\n\nFix it by declaring a local @aligned_start and @aligned_len and use them\ninstead.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: qgroup: fix a wrong length calculation in qgroup_free_reserved_data()\n\nIn that function, we round down the start position and round up the\nending position.\n\nBut during the calculation of @len, we use \"round_up(start + len,\nsectorsize)\", which is the rounded up end position, not the rounded up\nlength.\n\nWhich results a much larger length, and later we are still using\n\"start + len\", which is completely incorrect.\n\nFix it by declaring a local @aligned_start and @aligned_len and use them\ninstead.","source":"cvelist"}],"published":"2026-09-17T16:07:57.416Z","modified":"2026-10-30T13:20:47.930Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bc42bda22345efdb5d8b578d1b4df2c6eaa85c58","fixed":"036e6c216be66a085da3a0519f1be5f3230b6e26","status":"affected"},{"type":"git","introduced":"bc42bda22345efdb5d8b578d1b4df2c6eaa85c58","fixed":"202ac9e469b78817512921c5db05cc2140e4ca43","status":"affected"},{"type":"git","introduced":"bc42bda22345efdb5d8b578d1b4df2c6eaa85c58","fixed":"34adc843c28e5cd1f533a1d64f51b0f756fdf945","status":"affected"},{"type":"git","introduced":"bc42bda22345efdb5d8b578d1b4df2c6eaa85c58","fixed":"e6edde29990af8064b9d12217ec03db231ccd55d","status":"affected"},{"type":"git","introduced":"bc42bda22345efdb5d8b578d1b4df2c6eaa85c58","fixed":"c4c136555ff90f1e2921cc42da43daac0ef9985e","status":"affected"},{"type":"git","introduced":"bc42bda22345efdb5d8b578d1b4df2c6eaa85c58","fixed":"9102b179512e11644fb0489ae62010a09afa199c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.13","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/036e6c216be66a085da3a0519f1be5f3230b6e26","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/202ac9e469b78817512921c5db05cc2140e4ca43","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34adc843c28e5cd1f533a1d64f51b0f756fdf945","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e6edde29990af8064b9d12217ec03db231ccd55d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c4c136555ff90f1e2921cc42da43daac0ef9985e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9102b179512e11644fb0489ae62010a09afa199c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90259","url":"https://www.cve.org/CVERecord?id=CVE-2026-90259","licence":"CVE Terms of Use","modified":"2026-10-30T12:34:57.189Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90259","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90259","licence":"Public domain","modified":"2026-10-30T13:20:47.930Z"}],"updatedAt":"2026-11-25T22:59:39.360Z","epss":{"score":0.00212,"percentile":0.12208,"date":"2026-12-01T12:00:22.000Z"}}