Bug 1222438 (CVE-2024-26734)

Summary: VUL-0: CVE-2024-26734: kernel: devlink: fix possible use-after-free and memory leaks in devlink_init()
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: denis.kirjanov, gianluca.gabrielli, lhenriques, mhocko, stoyan.manolov
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/400227/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-26734:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-04-08 08:02:06 UTC
In the Linux kernel, the following vulnerability has been resolved:

devlink: fix possible use-after-free and memory leaks in devlink_init()

The pernet operations structure for the subsystem must be registered
before registering the generic netlink family.

Make an unregister in case of unsuccessful registration.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26734
https://www.cve.org/CVERecord?id=CVE-2024-26734
https://git.kernel.org/stable/c/919092bd5482b7070ae66d1daef73b600738f3a2
https://git.kernel.org/stable/c/def689fc26b9a9622d2e2cb0c4933dd3b1c8071c
https://git.kernel.org/stable/c/e91d3561e28d7665f4f837880501dc8755f635a9
https://bugzilla.redhat.com/show_bug.cgi?id=2273244
Comment 5 Luis Henriques 2024-07-04 14:05:30 UTC
All branches pushed, reassigning to security.