CVE-2022-49469

medium

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.

References

https://git.kernel.org/stable/c/d887b3de318834f9aa637ecf79c6bc66cba7c69a

https://git.kernel.org/stable/c/7a875ad8706f0903a0e812e0dd701956ee9826ff

https://git.kernel.org/stable/c/2256e901f5bddc56e24089c96f27b77da932dfcc

Details

Source: Mitre, NVD

Published: 2025-02-26

Updated: 2025-02-26

Risk Information

CVSS v2

Base Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium