cveboard RSS feed

CVE-2024-35878

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2024
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
bd7a7ed774afd1a4174df34227626c95573be517affectedgite4a449368a2ce6d57a775d0ead27fc07f5a86e5bUnavailableNone listed
bd7a7ed774afd1a4174df34227626c95573be517affectedgit544561dc56f7e69a053c25e11e6170f48bb97898UnavailableNone listed
bd7a7ed774afd1a4174df34227626c95573be517affectedgita1aa5390cc912934fee76ce80af5f940452fa987UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
6.4affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver6.4UnavailableNone listed
6.6.26unaffectedsemverUnavailable6.6.*None listed
6.8.5unaffectedsemverUnavailable6.8.*None listed
6.9unaffectedoriginal_commit_for_fixUnavailable*None listed