PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-31519 Linux CVE debrief

A Linux kernel vulnerability allows for a race condition during subvolume creation in the btrfs filesystem, potentially leading to errors when attempting to delete or access subvolumes. This issue arises when the BTRFS_ROOT_ORPHAN_CLEANUP flag is not set during subvolume creation, allowing for concurrent deletion of the subvolume's inode and orphan items. As a result, a negative dentry for the subvolume can occur, leading to errors when attempting to delete or access it. Defenders should verify if their Linux kernel versions are vulnerable and apply patches promptly to prevent potential errors when accessing or deleting subvolumes.

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-22
Original CVE updated
2026-11-11
Advisory published
2026-04-22
Advisory updated
2026-11-11

Who should care

Linux kernel developers and maintainers, Linux distribution maintainers, and users of Linux-based systems using the btrfs filesystem should be aware of this vulnerability and take necessary actions to prevent potential errors when accessing or deleting subvolumes. Linux kernel developers and maintainers should review and apply patches to address the vulnerability. Linux distribution maintainers should update their kernel packages to include the patches. IT

Why it matters

The vulnerability allows for a race condition during subvolume creation in the btrfs filesystem, potentially leading to errors when attempting to delete or access subvolumes. Defenders should verify if their Linux kernel versions are vulnerable and apply patches promptly.

  • Defenders should verify if their Linux kernel versions are vulnerable and apply patches promptly to prevent potential errors when accessing or deleting subvolumes.
  • Linux kernel developers and maintainers should review and apply patches to address the vulnerability.
  • Linux distribution maintainers should update their kernel packages to include the patches.

Technical summary

The vulnerability is caused by a race condition between subvolume creation and deletion in the btrfs filesystem. When a subvolume is created, the BTRFS_ROOT_ORPHAN_CLEANUP flag is not set, allowing for concurrent deletion of the subvolume's inode and orphan items. This can result in a negative dentry for the subvolume, leading to errors when attempting to delete or access it. The issue arises from the fact that create_subvol() calls d_instantiate_new() but does not set BTRFS_ROOT_ORPHAN_CLEANUP, making it possible for the dentry cache to be dropped and the next lookup into the subvolume to make a real call into btrfs_orphan_cleanup() for the first time. This opens up the possibility of concurrently deleting the

Defensive priority

Medium

Recommended defensive actions

  • Review and apply patches from Linux kernel maintainers to address the vulnerability
  • Monitor Linux kernel updates for fixes and apply them promptly
  • Consider implementing additional logging and monitoring to detect potential exploitation attempts
  • Perform a thorough review of the Linux kernel version used in your environment to identify potential vulnerabilities
  • Develop and implement a patch management process to ensure timely application of security patches
  • Conduct regular security audits to identify and address potential vulnerabilities in your Linux-based systems
  • Review and update your incident response plan to include procedures for responding to potential exploitation attempts

Evidence notes

The vulnerability is caused by a race condition between subvolume creation and deletion in the btrfs filesystem. When a subvolume is created, the BTRFS_ROOT_ORPHAN_CLEANUP flag is not set, allowing for concurrent deletion of the subvolume's inode and orphan items. This can result in a negative dentry for the subvolume, leading to errors when attempting to delete or access it.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-31519 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-31519

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-31519 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-31519

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/2ec578e6452138ab76f6c9a9c18711fcd197649f

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5131fa077f9bb386a1b901bf5b247041f0ec8f80

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/696683f214495db3cdacab9a713efaaced8660f8

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/a41a9b8d19a98b45591528c6e54d31cc66271d1e

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/c57276ced3c3207f42182dfa2f0d8e860357e111

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/d43da8de0ed376abafbad8a245a1835e8f66cb0f

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.