{"id":"CVE-2022-49469","aliases":["CVE-2022-49469"],"related":[],"kind":"vulnerability","state":"published","title":"btrfs: fix anon_dev leak in create_subvol()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix anon_dev leak in create_subvol()\n\nWhen btrfs_qgroup_inherit(), btrfs_alloc_tree_block, or\nbtrfs_insert_root() fail in create_subvol(), we return without freeing\nanon_dev. Reorganize the error handling in create_subvol() to fix this.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix anon_dev leak in create_subvol()\n\nWhen btrfs_qgroup_inherit(), btrfs_alloc_tree_block, or\nbtrfs_insert_root() fail in create_subvol(), we return without freeing\nanon_dev. Reorganize the error handling in create_subvol() to fix this.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: btrfs: se corrige la fuga de anon_dev en create_subvol() Cuando btrfs_qgroup_inherit(), btrfs_alloc_tree_block o btrfs_insert_root() fallan en create_subvol(), regresamos sin liberar anon_dev. Reorganice la gestión de errores en create_subvol() para solucionar esto.","source":"nvd"}],"published":"2025-02-26T02:13:13.387Z","modified":"2026-06-17T05:18:08.603Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788","fixed":"d887b3de318834f9aa637ecf79c6bc66cba7c69a","status":"affected"},{"type":"git","introduced":"2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788","fixed":"7a875ad8706f0903a0e812e0dd701956ee9826ff","status":"affected"},{"type":"git","introduced":"2dfb1e43f57dd3aeaa66f7cf05d068db2d4c8788","fixed":"2256e901f5bddc56e24089c96f27b77da932dfcc","status":"affected"},{"type":"git","version":"917d608fe375041eb7f29befa6a6d7fd3cf32dde","status":"affected"},{"type":"semver","introduced":"5.8.3","fixed":"5.9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.9","status":"unaffected"},{"type":"semver","introduced":"5.17.14","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.3","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.8.3","fixed":"5.17.14"},{"status":"affected","introduced":"5.18","fixed":"5.18.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d887b3de318834f9aa637ecf79c6bc66cba7c69a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a875ad8706f0903a0e812e0dd701956ee9826ff","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2256e901f5bddc56e24089c96f27b77da932dfcc","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49469","url":"https://www.cve.org/CVERecord?id=CVE-2022-49469","licence":"CVE Terms of Use","modified":"2026-05-23T15:22:19.905Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49469","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49469","licence":"Public domain","modified":"2026-06-17T05:18:08.603Z"}],"updatedAt":"2026-11-25T22:58:20.675Z","epss":{"score":0.00258,"percentile":0.18642,"date":"2026-12-02T12:00:21.000Z"}}