5.3

CVE-2024-35878: of: module: prevent NULL pointer dereference in vsnprintf()

Analyzed
AliasesUBUNTU-CVE-2024-35878DEBIAN-CVE-2024-35878
Published 19-05-2024Last modified 11-05-2026

Vulnerability summary

CVE-2024-35878 is a medium (CVSS 5.3) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 56.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.79%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 26 · Related 25

Timeline

  1. 19-05-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: of: module: prevent NULL pointer dereference in vsnprintf() In of_modalias(), we can get passed the str and len parameters which would cause a kernel oops in vsnprintf() since it only allows passing a NULL ptr when the length is also 0. Also, we need to filter out the negative values of the len parameter as these will result in a really huge buffer since snprintf() takes size_t parameter while ours is ssize_t... Found by Linux Verification Center (linuxtesting.org) with the Svace static analysis tool.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.79%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.79% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu90 products
  • linux< 6.8.0-38.38
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1011.12
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ bd7a7ed774afd1a4174df34227626c95573be517, < e4a449368a2ce6d57a775d0ead27fc07f5a86e5b | ≥ bd7a7ed774afd1a4174df34227626c95573be517, < 544561dc56f7e69a053c25e11e6170f48bb97898 | ≥ bd7a7ed774afd1a4174df34227626c95573be517, < a1aa5390cc912934fee76ce80af5f940452fa987 | 6.4
  • linux_kernel< 6.6.26 | ≥ 6.7, < 6.8.5 | 6.9:rc1 | 6.9:rc2
Debian1 product
  • linux< 6.8.9-1

3 vendors · 93 products

References

11 links
Show all 11 references