btrfs: fix double free in create_space_info() error path
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-415 and the CVSS impact.
Summary
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix double free in create_space_info() error path When kobject_init_and_add() fails, the call chain is: create_space_info() -> btrfs_sysfs_add_space_info_type() -> kobject_init_and_add() -> failure -> kobject_put(&space_info->kobj) -> space_info_release() -> kfree(space_info) Then control returns to create_space_info(): btrfs_sysfs_add_space_info_type() returns error -> goto out_free -> kfree(space_info) This causes a double free. Keep the direct kfree(space_info) for the earlier failure path, but after btrfs_sysfs_add_space_info_type() has called kobject_put(), let the kobject release callback handle the cleanup.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 6.1.162 to before 6.1.175; 6.6.122 to before 6.6.140; 6.12.67 to before 6.12.88; 6.18.7 to before 6.18.30 | 6.1.175, 6.6.140, 6.12.88, 6.18.30 | Patch available | CNA |
| Linux | Linux | 6.19 and later | 6.1.175, 6.6.140, 6.12.88, 6.18.30, 7.0.7, 7.1 | Patch available | CNA |
- Linux VendorLinux Affected 6.1.162 to before 6.1.175; 6.6.122 to before 6.6.140; 6.12.67 to before 6.12.88; 6.18.7 to before 6.18.30 Fixed in 6.1.175, 6.6.140, 6.12.88, 6.18.30 Patch available CNA
- Linux VendorLinux Affected 6.19 and later Fixed in 6.1.175, 6.6.140, 6.12.88, 6.18.30, 7.0.7, 7.1 Patch available CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.1.162 to before 6.1.175; 6.6.122 to before 6.6.140; 6.12.67 to before 6.12.88; 6.18.7 to before 6.18.30; 6.19.1 to before 7.0.7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.19:-:*:*:*:*:*:* | 6.19 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:* | 6.19 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:* | 6.19 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.19:rc8:*:*:*:*:*:* | 6.19 rc8 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 6.1.162 to before 6.1.175; 6.6.122 to before 6.6.140; 6.12.67 to before 6.12.88; 6.18.7 to before 6.18.30; 6.19.1 to before 7.0.7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.19:-:*:*:*:*:*:* Versions 6.19 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:* Versions 6.19 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:* Versions 6.19 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.19:rc8:*:*:*:*:*:* Versions 6.19 rc8 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.1.175, 6.6.140, 6.12.88, 6.18.30
- Fix · CNA Linux (Linux) Fixed in 6.1.175, 6.6.140, 6.12.88, 6.18.30, 7.0.7, 7.1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46129
- 2026-10-03 Alias added: GHSA-4m7v-4fw7-9hch
- 2026-10-20 Affected versions changed · Red Hat
References
Patch 6
- https://git.kernel.org/stable/c/ae6d6e31ceb72b7697c28a528e4923c08e3c2ef5
- https://git.kernel.org/stable/c/c2670ec4aa49ca226bce9776601e0da37502be07
- https://git.kernel.org/stable/c/f414b3abbba59ef379a2b3c31f2bdd9358ed5e53
- https://git.kernel.org/stable/c/9a060970fd7b5e1c561e4ce73cb9949e4269a738
- https://git.kernel.org/stable/c/dd6ade0fdd59218d71a981ae7c937a304e49209c
- https://git.kernel.org/stable/c/3f487be81292702a59ea9dbc4088b3360a50e837
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2026-46129 · CVE Program
- CVE-2026-46129 · NVD
- FIRST EPSS
- GHSA-4m7v-4fw7-9hch · GitHub Advisory Database · CC BY 4.0
- CVE-2026-46129 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences