Double Free Affecting linux-6.1 package, versions <6.1.128-1~deb11u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-LINUX61-9055591
  • published3 Mar 2025
  • disclosed28 Dec 2024

Introduced: 28 Dec 2024

CVE-2024-56708  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Debian:11 linux-6.1 to version 6.1.128-1~deb11u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream linux-6.1 package and not the linux-6.1 package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1