{"id":"CVE-2026-98279","revision":"75ed1c691c0f46178dfa3db9d50ac7d3","records":[{"revision":"75ed1c691c0f46178dfa3db9d50ac7d3","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98279","aliases":[],"title":"btrfs: handle lack of space when cleaning up verity items","description":"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.","state":0,"publishedAt":"2026-10-06T08:45:39.114+00:00","modifiedAt":"2026-10-19T09:16:50.852+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/btrfs/inode.c\",\n                        \"fs/btrfs/verity.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"146054090b0859b28fc39015c7704ccc3c3a347f\",\n                            \"lessThan\": \"4b7ecabd87dc40998fe7870d7975279649229a3b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"146054090b0859b28fc39015c7704ccc3c3a347f\",\n                            \"lessThan\": \"efa5780b84f066f419a667f6b9542368b2f62074\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"146054090b0859b28fc39015c7704ccc3c3a347f\",\n                            \"lessThan\": \"76bf149cd0298544631e756670b89c399c7acbca\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/btrfs/inode.c\",\n                        \"fs/btrfs/verity.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.15\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.15\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.54\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.8\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/4b7ecabd87dc40998fe7870d7975279649229a3b","https://git.kernel.org/stable/c/efa5780b84f066f419a667f6b9542368b2f62074","https://git.kernel.org/stable/c/76bf149cd0298544631e756670b89c399c7acbca"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98279","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98279","identifiers":["CVE-2026-98279"]},"retained":false,"historicalAffected":[]}],"coverage":[]}