PT-2024-36889 · Linux+6 · Linux Kernel+6

Shinichiro Kawasaki

·

Published

2024-11-28

·

Updated

2025-10-03

·

CVE-2024-56582

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.12.0-rc6-kts+
Description A use-after-free vulnerability has been identified in the Linux kernel, specifically in the btrfs encoded read endio() function. This issue was reported by Shinichiro and occurs when running fstests' btrfs/284 on a TCMU runner device. The vulnerability is caused by a slab-use-after-free error in the lock release() function. The estimated number of potentially affected devices worldwide is not available. There is no information about real-world incidents where this issue was exploited.
Technical details about exploitation include:
  • The btrfs encoded read endio() function is vulnerable.
  • The lock release() function is also involved in the vulnerability.
  • The issue is related to a slab-use-after-free error.
Recommendations To resolve the issue, update the Linux kernel to a version that includes the fix for the use-after-free vulnerability in the btrfs encoded read endio() function. As a temporary workaround, consider disabling the btrfs encoded read endio() function until a patch is available.

Exploit

Fix

Use After Free

Double Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2025-1057
ALT-PU-2025-12647
ALT-PU-2025-3507
AZL-55530
BDU:2025-03595
CVE-2024-56582
DLA-4076-1
OESA-2025-1078
OESA-2025-1079
OPENSUSE-SU-2025_0117-1
OPENSUSE-SU-2025_0153-1
OPENSUSE-SU-2025_0154-1
SUSE-SU-2025:0117-1
SUSE-SU-2025:0153-1
SUSE-SU-2025:0154-1
SUSE-SU-2025:02069-1
SUSE-SU-2025:02070-1
SUSE-SU-2025:02071-1
SUSE-SU-2025:02072-1
SUSE-SU-2025:02076-1
SUSE-SU-2025:02077-1
SUSE-SU-2025:02116-1
SUSE-SU-2025:02117-1
SUSE-SU-2025:02126-1
SUSE-SU-2025:02127-1
SUSE-SU-2025:02161-1
SUSE-SU-2025:02162-1
SUSE-SU-2025:0289-1
SUSE-SU-2025:20165-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20248-1
SUSE-SU-2025:20249-1
SUSE-SU-2025:20431-1
SUSE-SU-2025:20434-1
SUSE-SU-2025:20435-1
SUSE-SU-2025:20436-1
SUSE-SU-2025:20437-1
SUSE-SU-2025:20438-1
SUSE-SU-2025:20448-1
SUSE-SU-2025:20449-1
SUSE-SU-2025:20450-1
SUSE-SU-2025:20451-1
USN-7379-1
USN-7379-2
USN-7380-1
USN-7381-1
USN-7382-1
USN-7383-1
USN-7383-2
USN-7384-1
USN-7384-2
USN-7385-1
USN-7386-1
USN-7403-1
USN-7451-1
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu