CVE-2026-46164
btrfs: fix double free in create_space_info_sub_group() error path
Mitigation
- Upgrade Linux to 6.12.90 or later.
Who should check
- Anyone running Linux >= 64c7ddda83acfbaa0efb381a1928ce908c584607, < c2d59527cba6d59f0d77a75c1101ab4e69758bea; >= 0bd151ce4200ca847990e05cca29a76456982ca5, < d2a675f2e238ec96c8e91e2718c1f910c9c8fb21; >= 190d5a7c4fe42b8c9aa46e3336389e7cb10395bb, < 14b22be1dd844383eb03af9b1ee3b6b25d32aeaf; >= f92ee31e031c7819126d2febdda0c3e91f5d2eb9, < dfd05a16b5c9d1d98b47905f37f2fccda52173d1; >= f92ee31e031c7819126d2febdda0c3e91f5d2eb9, < 259af6857a1b4f1e9ef8b780353f9d11c26a22bd; >= f92ee31e031c7819126d2febdda0c3e91f5d2eb9, < a7449edf96143f192606ec8647e3167e1ecbd728; >= 6.1.162, < 6.1.176; >= 6.6.122, < 6.6.141; >= 6.12.67, < 6.12.90
- Anyone running Linux 6.16
Vulnerability facts
- Affected
- Linux >= 64c7ddda83acfbaa0efb381a1928ce908c584607, < c2d59527cba6d59f0d77a75c1101ab4e69758bea; >= 0bd151ce4200ca847990e05cca29a76456982ca5, < d2a675f2e238ec96c8e91e2718c1f910c9c8fb21; >= 190d5a7c4fe42b8c9aa46e3336389e7cb10395bb, < 14b22be1dd844383eb03af9b1ee3b6b25d32aeaf; >= f92ee31e031c7819126d2febdda0c3e91f5d2eb9, < dfd05a16b5c9d1d98b47905f37f2fccda52173d1; >= f92ee31e031c7819126d2febdda0c3e91f5d2eb9, < 259af6857a1b4f1e9ef8b780353f9d11c26a22bd; >= f92ee31e031c7819126d2febdda0c3e91f5d2eb9, < a7449edf96143f192606ec8647e3167e1ecbd728; >= 6.1.162, < 6.1.176; >= 6.6.122, < 6.6.141; >= 6.12.67, < 6.12.90; Linux 6.16
- Fixed in
- Linux 14b22be1dd844383eb03af9b1ee3b6b25d32aeaf, Linux 259af6857a1b4f1e9ef8b780353f9d11c26a22bd, Linux 6.1.176, Linux 6.6.141, Linux 6.12.90
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-415
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix double free in create_space_info_sub_group() error path When kobject_init_and_add() fails, the call chain is: create_space_info_sub_group() -> btrfs_sysfs_add_space_info_type() -> kobject_init_and_add() -> failure -> kobject_put(&sub_group->kobj) -> space_info_release() -> kfree(sub_group) Then control returns to create_space_info_sub_group(), where: btrfs_sysfs_add_space_info_type() returns error -> kfree(sub_group) Thus, sub_group is freed twice. Keep parent->sub_group[index] = NULL for the failure path, but after btrfs_sysfs_add_space_info_type() has called kobject_put(), let the kobject release callback handle the cleanup.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 64c7ddda83acfbaa0efb381a1928ce908c584607, < c2d59527cba6d59f0d77a75c1101ab4e69758bea; >= 0bd151ce4200ca847990e05cca29a76456982ca5, < d2a675f2e238ec96c8e91e2718c1f910c9c8fb21; >= 190d5a7c4fe42b8c9aa46e3336389e7cb10395bb, < 14b22be1dd844383eb03af9b1ee3b6b25d32aeaf; >= f92ee31e031c7819126d2febdda0c3e91f5d2eb9, < dfd05a16b5c9d1d98b47905f37f2fccda52173d1; >= f92ee31e031c7819126d2febdda0c3e91f5d2eb9, < 259af6857a1b4f1e9ef8b780353f9d11c26a22bd; >= f92ee31e031c7819126d2febdda0c3e91f5d2eb9, < a7449edf96143f192606ec8647e3167e1ecbd728; >= 6.1.162, < 6.1.176; >= 6.6.122, < 6.6.141; >= 6.12.67, < 6.12.90 | — | cvelist |
| Linux | 6.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-46164. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-46164.md Affected: Linux >= 64c7ddda83acfbaa0efb381a1928ce908c584607, < c2d59527cba6d59f0d77a75c1101ab4e69758bea; >= 0bd151ce4200ca847990e05cca29a76456982ca5, < d2a675f2e238ec96c8e91e2718c1f910c9c8fb21; >= 190d5a7c4fe42b8c9aa46e3336389e7cb10395bb, < 14b22be1dd844383eb03af9b1ee3b6b25d32aeaf; >= f92ee31e031c7819126d2fe… Fixed in: Linux 14b22be1dd844383eb03af9b1ee3b6b25d32aeaf, Linux 259af6857a1b4f1e9ef8b780353f9d11c26a22bd, Linux 6.1.176, Linux 6.6.141, Linux 6.12.90 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/d2a675f2e238ec96c8e91e2718c1f910c9c8fb21
- https://git.kernel.org/stable/c/14b22be1dd844383eb03af9b1ee3b6b25d32aeaf
- https://git.kernel.org/stable/c/dfd05a16b5c9d1d98b47905f37f2fccda52173d1
- https://git.kernel.org/stable/c/259af6857a1b4f1e9ef8b780353f9d11c26a22bd
- https://git.kernel.org/stable/c/a7449edf96143f192606ec8647e3167e1ecbd728
FAQ
Is CVE-2026-46164 being exploited?
There is no confirmed exploitation: CVE-2026-46164 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-46164?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-46164?
Linux >= 64c7ddda83acfbaa0efb381a1928ce908c584607, < c2d59527cba6d59f0d77a75c1101ab4e69758bea; >= 0bd151ce4200ca847990e05cca29a76456982ca5, < d2a675f2e238ec96c8e91e2718c1f910c9c8fb21; >= 190d5a7c4fe42b8c9aa46e3336389e7cb10395bb, < 14b22be1dd844383eb03af9b1ee3b6b25d32aeaf; >= f92ee31e031c7819126d2febdda0c3e91f5d2eb9, < dfd05a16b5c9d1d98b47905f37f2fccda52173d1; >= f92ee31e031c7819126d2febdda0c3e91f5d2eb9, < 259af6857a1b4f1e9ef8b780353f9d11c26a22bd; >= f92ee31e031c7819126d2febdda0c3e91f5d2eb9, < a7449edf96143f192606ec8647e3167e1ecbd728; >= 6.1.162, < 6.1.176; >= 6.6.122, < 6.6.141; >= 6.12.67, < 6.12.90; Linux 6.16.
Is there a fix for CVE-2026-46164?
Yes. Fixed in Linux 14b22be1dd844383eb03af9b1ee3b6b25d32aeaf, Linux 259af6857a1b4f1e9ef8b780353f9d11c26a22bd, Linux 6.1.176, Linux 6.6.141, Linux 6.12.90. Upgrade Linux to 6.12.90 or later.
How do I check if I'm affected by CVE-2026-46164?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.