---
id: CVE-2026-98279
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  btrfs: handle lack of space when cleaning up verity items

  When enable_verity() hits the qgroup limit, rollback_verity() needs its
  own metadata reservation
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  btrfs: handle lack of space when cleaning up verity items

  When enable_verity() hits the qgroup limit, rollback_verity() needs its
  own metadata reservation. When the qg…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 146054090b0859b28fc39015c7704ccc3c3a347f <
    4b7ecabd87dc40998fe7870d7975279649229a3b
  - >-
    Linux >= 146054090b0859b28fc39015c7704ccc3c3a347f <
    efa5780b84f066f419a667f6b9542368b2f62074
  - >-
    Linux >= 146054090b0859b28fc39015c7704ccc3c3a347f <
    76bf149cd0298544631e756670b89c399c7acbca
  - Linux 5.15
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T09:18:17.783'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98279'
references:
  - url: 'https://git.kernel.org/stable/c/4b7ecabd87dc40998fe7870d7975279649229a3b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/76bf149cd0298544631e756670b89c399c7acbca'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/efa5780b84f066f419a667f6b9542368b2f62074'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-06T08:50:17.422Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

btrfs: handle lack of space when cleaning up verity items

When enable_verity() hits the qgroup limit, rollback_verity() needs its
own metadata reservation. When the qgroup limit or lack of space refuses
the rollback, the whole filesystem is forced read-only even though the
qgroup limit was for one subvolume only. Also orphan cleanup at the next
mount fails the same way, so the leftover items are never removed: with
-EDQUOT the subvolume stays unreachable, and with -ENOSPC on a full
filesystem the next read-write mount fails.

Start transactions with btrfs_start_transaction_fallback_global_rsv() in
btrfs_orphan_cleanup(), drop_verity_items() and rollback_verity(). Those
calls only delete items and free the space in the end, so they may use
the global reserve and skip the qgroup limit, which avoids -ENOSPC and
-EDQUOT.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
