PT-2024-36899 · Linux+4 · Linux Kernel+4

CVE-2024-56592

·

Published

2024-11-11

·

Updated

2026-08-25

CVSS v3.1

8.0

High

VectorAV:A/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.6.74
Description The issue arises when a map is removed from the htab, potentially holding the last reference of the map. This triggers a lockdep warning due to the acquisition of map idr lock while holding a bucket lock. The warning is caused by bpf map fd put ptr() invoking bpf map free id() under a raw spin lock, which attempts to acquire map idr lock. To fix this, htab put fd value() is invoked after htab unlock bucket(), and free htab elem() is also deferred to link to-be-freed elements together.
Recommendations For Linux kernel versions prior to 6.6.74, update to version 6.6.74 or later to resolve the issue. As a temporary workaround, consider deferring the invocation of htab put fd value() and free htab elem() after htab unlock bucket() to prevent the lockdep warning.

Exploit

Fix

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

Weakness Enumeration

Related Identifiers

AZL-68315
BDU:2026-03103
CVE-2024-56592
ECHO-326E-D446-3140
MGASA-2025-0030
MGASA-2025-0032
OESA-2025-1078
OESA-2025-1079
OPENSUSE-SU-2025_0499-1
OPENSUSE-SU-2025_0557-1
OPENSUSE-SU-2025_0847-1
SUSE-SU-2025:0499-1
SUSE-SU-2025:0557-1
SUSE-SU-2025:0564-1
SUSE-SU-2025:0847-1
SUSE-SU-2025:20190-1
SUSE-SU-2025:20192-1
SUSE-SU-2025:20260-1
SUSE-SU-2025:20270-1
SUSE-SU-2025_0499-1
SUSE-SU-2025_0557-1
SUSE-SU-2025_0847-1
USN-7379-1
USN-7379-2
USN-7380-1
USN-7381-1
USN-7382-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

Debian
Linuxmint
Linux Kernel
Suse
Ubuntu