CVE-2022-49469
publishedbtrfs: fix anon_dev leak in create_subvol()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 to < d887b3de318834f9aa637ecf79c6bc66cba7c69a · 2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 to < 7a875ad8706f0903a0e812e0dd701956ee9826ff · 2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 to < 2256e901f5bddc56e24089c96f27b77da932dfcc · 917d608fe375041eb7f29befa6a6d7fd3cf32dde · 5.8.3 to < 5.9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.9 (affected) · 0 to < 5.9 (unaffected · semver) · 5.17.14 through 5.17.* (unaffected · semver) · 5.18.3 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 to < d887b3de318834f9aa637ecf79c6bc66cba7c69a (affected · git)2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 to < 7a875ad8706f0903a0e812e0dd701956ee9826ff (affected · git)2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 to < 2256e901f5bddc56e24089c96f27b77da932dfcc (affected · git)917d608fe375041eb7f29befa6a6d7fd3cf32dde (affected · git)5.8.3 to < 5.9 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.9 (affected)0 to < 5.9 (unaffected · semver)5.17.14 through 5.17.* (unaffected · semver)5.18.3 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
btrfs: fix anon_dev leak in create_subvol()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4a2ff86acfa658fb19982012b8e7920d7f94a0dbf7c2e97138adca90f033c99e
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record