CVE-2024-56708

EDAC/igen6: Avoid segmentation fault on module unload

High · published December 28, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
15.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00251 · 15.6th percentile
Published
2024-12-28T09:46Z
EPSS history
Timeline
  • 28 DEC 09:46Z
    EDAC/igen6: Avoid segmentation fault on module unload
    cvelistv5