CVE-2026-93261

locking/lockdep: Fix NULL pointer dereference in __lock_set_class()

N/A
Published: September 24, 2026 at 03:51 PM UTC
Updated: October 19, 2026 at 10:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: locking/lockdep: Fix NULL pointer dereference in __lock_set_class() register_lock_class() can return NULL when the lock class pool is exhausted, graph_lock() fails, or key validation fails. However, __lock_set_class() uses the return value directly in pointer arithmetic without a NULL check: class = register_lock_class(lock, subclass, 0); hlock->class_idx = class - lock_classes; If class is NULL, this computes a wild offset that corrupts hlock->class_idx. The subsequent reacquire_held_locks() call will invoke hlock_class() with this corrupted index, leading to a NULL or out-of-bounds pointer dereference. Add the missing NULL check, consistent with how __lock_acquire() already handles this case at the same call site.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.2764aa348edc617dea17bbd01ddee4e47886d5ec8c
Vendor states this is fixed in 59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2 (fixed)
Vendor states this is fixed in 5c3bff6cf26e6a54fbf8b893a879c32824d2d50d (fixed)
Vendor states this is fixed in 7577e00b9ab506202b9f1a33de3cc8cc6413a4db (fixed)
Vendor states this is fixed in 9be10f49dfc2e4b472b3a5f346483b67374774b8 (fixed)
Vendor states this is fixed in b2113dcd8238bf00ce37a34e67b29cf31d32a545 (fixed)
Vendor states this is fixed in e7c69c6695d84220847cca62a45e879e71e79e9d (fixed)
Vendor states this is fixed in f56e54fd24f05e9de528fcb77f6084f80c8066ce (fixed)
Vendor states this is fixed in f6093ff67ea6e347574819ed23e96e0f82a25ffc (fixed)
Vendor states this is fixed in 2.6.27 (unaffected)
Vendor states this is fixed in 5.10.270 (unaffected)
Vendor states this is fixed in 5.15.221 (unaffected)
Vendor states this is fixed in 6.1.188 (unaffected)
Vendor states this is fixed in 6.12.110 (unaffected)
Vendor states this is fixed in 6.18.52 (unaffected)
Vendor states this is fixed in 6.6.157 (unaffected)
Vendor states this is fixed in 7.2.6 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card