7.8high
EDAC/igen6: Avoid segmentation fault on module unload
- Severity
- 7.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.32% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 10590a9d4f23e0a519730d79d39331df60ad2079 before 029ac07bb92d2f7502d47a4916f197a8445d83bf, from 10590a9d4f23e0a519730d79d39331df60ad2079 before 2a80e710bbc088a2511c159ee4d910456c5f0832, from 10590a9d4f23e0a519730d79d39331df60ad2079 before 830cabb61113d92a425dd3038ccedbdfb3c8d079, from 10590a9d4f23e0a519730d79d39331df60ad2079 before e5c7052664b61f9e2f896702d20552707d0ef60a, from 10590a9d4f23e0a519730d79d39331df60ad2079 before db60326f2c47b079e36785ace621eb3002db2088, from 10590a9d4f23e0a519730d79d39331df60ad2079 before fefaae90398d38a1100ccd73b46ab55ff4610fba, 5.11 Not affected: before 5.11, from 5.15.174 up to 5.15.*, from 6.1.120 up to 6.1.*, from 6.6.64 up to 6.6.*, from 6.11.11 up to 6.11.*, from 6.12.2 up to 6.12.* | CVE List |
| linux linux_kernel | from 5.11 before 5.15.174, from 5.16 before 6.1.120, from 6.2 before 6.6.64, from 6.7 before 6.11.11, from 6.12 before 6.12.2 | NVD |
All scores
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: EDAC/igen6: Evitar fallo de segmentación al descargar el módulo El fallo de segmentación ocurre porque: Durante modprobe: 1. En igen6_probe(), igen6_pvt se asignará con kzalloc() 2. En igen6_register_mci(), mci->pvt_info apuntará a &igen6_pvt->imc[mc] Durante rmmod: 1. En mci_release() en edac_mc.c, kfree(mci->pvt_info) 2. En igen6_remove(), kfree(igen6_pvt); Solucione este problema configurando mci->pvt_info en NULL para evitar el kfree doble.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-56708 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-56708 changed 2026-06-17 | Public domain |