Skip to content

In the Linux kernel, the following vulnerability has been...

Unreviewed Published Dec 28, 2024 to the GitHub Advisory Database • Updated Dec 28, 2024

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

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.

References

Published by the National Vulnerability Database Dec 28, 2024
Published to the GitHub Advisory Database Dec 28, 2024
Last updated Dec 28, 2024

Severity

Unknown

Weaknesses

No CWEs

CVE ID

CVE-2024-56708

GHSA ID

GHSA-2c9f-4h7m-wqr9

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.