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

Orange Kao

·

Published

2024-11-04

·

Updated

2025-10-03

·

CVE-2024-56708

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 (affected versions not specified)
Description A segmentation fault issue has been resolved in the Linux kernel, specifically in the EDAC/igen6 module. The fault occurs during module unload due to a double free error. This happens because mci->pvt info is not set to NULL, causing kfree(mci->pvt info) to be called twice. The issue arises from the allocation of igen6 pvt with kzalloc() in igen6 probe() and the assignment of mci->pvt info to point to &igen6 pvt->imc[mc] in igen6 register mci(). During module removal, kfree(mci->pvt info) is called in mci release(), followed by kfree(igen6 pvt) in igen6 remove().
Recommendations To fix this issue, set mci->pvt info to NULL to avoid the double free error. This can be achieved by modifying the igen6 register mci() function to set mci->pvt info to NULL before calling kfree(mci->pvt info). As a temporary workaround, consider disabling the igen6 probe() function until a patch is available. Restrict access to the edac mc.c module to minimize the risk of exploitation. Avoid using the mci->pvt info variable in the affected module until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

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-2024-17893
ALT-PU-2025-12647
BDU:2025-04993
CVE-2024-56708
DLA-4076-1
OESA-2025-1032
OESA-2025-1036
OPENSUSE-SU-2025_0428-1
OPENSUSE-SU-2025_0499-1
OPENSUSE-SU-2025_0557-1
SUSE-SU-2025:0289-1
SUSE-SU-2025:0428-1
SUSE-SU-2025:0499-1
SUSE-SU-2025:0557-1
SUSE-SU-2025:20165-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20248-1
SUSE-SU-2025:20249-1
SUSE-SU-2025_0428-1
SUSE-SU-2025_0499-1
SUSE-SU-2025_0557-1
USN-7276-1
USN-7277-1
USN-7310-1
USN-7387-1
USN-7387-2
USN-7387-3
USN-7388-1
USN-7389-1
USN-7390-1
USN-7407-1
USN-7421-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7458-1
USN-7459-1
USN-7459-2
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu