LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 5.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2024-35878 is a Linux kernel flaw that can crash affected systems by triggering a NULL pointer dereference in Open Firmware module alias handling. The published impact is availability only: no confidentiality or integrity impact is reported.

Executive priority

Treat this as a moderate availability risk. It is not described as data theft or privilege escalation, but unauthenticated network reachability in the CVSS vector makes patch tracking important for exposed or critical Linux services.

Technical view

The flaw is in of_modalias(), where invalid str and len parameters can reach vsnprintf(). NULL with nonzero length can cause an oops, and negative ssize_t lengths can become very large size_t values in snprintf-style handling. Upstream stable commits add parameter filtering.

Likely exposure

Exposure depends on whether systems run affected Linux kernel versions or downstream vendor kernels containing the vulnerable Open Firmware module code. The bundle lists Linux kernel 6.4 and affected ranges ending around 6.6.26, 6.8.5, and 6.9, but distro backport status must be checked.

Exploitation context

The CVSS vector is network, low complexity, no privileges, and no user interaction, with low availability impact. The source bundle does not identify public exploitation, proof-of-concept activity, or CISA KEV listing.

Researcher notes

Evidence is limited to the CVE record and upstream Linux stable references. The root cause is improper validation around of_modalias() parameters before formatted output handling. Avoid assuming exploitability beyond the published CVSS and availability impact.

Mitigation direction

  • Apply Linux kernel updates containing the referenced upstream stable commits.
  • Check distribution advisories for backported fixes matching your kernel package.
  • Prioritize internet-facing or availability-sensitive Linux systems first.
  • If no vendor package is available, follow vendor guidance for supported kernel upgrade paths.

Validation and detection

  • Inventory running kernel versions across Linux hosts.
  • Compare installed kernel packages against vendor advisories for CVE-2024-35878.
  • Confirm patched kernels include the relevant upstream stable fixes or backports.
  • Review monitoring for unexplained kernel oops or crash events on affected systems.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-476: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2024-35878 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L3.91.4CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

5.3Medium
CVSS 3.1 vector shape for CVE-2024-35878Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxbd7a7ed774afd1a4174df34227626c95573be517, bd7a7ed774afd1a4174df34227626c95573be517, bd7a7ed774afd1a4174df34227626c95573be517unaffected
LinuxLinux6.4, 0, 6.6.26, 6.8.5, 6.9affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-476 · source CWE mapping

NULL Pointer Dereference

NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.