Lucene search

K
cveLinuxCVE-2024-42100
HistoryJul 30, 2024 - 8:15 a.m.

CVE-2024-42100

2024-07-3008:15:02
Linux
web.nvd.nist.gov
27
linux
kernel
vulnerability
sunxi-ng
clk
invalid pointer
de-references
rate range

AI Score

6.4

Confidence

High

EPSS

0

Percentile

16.2%

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

clk: sunxi-ng: common: Don’t call hw_to_ccu_common on hw without common

In order to set the rate range of a hw sunxi_ccu_probe calls
hw_to_ccu_common() assuming all entries in desc->ccu_clks are contained
in a ccu_common struct. This assumption is incorrect and, in
consequence, causes invalid pointer de-references.

Remove the faulty call. Instead, add one more loop that iterates over
the ccu_clks and sets the rate range, if required.

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.96.6.39
OR
linuxlinux_kernelRange6.7.06.9.9
OR
linuxlinux_kernelRange6.10.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/clk/sunxi-ng/ccu_common.c"
    ],
    "versions": [
      {
        "version": "547263745e15",
        "lessThan": "14c78d69dbca",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b914ec33b391",
        "lessThan": "7a0e2738cb6d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b914ec33b391",
        "lessThan": "ea977d742507",
        "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/clk/sunxi-ng/ccu_common.c"
    ],
    "versions": [
      {
        "version": "6.9",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.9",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.39",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.9",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.4

Confidence

High

EPSS

0

Percentile

16.2%