CVE-2022-49469

published 26 Feb 2025 · updated 17 Nov 2026

btrfs: fix anon_dev leak in create_subvol()

3.3LowCVSS 3.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.9, Kernel 2256e901f5bddc56e24089c96f27b77da932dfcc, Kernel 7a875ad8706f0903a0e812e0dd701956ee9826ff and 3 more.

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix anon_dev leak in create_subvol() When btrfs_qgroup_inherit(), btrfs_alloc_tree_block, or btrfs_insert_root() fail in create_subvol(), we return without freeing anon_dev. Reorganize the error handling in create_subvol() to fix this.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.8.3 <5.9, >=2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 <2256e901f5bddc56e24089c96f27b77da932dfcc, >=2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 <7a875ad8706f0903a0e812e0dd701956ee9826ff, >=2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 <d887b3de318834f9aa637ecf79c6bc66cba7c69a, =5.9, =917d608fe375041eb7f29befa6a6d7fd3cf32dde5.9, 2256e901f5bddc56e24089c96f27b77da932dfcc, 7a875ad8706f0903a0e812e0dd701956ee9826ff, d887b3de318834f9aa637ecf79c6bc66cba7c69a
linux-kernel: Kernel>=5.8.3 <5.9, >=5.9.0 <5.17.14, >=5.18.0 <5.18.35.9, 5.17.14, 5.18.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49469 severity on Zeptric[![CVE-2022-49469](https://zeptric.io/badge/cve/CVE-2022-49469.svg)](https://zeptric.io/cve/CVE-2022-49469)