Bug 1227084 (CVE-2024-39464)

Summary: VUL-0: CVE-2024-39464: kernel: media: v4l: async: Fix notifier list entry init
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: carlos.lopez, mhocko
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/412098/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-39464: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-06-26 13:28:48 UTC
In the Linux kernel, the following vulnerability has been resolved:

media: v4l: async: Fix notifier list entry init

struct v4l2_async_notifier has several list_head members, but only
waiting_list and done_list are initialized. notifier_entry was kept
'zeroed' leading to an uninitialized list_head.
This results in a NULL-pointer dereference if csi2_async_register() fails,
e.g. node for remote endpoint is disabled, and returns -ENOTCONN.
The following calls to v4l2_async_nf_unregister() results in a NULL
pointer dereference.
Add the missing list head initializer.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-39464
https://www.cve.org/CVERecord?id=CVE-2024-39464
https://git.kernel.org/stable/c/44f6d619c30f0c65fcdd2b6eba70fdb4460d87ad
https://git.kernel.org/stable/c/6d8acd02c4c6a8f917eefac1de2e035521ca119d
https://git.kernel.org/stable/c/a80d1da923f671c1e6a14e8417cd2f117b27a442
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-39464.mbox
https://bugzilla.redhat.com/show_bug.cgi?id=2294299
Comment 2 Andrea Mattiazzo 2024-07-03 13:43:06 UTC
All done, closing.