Lucene search

K
cvelistLinuxCVELIST:CVE-2024-39464
HistoryJun 25, 2024 - 2:25 p.m.

CVE-2024-39464 media: v4l: async: Fix notifier list entry init

2024-06-2514:25:03
Linux
www.cve.org
3
cve-2024-39464
linux kernel
v4l
async
fix notifier list
null-pointer dereference
csi2_async_register
uninitialized list_head

0.0004 Low

EPSS

Percentile

15.7%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/media/v4l2-core/v4l2-async.c"
    ],
    "versions": [
      {
        "version": "b8ec754ae4c5",
        "lessThan": "a80d1da923f6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b8ec754ae4c5",
        "lessThan": "44f6d619c30f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b8ec754ae4c5",
        "lessThan": "6d8acd02c4c6",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/media/v4l2-core/v4l2-async.c"
    ],
    "versions": [
      {
        "version": "6.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.6",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.34",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.5",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10-rc1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2024-39464