media: v4l: async: Fix notifier list entry init
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.346.9.56.10In 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.
From the CVE record · Linux
The Linux kernel’s V4L2 async notifier leaves a list entry uninitialized. If CSI-2 async registration fails, such as when a remote endpoint node is disabled, a subsequent notifier unregister call can cause a NULL-pointer dereference. The input does not specify an attack route, authentication requirement, or user interaction.
Engineers running Linux kernels with the V4L2 async notifier should check whether their kernel includes the fix; affected versions are not specified.