Bug 2281718 (CVE-2024-35878) - CVE-2024-35878 kernel: of: module: prevent NULL pointer dereference in vsnprintf()
Summary: CVE-2024-35878 kernel: of: module: prevent NULL pointer dereference in vsnpri...
Keywords:
Status: NEW
Alias: CVE-2024-35878
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2281719
Blocks: 2281792
TreeView+ depends on / blocked
 
Reported: 2024-05-20 12:20 UTC by ybuenos
Modified: 2024-11-12 09:30 UTC (History)
49 users (show)

Fixed In Version: kernel 6.6.26, kernel 6.8.5, kernel 6.9
Doc Type: If docs needed, set a value
Doc Text:
A null pointer dereference vulnerability was found in vsnprintf when str and len parameters are passed to vsnprintf(), which only allows passing a NULL ptr when the length is 0. This issue can result in a crash and damage to availability.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:9315 0 None None None 2024-11-12 09:30:38 UTC

Description ybuenos 2024-05-20 12:20:49 UTC
In the Linux kernel, the following vulnerability has been resolved:

of: module: prevent NULL pointer dereference in vsnprintf()

The Linux kernel CVE team has assigned CVE-2024-35878 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024051943-CVE-2024-35878-5af8@gregkh/T

Comment 1 ybuenos 2024-05-20 12:21:35 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2281719]

Comment 3 Alex 2024-06-09 15:31:51 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-35878 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags NULLPTR SIMPLEFIX  ; these flags parsed automatically based on patche data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.

Comment 9 errata-xmlrpc 2024-11-12 09:30:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:9315 https://access.redhat.com/errata/RHSA-2024:9315


Note You need to log in before you can comment on or make changes to this bug.