{"id":"CVE-2026-98279","aliases":["CVE-2026-98279"],"related":[],"kind":"vulnerability","state":"published","title":"btrfs: handle lack of space when cleaning up verity items","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: handle lack of space when cleaning up verity items\n\nWhen enable_verity() hits the qgroup limit, rollback_verity() needs its\nown metadata reservation. When the qgroup limit or lack of space refuses\nthe rollback, the whole filesystem is forced read-only even though the\nqgroup limit was for one subvolume only. Also orphan cleanup at the next\nmount fails the same way, so the leftover items are never removed: with\n-EDQUOT the subvolume stays unreachable, and with -ENOSPC on a full\nfilesystem the next read-write mount fails.\n\nStart transactions with btrfs_start_transaction_fallback_global_rsv() in\nbtrfs_orphan_cleanup(), drop_verity_items() and rollback_verity(). Those\ncalls only delete items and free the space in the end, so they may use\nthe global reserve and skip the qgroup limit, which avoids -ENOSPC and\n-EDQUOT.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: handle lack of space when cleaning up verity items\n\nWhen enable_verity() hits the qgroup limit, rollback_verity() needs its\nown metadata reservation. When the qgroup limit or lack of space refuses\nthe rollback, the whole filesystem is forced read-only even though the\nqgroup limit was for one subvolume only. Also orphan cleanup at the next\nmount fails the same way, so the leftover items are never removed: with\n-EDQUOT the subvolume stays unreachable, and with -ENOSPC on a full\nfilesystem the next read-write mount fails.\n\nStart transactions with btrfs_start_transaction_fallback_global_rsv() in\nbtrfs_orphan_cleanup(), drop_verity_items() and rollback_verity(). Those\ncalls only delete items and free the space in the end, so they may use\nthe global reserve and skip the qgroup limit, which avoids -ENOSPC and\n-EDQUOT.","source":"cvelist"}],"published":"2026-10-06T08:45:39.114Z","modified":"2026-10-19T10:18:29.343Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"146054090b0859b28fc39015c7704ccc3c3a347f","fixed":"4b7ecabd87dc40998fe7870d7975279649229a3b","status":"affected"},{"type":"git","introduced":"146054090b0859b28fc39015c7704ccc3c3a347f","fixed":"efa5780b84f066f419a667f6b9542368b2f62074","status":"affected"},{"type":"git","introduced":"146054090b0859b28fc39015c7704ccc3c3a347f","fixed":"76bf149cd0298544631e756670b89c399c7acbca","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","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/4b7ecabd87dc40998fe7870d7975279649229a3b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/efa5780b84f066f419a667f6b9542368b2f62074","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/76bf149cd0298544631e756670b89c399c7acbca","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98279","url":"https://www.cve.org/CVERecord?id=CVE-2026-98279","licence":"CVE Terms of Use","modified":"2026-10-19T09:16:50.852Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98279","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98279","licence":"Public domain","modified":"2026-10-19T10:18:29.343Z"}],"updatedAt":"2026-11-25T22:59:42.313Z","epss":{"score":0.00166,"percentile":0.06099,"date":"2026-12-01T12:00:22.000Z"}}