{"id":"CVE-2024-42069","summary":"net: mana: Fix possible double free in error handling path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mana: Fix possible double free in error handling path\n\nWhen auxiliary_device_add() returns error and then calls\nauxiliary_device_uninit(), callback function adev_release\ncalls kfree(madev). We shouldn't call kfree(madev) again\nin the error handling path. Set 'madev' to NULL.","modified":"2026-03-20T12:37:37.884682Z","published":"2024-07-29T15:52:33.273Z","related":["SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42069.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1864b8224195d0e43ddb92a8151f54f6562090cc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3243e64eb4d897c3eeb48b2a7221ab5a95e1282a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ed45c0a0b662079d4c0e518014cc148c753979b4"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42069.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42069"},{"type":"PACKAGE","url":"https://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"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42069.json"}}],"schema_version":"1.7.5"}