CVE-2026-93261

Source
https://cve.org/CVERecord?id=CVE-2026-93261
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93261.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-93261
Downstream
Published
2026-09-24T15:51:59Z
Modified
2026-09-25T03:48:54Z
Summary
locking/lockdep: Fix NULL pointer dereference in __lock_set_class()
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93261.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64aa348edc617dea17bbd01ddee4e47886d5ec8c
Fixed
f6093ff67ea6e347574819ed23e96e0f82a25ffc
Fixed
59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2
Fixed
f56e54fd24f05e9de528fcb77f6084f80c8066ce
Fixed
5c3bff6cf26e6a54fbf8b893a879c32824d2d50d
Fixed
b2113dcd8238bf00ce37a34e67b29cf31d32a545
Fixed
e7c69c6695d84220847cca62a45e879e71e79e9d
Fixed
9be10f49dfc2e4b472b3a5f346483b67374774b8
Fixed
7577e00b9ab506202b9f1a33de3cc8cc6413a4db

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93261.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.27
Fixed
5.10.270
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.221
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.188
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.157
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.110
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.52
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93261.json"