Bug 2454842 (CVE-2026-23475) - CVE-2026-23475 kernel: spi: fix statistics allocation
Summary: CVE-2026-23475 kernel: spi: fix statistics allocation
Keywords:
Status: NEW
Alias: CVE-2026-23475
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-03 16:03 UTC by OSIDB Bzimport
Modified: 2026-07-02 16:56 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-03 16:03:45 UTC
In the Linux kernel, the following vulnerability has been resolved:

spi: fix statistics allocation

The controller per-cpu statistics is not allocated until after the
controller has been registered with driver core, which leaves a window
where accessing the sysfs attributes can trigger a NULL-pointer
dereference.

Fix this by moving the statistics allocation to controller allocation
while tying its lifetime to that of the controller (rather than using
implicit devres).

Comment 1 Jon Moroney 2026-04-03 18:03:21 UTC Comment hidden (spam)

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