CVE-2026-46129
btrfs: fix double free in create_space_info() error path
Reported by linux · Published May 28, 2026
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.
EPSS 0.14% · 3.3th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| kernel-livepatch-6.12.88-119.157 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-livepatch-6.18.30-61.116 | Amazon Linux | 1:1.0-0.amzn2023 |
8 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 20e8f2de3688082eeafeb93c8900485b7542457e, 58208907c4044a764dbd8896026283905da6d9be, bb4fa4c0b54aae25e55faeda7f78d0c11b8cd618 |
| Linux | Linux | 6.19, 0, 6.1.175 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-livepatch-6.12.88-119.157 | 0 |
| amazon:2023 | kernel-livepatch-6.18.30-61.116 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.18 | 0 |
…and 17 more
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (16 in total, the first dated here)
- Jun 1, 2026 Security Advisory (131 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
- Sep 16, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-46129
vulnetix vdb fixes CVE-2026-46129
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46129/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart