CVE-2024-56708
kernel: EDAC/igen6: Avoid segmentation fault on module unload
Overview
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:
- In igen6_probe(), igen6_pvt will be allocated with kzalloc()
- In igen6_register_mci(), mci->pvt_info will point to &igen6_pvt->imc[mc]
During rmmod:
- In mci_release() in edac_mc.c, it will kfree(mci->pvt_info)
- In igen6_remove(), it will kfree(igen6_pvt);
Fix this issue by setting mci->pvt_info to NULL to avoid the double kfree.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-415
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 92 fixes
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +13 | 5.15.0-305.176.4.el8uek |
| 9 | bpftool +3 | 5.15.0-305.176.4.el9uek |
| 9 | kernel-uek +34 | 6.12.0-102.36.5.2.el9uek |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | bpftool +10 | 6.1.124-1.ph5 |
Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +45 | eol |
| 9 | bpftool +106 | affected |
SUSE Linux Enterprise 1 release · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.6 | kernel-livepatch-6-4-0-150600-10-26-rt | 1-150600.1.3.1 | SUSE-SU-2025:0557-1 |
| 15.6 | kernel-livepatch-6-4-0-150600-23-38-default | 1-150600.13.3.2 | SUSE-SU-2025:0499-1 |
| 15.6 | cluster-md-kmp-default +18 | 6.4.0-150600.23.38.1 | SUSE-SU-2025:0499-1 |
| 15.6 | kernel-default-base | 6.4.0-150600.23.38.1.150600.12.16.2 | SUSE-SU-2025:0499-1 |
| 15.6 | kernel-azure +4 | 6.4.0-150600.8.26.1 | SUSE-SU-2025:0428-1 |
| 15.6 | kernel-coco +7 | 6.4.0-15061.12.coco15sp6.1 | SUSE-SU-2025:0289-1 |
SUSE Linux Enterprise Micro 2 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | kernel-livepatch-6-4-0-25-rt | 1-1.1 | SUSE-SU-2025:20166-1 |
| 6.0 | kernel-livepatch-6-4-0-25-default | 1-1.2 | SUSE-SU-2025:20165-1 |
| 6.0 | kernel-default-base | 6.4.0-24.1.21.4 | SUSE-SU-2025:20165-1 |
| 6.0 | kernel-default +5 | 6.4.0-25.1 | SUSE-SU-2025:20165-1 |
| 6.0 | kernel-devel-rt +3 | 6.4.0-25.1 | SUSE-SU-2025:20166-1 |
| 6.1 | kernel-livepatch-6-4-0-25-rt | 1-1.1 | SUSE-SU-2025:20249-1 |
4 more rows
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux-6-1 | 6.1.128-1~deb11u1 |
| 12 | linux | 6.1.123-1 |
| 13 | linux | 6.12.3-1 |
| 14 | linux | 6.12.3-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.1.123-1 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-linux | 6.1.123-1 |
| 13 | rootio-linux | 6.12.3-1 |
root.io ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | rootio-linux | 5.15.0-135.146 |
| 24.04 | rootio-linux | 6.8.0-58.60 |
ubuntu 4 releases · 43 packages
| Release | Package | Fixed in |
|---|---|---|
| 20.04 | linux-ibm-5-15 | 5.15.0-1074.77~20.04.1 |
| 20.04 | linux-riscv-5-15 | 5.15.0-1075.79~20.04.1 |
| 20.04 | linux-intel-iotg-5-15 +1 | 5.15.0-1077.83~20.04.1 |
| 20.04 | linux-aws-5-15 | 5.15.0-1080.87~20.04.1 |
| 20.04 | linux-gcp-5-15 | 5.15.0-1081.90~20.04.1 |
| 20.04 | linux-azure-5-15 | 5.15.0-1086.95~20.04.1 |
55 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-56708
- git.kernel.org https://git.kernel.org/linus/fefaae90398d38a1100ccd73b46ab55ff4610fba (6.13-rc1)
- git.kernel.org https://git.kernel.org/stable/c/029ac07bb92d2f7502d47a4916f197a8445d83bf
- git.kernel.org https://git.kernel.org/stable/c/2a80e710bbc088a2511c159ee4d910456c5f0832
- git.kernel.org https://git.kernel.org/stable/c/830cabb61113d92a425dd3038ccedbdfb3c8d079
- git.kernel.org https://git.kernel.org/stable/c/db60326f2c47b079e36785ace621eb3002db2088
- git.kernel.org https://git.kernel.org/stable/c/e5c7052664b61f9e2f896702d20552707d0ef60a
- git.kernel.org https://git.kernel.org/stable/c/fefaae90398d38a1100ccd73b46ab55ff4610fba
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-56708.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-20530.html
Show all 37 references
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2024122838-CVE-2024-56708-2702@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-56708
- ubuntu.com https://ubuntu.com/security/notices/USN-7276-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7277-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7310-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7387-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7387-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7387-3
- ubuntu.com https://ubuntu.com/security/notices/USN-7388-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7389-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7390-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7407-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7421-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7449-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7449-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7450-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7451-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7452-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7453-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7458-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7459-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7459-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7468-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7523-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7524-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-56708
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.