CVE-2024-42069

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42069
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42069.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42069
Downstream
Related
Published
2024-07-29T15:52:33.273Z
Modified
2025-11-28T02:35:52.429530Z
Summary
net: mana: Fix possible double free in error handling path
Details

In the Linux kernel, the following vulnerability has been resolved:

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

When auxiliarydeviceadd() returns error and then calls auxiliarydeviceuninit(), callback function adev_release calls kfree(madev). We shouldn't call kfree(madev) again in the error handling path. Set 'madev' to NULL.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42069.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a69839d4327d053b18d8e1b0e7ddeee78db78f4f
Fixed
3243e64eb4d897c3eeb48b2a7221ab5a95e1282a
Fixed
ed45c0a0b662079d4c0e518014cc148c753979b4
Fixed
1864b8224195d0e43ddb92a8151f54f6562090cc

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.37
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.8