CVE-2024-56708

EDAC/igen6: Avoid segmentation fault on module unload

State
Published
Severity
7.8 High
Published
Dec 28, 2024
Updated
May 11, 2026
Reserved
Dec 27, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 10590a9d4f23e0a519730d79d39331df60ad2079 to before 029ac07bb92d2f7502d47a4916f197a8445d83bfAffected
  • 10590a9d4f23e0a519730d79d39331df60ad2079 to before 2a80e710bbc088a2511c159ee4d910456c5f0832Affected
  • 10590a9d4f23e0a519730d79d39331df60ad2079 to before 830cabb61113d92a425dd3038ccedbdfb3c8d079Affected
  • 10590a9d4f23e0a519730d79d39331df60ad2079 to before e5c7052664b61f9e2f896702d20552707d0ef60aAffected
  • 10590a9d4f23e0a519730d79d39331df60ad2079 to before db60326f2c47b079e36785ace621eb3002db2088Affected
  • 10590a9d4f23e0a519730d79d39331df60ad2079 to before fefaae90398d38a1100ccd73b46ab55ff4610fbaAffected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.174 through 5.15.*Not affected
  • 6.1.120 through 6.1.*Not affected
  • 6.6.64 through 6.6.*Not affected
  • 6.11.11 through 6.11.*Not affected
  • 6.12.2 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.