CVE-2026-93261

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

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.

Key facts

Published
24 Sep 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.196% likely to be exploited in the next 30 days, higher than 9.387% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 64aa348edc617dea17bbd01ddee4e47886d5ec8c up to but excluding f6093ff67ea6e347574819ed23e96e0f82a25ffc (affected)
  • 64aa348edc617dea17bbd01ddee4e47886d5ec8c up to but excluding 59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2 (affected)
  • 64aa348edc617dea17bbd01ddee4e47886d5ec8c up to but excluding f56e54fd24f05e9de528fcb77f6084f80c8066ce (affected)
  • 64aa348edc617dea17bbd01ddee4e47886d5ec8c up to but excluding 5c3bff6cf26e6a54fbf8b893a879c32824d2d50d (affected)
  • 64aa348edc617dea17bbd01ddee4e47886d5ec8c up to but excluding b2113dcd8238bf00ce37a34e67b29cf31d32a545 (affected)
  • 64aa348edc617dea17bbd01ddee4e47886d5ec8c up to but excluding e7c69c6695d84220847cca62a45e879e71e79e9d (affected)
  • 64aa348edc617dea17bbd01ddee4e47886d5ec8c up to but excluding 9be10f49dfc2e4b472b3a5f346483b67374774b8 (affected)
  • 64aa348edc617dea17bbd01ddee4e47886d5ec8c up to but excluding 7577e00b9ab506202b9f1a33de3cc8cc6413a4db (affected)
LinuxLinux
  • Default status: affected
  • 2.6.27 (affected)
  • 0 up to but excluding 2.6.27 (unaffected)
  • 5.10.270 up to and including 5.10.* (unaffected)
  • 5.15.221 up to and including 5.15.* (unaffected)
  • 6.1.188 up to and including 6.1.* (unaffected)
  • 6.6.157 up to and including 6.6.* (unaffected)
  • 6.12.110 up to and including 6.12.* (unaffected)
  • 6.18.52 up to and including 6.18.* (unaffected)
  • 7.2.6 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 24 Sep 2026 Published

References