Bug 2300507 (CVE-2024-42069) - CVE-2024-42069 kernel: net: mana: Fix possible double free in error handling path
Summary: CVE-2024-42069 kernel: net: mana: Fix possible double free in error handling ...
Keywords:
Status: NEW
Alias: CVE-2024-42069
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301702
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-29 16:26 UTC by OSIDB Bzimport
Modified: 2024-08-19 03:46 UTC (History)
4 users (show)

Fixed In Version: kernel 6.6.37, kernel 6.9.8, kernel 6.10
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-29 16:26:35 UTC
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.

Comment 1 Mauro Matteo Cascella 2024-07-30 16:22:29 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024072952-CVE-2024-42069-a6b7@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 16:22:49 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301702]


Note You need to log in before you can comment on or make changes to this bug.