CVE-2022-49469

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 < d887b3de318834f9aa637ecf79c6bc66cba7c69aaffected
LinuxLinux2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 < 7a875ad8706f0903a0e812e0dd701956ee9826ffaffected
LinuxLinux2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788 < 2256e901f5bddc56e24089c96f27b77da932dfccaffected
LinuxLinux917d608fe375041eb7f29befa6a6d7fd3cf32ddeaffected
LinuxLinux5.8.3 < 5.9affected
LinuxLinux5.9affected
LinuxLinux0 < 5.9unaffected
LinuxLinux5.17.14 <= 5.17.*unaffected
LinuxLinux5.18.3 <= 5.18.*unaffected
LinuxLinux5.19 <= *unaffected

Weaknesses

References