CVE-2025-38160

MEDIUM EPSS 4.3%
Published Jul 3, 202512mo ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Jul 3, 2025 12mo ago
Last Modified Jun 17, 2026 1w ago

Description

In the Linux kernel, the following vulnerability has been resolved: clk: bcm: rpi: Add NULL check in raspberrypi_clk_register() devm_kasprintf() returns NULL when memory allocation fails. Currently, raspberrypi_clk_register() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
4.3% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-476 NULL Pointer Dereference Memory Safety

Affected Products 7

VendorProductVersionRange
linuxlinux_kernel*≥5.9  –  <5.10.239
linuxlinux_kernel*≥5.11  –  <5.15.186
linuxlinux_kernel*≥5.16  –  <6.1.142
linuxlinux_kernel*≥6.2  –  <6.6.94
linuxlinux_kernel*≥6.7  –  <6.12.34
linuxlinux_kernel*≥6.13  –  <6.15.3
debiandebian_linux11.0any

References 9

  • git.kernel.org https://git.kernel.org/stable/c/0a2712cd24ecfeb520af60f6f859b442c7ab01ff
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/1b69a5299f28ce8e6afa37c3690dbc14c3a1f53f
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/3c1adc2f8c732ea09e8c4bce5941fec019c6205d
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/52562161df3567cdaedada46834a7a8d8c4ab737
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/54ce9bcdaee59d4ef0703f390d55708557818f9e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/73c46d9a93d071ca69858dea3f569111b03e549e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/938f625bd3364cfdc93916739add3b637ff90368
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
    Third Party Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
    Third Party Advisory

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/0a2712cd24ecfeb520af60f6f859b442c7ab01ff
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/1b69a5299f28ce8e6afa37c3690dbc14c3a1f53f
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/3c1adc2f8c732ea09e8c4bce5941fec019c6205d
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/52562161df3567cdaedada46834a7a8d8c4ab737
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/54ce9bcdaee59d4ef0703f390d55708557818f9e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/73c46d9a93d071ca69858dea3f569111b03e549e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/938f625bd3364cfdc93916739add3b637ff90368
    Patch