cve-2026-31487

About this tag
CVE-2026-31487 is a Linux kernel security vulnerability involving a use-after-free risk in the SPI subsystem. The flaw occurs when __driver_attach calls a bus match callback without holding the device lock, creating a race condition. The fix moves SPI to the generic driver_override infrastructure, which handles locking internally and closes the race. This CVE is now public in Microsoft's update guide, and the underlying issue is described in the Linux kernel changelog. The tag covers discussions about the vulnerability, its fix, and related kernel security updates.
  1. CVE-2026-31487 Fix: SPI Driver Override Race Leads to Use-After-Free

    Linux has published another small but important kernel security fix in CVE-2026-31487, and on the surface it looks like the kind of change that only kernel maintainers and driver authors would notice. Underneath that modest title, though, lies a classic use-after-free risk in the SPI subsystem...