CVE-2026-93261
locking/lockdep: Fix NULL pointer dereference in __lock_set_class()
Check your servers for CVE-2026-93261
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-93261 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.27% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 64aa348edc617dea17bbd01ddee4e47886d5ec8c, before f6093ff67ea6e347574819ed23e96e0f82a25ffc affected from 64aa348edc617dea17bbd01ddee4e47886d5ec8c, before 59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2 affected from 64aa348edc617dea17bbd01ddee4e47886d5ec8c, before f56e54fd24f05e9de528fcb77f6084f80c8066ce affected from 64aa348edc617dea17bbd01ddee4e47886d5ec8c, before 5c3bff6cf26e6a54fbf8b893a879c32824d2d50d affected from 64aa348edc617dea17bbd01ddee4e47886d5ec8c, before b2113dcd8238bf00ce37a34e67b29cf31d32a545 affected from 64aa348edc617dea17bbd01ddee4e47886d5ec8c, before e7c69c6695d84220847cca62a45e879e71e79e9d affected from 64aa348edc617dea17bbd01ddee4e47886d5ec8c, before 9be10f49dfc2e4b472b3a5f346483b67374774b8 affected from 64aa348edc617dea17bbd01ddee4e47886d5ec8c, before 7577e00b9ab506202b9f1a33de3cc8cc6413a4db
Other versions: unaffected
|
| Linux |
affected 2.6.27 unaffected before 2.6.27 unaffected from 5.10.270 up to and including 5.10.* unaffected from 5.15.221 up to and including 5.15.* unaffected from 6.1.188 up to and including 6.1.* unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.52 up to and including 6.18.* unaffected from 7.2.6 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-93261 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-93261
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-93261
trivy image --scanners vuln IMAGE | grep CVE-2026-93261
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f6093ff67ea6e347574819ed23e96e0f82a25ffc git.kernel.org
- https://git.kernel.org/stable/c/59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2 git.kernel.org
- https://git.kernel.org/stable/c/f56e54fd24f05e9de528fcb77f6084f80c8066ce git.kernel.org
- https://git.kernel.org/stable/c/5c3bff6cf26e6a54fbf8b893a879c32824d2d50d git.kernel.org
- https://git.kernel.org/stable/c/b2113dcd8238bf00ce37a34e67b29cf31d32a545 git.kernel.org
- https://git.kernel.org/stable/c/e7c69c6695d84220847cca62a45e879e71e79e9d git.kernel.org
- https://git.kernel.org/stable/c/9be10f49dfc2e4b472b3a5f346483b67374774b8 git.kernel.org
- https://git.kernel.org/stable/c/7577e00b9ab506202b9f1a33de3cc8cc6413a4db git.kernel.org
Source: the record CVE-2026-93261 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse