CVE-2024-56708
Severity CVSS v4.0:
Pending analysis
Type:
CWE-415
Double Free
Publication date:
28/12/2024
Last modified:
03/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
EDAC/igen6: Avoid segmentation fault on module unload<br />
<br />
The segmentation fault happens because:<br />
<br />
During modprobe:<br />
1. In igen6_probe(), igen6_pvt will be allocated with kzalloc()<br />
2. In igen6_register_mci(), mci->pvt_info will point to<br />
&igen6_pvt->imc[mc]<br />
<br />
During rmmod:<br />
1. In mci_release() in edac_mc.c, it will kfree(mci->pvt_info)<br />
2. In igen6_remove(), it will kfree(igen6_pvt);<br />
<br />
Fix this issue by setting mci->pvt_info to NULL to avoid the double<br />
kfree.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.174 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.120 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.64 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.11.11 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.12 (including) | 6.12.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/029ac07bb92d2f7502d47a4916f197a8445d83bf
- https://git.kernel.org/stable/c/2a80e710bbc088a2511c159ee4d910456c5f0832
- https://git.kernel.org/stable/c/830cabb61113d92a425dd3038ccedbdfb3c8d079
- https://git.kernel.org/stable/c/db60326f2c47b079e36785ace621eb3002db2088
- https://git.kernel.org/stable/c/e5c7052664b61f9e2f896702d20552707d0ef60a
- https://git.kernel.org/stable/c/fefaae90398d38a1100ccd73b46ab55ff4610fba
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html



