EDAC/igen6: Avoid segmentation fault on module unload (Linux Linux)

CVE-2024-56708
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 10590a9d4f23e0a519730d79d39331df60ad2079 < 029ac07bb92d2f7502d47a4916f197a8445d83bf ; affected 10590a9d4f23e0a519730d79d39331df60ad2079 < 2a80e710bbc088a2511c159ee4d910456c5f0832 ; affected 10590a9d4f23e0a519730d79d39331df60ad2079 < 830cabb61113d92a425dd3038ccedbdfb3c8d079 ; affected 10590a9d4f23e0a519730d79d39331df60ad2079 < e5c7052664b61f9e2f896702d20552707d0ef60a ; affected 10590a9d4f23e0a519730d79d39331df60ad2079 < db60326f2c47b079e36785ace621eb3002db2088 ; affected 10590a9d4f23e0a519730d79d39331df60ad2079 < fefaae90398d38a1100ccd73b46ab55ff4610fba
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.174 ≤ 5.15.* ; unaffected 6.1.120 ≤ 6.1.* ; unaffected 6.6.64 ≤ 6.6.* ; unaffected 6.11.11 ≤ 6.11.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD