{"id":"CVE-2024-56708","summary":"EDAC/igen6: Avoid segmentation fault on module unload","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/igen6: Avoid segmentation fault on module unload\n\nThe segmentation fault happens because:\n\nDuring modprobe:\n1. In igen6_probe(), igen6_pvt will be allocated with kzalloc()\n2. In igen6_register_mci(), mci-\u003epvt_info will point to\n   &igen6_pvt-\u003eimc[mc]\n\nDuring rmmod:\n1. In mci_release() in edac_mc.c, it will kfree(mci-\u003epvt_info)\n2. In igen6_remove(), it will kfree(igen6_pvt);\n\nFix this issue by setting mci-\u003epvt_info to NULL to avoid the double\nkfree.","modified":"2026-04-02T12:25:09.007610Z","published":"2024-12-28T09:46:28.885Z","related":["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","USN-7276-1","USN-7277-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56708.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/029ac07bb92d2f7502d47a4916f197a8445d83bf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2a80e710bbc088a2511c159ee4d910456c5f0832"},{"type":"WEB","url":"https://git.kernel.org/stable/c/830cabb61113d92a425dd3038ccedbdfb3c8d079"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db60326f2c47b079e36785ace621eb3002db2088"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e5c7052664b61f9e2f896702d20552707d0ef60a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fefaae90398d38a1100ccd73b46ab55ff4610fba"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56708.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56708"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"10590a9d4f23e0a519730d79d39331df60ad2079"},{"fixed":"029ac07bb92d2f7502d47a4916f197a8445d83bf"},{"fixed":"2a80e710bbc088a2511c159ee4d910456c5f0832"},{"fixed":"830cabb61113d92a425dd3038ccedbdfb3c8d079"},{"fixed":"e5c7052664b61f9e2f896702d20552707d0ef60a"},{"fixed":"db60326f2c47b079e36785ace621eb3002db2088"},{"fixed":"fefaae90398d38a1100ccd73b46ab55ff4610fba"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56708.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}