Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-49469

btrfs: fix anon_dev leak in create_subvol()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 to < d887b3de318834f9aa637ecf79c6bc66cba7c69aaffected
  • 2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 to < 7a875ad8706f0903a0e812e0dd701956ee9826ffaffected
  • 2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 to < 2256e901f5bddc56e24089c96f27b77da932dfccaffected
  • 917d608fe375041eb7f29befa6a6d7fd3cf32ddeaffected
  • 5.8.3 to < 5.9affected

Linux Linux

Default version status: affected

  • 5.9affected
  • 0 to < 5.9unaffected
  • 5.17.14 to ≤ 5.17.*unaffected
  • 5.18.3 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References