Bugzilla – Bug 1227084
VUL-0: CVE-2024-39464: kernel: media: v4l: async: Fix notifier list entry init
Last modified: 2024-07-03 13:43:06 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
All done, closing.