CVE-2025-68359
Fix Status by Distribution
Fixed in 5 of 27 tracked Linux releases
Fix evidence last checked: 2026-11-26 19:14 UTC
Get alerted when your releases are fixedFixed in:
Debian 12 (Bookworm)
DLA-4904-1 · Published: 2026-11-13
Debian 13 (Trixie)
DSA-6602-1 · Published: 2026-11-02
SUSE Linux Enterprise Server 16
SUSE-SU-2026:20615 · Published: 2026-02-27
SUSE-SU-2026:20599 · Published: 2026-02-27
Ubuntu 24.04 LTS (Noble Numbat)
USN-8152-1 · Published: 2026-04-06
USN-8094-4 · Published: 2026-03-25
USN-8094-3 · Published: 2026-03-23
USN-8094-2 · Published: 2026-03-17
USN-8094-1 · Published: 2026-03-16
Ubuntu 25.10 (Questing Quokka)
USN-8094-5 · Published: 2026-04-01
USN-8094-4 · Published: 2026-03-25
USN-8094-2 · Published: 2026-03-17
USN-8094-1 · Published: 2026-03-16
No fix evidence found:
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix double free of qgroup record after failure to add delayed ref head In the previous code it was possible to incur into a double kfree() scenario when calling add_delayed_ref_head(). This could happen if the record was reported to already exist in the btrfs_qgroup_trace_extent_nolock() call, but then there was an error later on add_delayed_ref_head(). In this case, since add_delayed_ref_head() returned an error, the caller went to free the record. Since add_delayed_ref_head() couldn't set this kfree'd pointer to NULL, then kfree() would have acted on a non-NULL 'record' object which was pointing to memory already freed by the callee. The problem comes from the fact that the responsibility to kfree the object is on both the caller and the callee at the same time. Hence, the fix for this is to shift the ownership of the 'qrecord' object out of the add_delayed_ref_head(). That is, we will never attempt to kfree() the given object inside of this function, and will expect the caller to act on the 'qrecord' object on its own. The only exception where the 'qrecord' object cannot be kfree'd is if it was inserted into the tracing logic, for which we already have the 'qrecord_inserted_ret' boolean to account for this. Hence, the caller has to kfree the object only if add_delayed_ref_head() reports not to have inserted it on the tracing logic. As a side-effect of the above, we must guarantee that 'qrecord_inserted_ret' is properly initialized at the start of the function, not at the end, and then set when an actual insert happens. This way we avoid 'qrecord_inserted_ret' having an invalid value on an early exit. The documentation from the add_delayed_ref_head() has also been updated to reflect on the exact ownership of the 'qrecord' object.
Exploit evidence
Last checked: 2026-10-21 19:42 UTC