CVE-2024-50070

MEDIUM EPSS 10.7%
Published Oct 29, 20241y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Oct 29, 2024 1y ago
Last Modified Jun 17, 2026 1w ago

Description

In the Linux kernel, the following vulnerability has been resolved: pinctrl: stm32: check devm_kasprintf() returned value devm_kasprintf() can return a NULL pointer on failure but this returned value is not checked. Fix this lack and check the returned value. Found by code review.

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
10.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-476 NULL Pointer Dereference Memory Safety

Affected Products 5

VendorProductVersionRange
linuxlinux_kernel*≥6.6  –  <6.6.58
linuxlinux_kernel*≥6.7  –  <6.11.5
linuxlinux_kernel6.12any
linuxlinux_kernel6.12any
linuxlinux_kernel6.12any

References 4

  • git.kernel.org https://git.kernel.org/stable/c/1f266957ae1207b0717c2d69096bc70654ae9fcb
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/3b36bb1fca2b87f6292ca2a8593f297c5e9fab41
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a8d52de0a6c6b091b2771bcb98ce408cf9d69fe3
  • git.kernel.org https://git.kernel.org/stable/c/b0f0e3f0552a566def55c844b0d44250c58e4df6
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/1f266957ae1207b0717c2d69096bc70654ae9fcb
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/3b36bb1fca2b87f6292ca2a8593f297c5e9fab41
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b0f0e3f0552a566def55c844b0d44250c58e4df6
    Patch