{"id":"CVE-2026-90259","summary":"btrfs: qgroup: fix a wrong length calculation in qgroup_free_reserved_data()","details":"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.","modified":"2026-09-19T03:47:25.511966071Z","published":"2026-09-17T16:07:57.416Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90259.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/9102b179512e11644fb0489ae62010a09afa199c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c4c136555ff90f1e2921cc42da43daac0ef9985e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6edde29990af8064b9d12217ec03db231ccd55d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90259.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90259"},{"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":"bc42bda22345efdb5d8b578d1b4df2c6eaa85c58"},{"fixed":"e6edde29990af8064b9d12217ec03db231ccd55d"},{"fixed":"c4c136555ff90f1e2921cc42da43daac0ef9985e"},{"fixed":"9102b179512e11644fb0489ae62010a09afa199c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90259.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90259.json"}}],"schema_version":"1.9.0"}