Vulnerabilities

CVE-2026-46129

High 7.8 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-05-28
Last modified
2026-06-24
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Probability of exploitation
0.1 % higher than 4 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linux Linux Kernel 6.19 Affected
Linux Linux Kernel ≥ 6.1.162, < 6.1.175 Affected
Linux Linux Kernel ≥ 6.12.67, < 6.12.88 Affected
Linux Linux Kernel ≥ 6.18.7, < 6.18.30 Affected
Linux Linux Kernel ≥ 6.19.1, < 7.0.7 Affected
Linux Linux Kernel ≥ 6.6.122, < 6.6.140 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities