VDB

CVE-2026-46129

CVE-2026-46129 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
python3-perfAmazon Linux1:6.1.175-219.357.amzn2023
kernel6.12-develAmazon Linux1:6.12.88-119.157.amzn2023
kernel6.12-headersAmazon Linux1:6.12.88-119.157.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.175-219.357.amzn2023
kernel6.18-develAmazon Linux1:6.18.30-61.116.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.88-119.157.amzn2023
perf6.12Amazon Linux1:6.12.88-119.157.amzn2023
kernelAmazon Linux1:6.1.175-219.357.amzn2023
kernel-tools-develAmazon Linux1:6.1.175-219.357.amzn2023
kernel-toolsAmazon Linux1:6.1.175-219.357.amzn2023
kernel-livepatch-6.12.88-119.157Amazon Linux1:1.0-0.amzn2023
kernel-livepatch-6.18.30-61.116Amazon Linux1:1.0-0.amzn2023

8 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.14%
3.3th percentile

Affected products

VendorProductVersions
LinuxLinux20e8f2de3688082eeafeb93c8900485b7542457e, 58208907c4044a764dbd8896026283905da6d9be, bb4fa4c0b54aae25e55faeda7f78d0c11b8cd618
LinuxLinux6.19, 0, 6.1.175
amazon:2023python3-perf0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023perf6.120
amazon:2023kernel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-tools0
amazon:2023kernel-livepatch-6.12.88-119.1570
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023perf6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.120
amazon:2023bpftool0
amazon:2023kernel6.180

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›