Double Free in Linux
CVE-2024-56708
In the Linux kernel, the following vulnerability has been resolved:
EDAC/igen6: Avoid segmentation fault on module unload
The segmentation fault happens because:
During modprobe:
1. In igen6_probe(), igen6_pvt will be allocated with kzalloc()
2. In igen6_register_mci(), mci->pvt_info will point to
&igen6_pvt->imc[mc]
During rmmod:
1. In mci_release() in edac_mc.c, it will kfree(mci->pvt_info)
2. In igen6_remove(), it will kfree(igen6_pvt);
Fix this issue by setting mci->pvt_info to NULL to avoid the double
kfree.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 16.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 10590a9d4f23e0a519730d79d39331df60ad2079, 5.11, 0
- Linux Kernel
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (cku-heise/euvd-api-doc, fkie-cad/nvd-json-data-feeds, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/029ac07bb92d2f7502d47a4916f197a8445d83bf (Patch)
- git.kernel.org/stable/c/2a80e710bbc088a2511c159ee4d910456c5f0832 (Patch)
- git.kernel.org/stable/c/830cabb61113d92a425dd3038ccedbdfb3c8d079 (Patch)
- git.kernel.org/stable/c/e5c7052664b61f9e2f896702d20552707d0ef60a (Patch)
- git.kernel.org/stable/c/db60326f2c47b079e36785ace621eb3002db2088 (Patch)
- git.kernel.org/stable/c/fefaae90398d38a1100ccd73b46ab55ff4610fba (Patch)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html