CVE-2024-42069

net: mana: Fix possible double free in error handling path

MEDIUM
5.5
CVSS Score
Published: July 29, 2024 at 03:52 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: net: mana: Fix possible double free in error handling path When auxiliary_device_add() returns error and then calls auxiliary_device_uninit(), callback function adev_release calls kfree(madev). We shouldn't call kfree(madev) again in the error handling path. Set 'madev' to NULL.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.26.2 ≤ v < 6.106.2 ≤ v < 6.6.376.2 ≤ v < 6.9.86.3 ≤ v < 6.6.376.7 ≤ v < 6.9.86.2a69839d4327d053b18d8e1b0e7ddeee78db78f4f
Vendor states this is fixed in 1864b8224195d0e43ddb92a8151f54f6562090cc (fixed)
Vendor states this is fixed in 3243e64eb4d897c3eeb48b2a7221ab5a95e1282a (fixed)
Vendor states this is fixed in ed45c0a0b662079d4c0e518014cc148c753979b4 (fixed)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)
Vendor states this is fixed in 6.6.37 (unaffected)
Vendor states this is fixed in 6.9.8 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1864b8224195d0e43ddb92a8151f54f6562090cc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3243e64eb4d897c3eeb48b2a7221ab5a95e1282a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ed45c0a0b662079d4c0e518014cc148c753979b4
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card