Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-38637
HistoryJun 21, 2024 - 11:15 a.m.

CVE-2024-38637

2024-06-2111:15:12
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
24
linux kernel
vulnerability
cve-2024-38637
greybus: lights
null pointer dereference

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.1%

In the Linux kernel, the following vulnerability has been resolved:

greybus: lights: check return of get_channel_from_mode

If channel for the given node is not found we return null from
get_channel_from_mode. Make sure we validate the return pointer
before using it in two of the missing places.

This was originally reported in [0]:
Found by Linux Verification Center (linuxtesting.org) with SVACE.

[0] https://lore.kernel.org/all/[email protected]

Affected configurations

Vulners
Node
linuxlinux_kernelRange4.94.19.316
OR
linuxlinux_kernelRange4.20.05.4.278
OR
linuxlinux_kernelRange5.5.05.10.219
OR
linuxlinux_kernelRange5.11.05.15.161
OR
linuxlinux_kernelRange5.16.06.1.93
OR
linuxlinux_kernelRange6.2.06.6.33
OR
linuxlinux_kernelRange6.7.06.9.4
OR
linuxlinux_kernelRange6.10.06.10-rc1

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/staging/greybus/light.c"
    ],
    "versions": [
      {
        "version": "2870b52bae4c",
        "lessThan": "8f4a76d477f0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2870b52bae4c",
        "lessThan": "e2c64246e5dc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2870b52bae4c",
        "lessThan": "eac10cf3a97f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2870b52bae4c",
        "lessThan": "330f6bcdcef0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2870b52bae4c",
        "lessThan": "9b41a9b9c8be",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2870b52bae4c",
        "lessThan": "518e2c46b5db",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2870b52bae4c",
        "lessThan": "895cdd9aa954",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2870b52bae4c",
        "lessThan": "a1ba19a1ae7c",
        "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/staging/greybus/light.c"
    ],
    "versions": [
      {
        "version": "4.9",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.9",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.316",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.278",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.219",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.161",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.93",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.33",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.4",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10-rc1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.1%