# CVE-2026-93261: locking/lockdep: Fix NULL pointer dereference in \_\_lock\_set\_class()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-24T15:51:59.638Z
- **Modified:** 2026-10-19T10:17:17.410Z

## Who should check

- Anyone running Linux \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< f6093ff67ea6e347574819ed23e96e0f82a25ffc; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< 59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< f56e54fd24f05e9de528fcb77f6084f80c8066ce; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< 5c3bff6cf26e6a54fbf8b893a879c32824d2d50d; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< b2113dcd8238bf00ce37a34e67b29cf31d32a545; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< e7c69c6695d84220847cca62a45e879e71e79e9d; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< 9be10f49dfc2e4b472b3a5f346483b67374774b8; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< 7577e00b9ab506202b9f1a33de3cc8cc6413a4db
- Anyone running Linux 2.6.27

## 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 and fixed versions

- Linux: \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< f6093ff67ea6e347574819ed23e96e0f82a25ffc; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< 59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< f56e54fd24f05e9de528fcb77f6084f80c8066ce; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< 5c3bff6cf26e6a54fbf8b893a879c32824d2d50d; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< b2113dcd8238bf00ce37a34e67b29cf31d32a545; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< e7c69c6695d84220847cca62a45e879e71e79e9d; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< 9be10f49dfc2e4b472b3a5f346483b67374774b8; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< 7577e00b9ab506202b9f1a33de3cc8cc6413a4db (cvelist)
- Linux: 2.6.27 (cvelist)

## Mitigation

- Upgrade Linux to 7577e00b9ab506202b9f1a33de3cc8cc6413a4db or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93261. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93261.md
Affected: Linux >= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, < f6093ff67ea6e347574819ed23e96e0f82a25ffc; >= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, < 59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2; >= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, < f56e54fd24f05e9de528fcb77f6084f80c8066ce; >= 64aa348edc617dea17bbd01…
Fixed in: Linux 59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2, Linux 5c3bff6cf26e6a54fbf8b893a879c32824d2d50d, Linux 9be10f49dfc2e4b472b3a5f346483b67374774b8, Linux 7577e00b9ab506202b9f1a33de3cc8cc6413a4db

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-93261 being exploited?

There is no confirmed exploitation: CVE-2026-93261 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93261?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-93261?

Linux \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< f6093ff67ea6e347574819ed23e96e0f82a25ffc; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< 59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< f56e54fd24f05e9de528fcb77f6084f80c8066ce; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< 5c3bff6cf26e6a54fbf8b893a879c32824d2d50d; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< b2113dcd8238bf00ce37a34e67b29cf31d32a545; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< e7c69c6695d84220847cca62a45e879e71e79e9d; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< 9be10f49dfc2e4b472b3a5f346483b67374774b8; \>= 64aa348edc617dea17bbd01ddee4e47886d5ec8c, \< 7577e00b9ab506202b9f1a33de3cc8cc6413a4db; Linux 2.6.27.

### Is there a fix for CVE-2026-93261?

Yes. Fixed in Linux 59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2, Linux 5c3bff6cf26e6a54fbf8b893a879c32824d2d50d, Linux 9be10f49dfc2e4b472b3a5f346483b67374774b8, Linux 7577e00b9ab506202b9f1a33de3cc8cc6413a4db. Upgrade Linux to 7577e00b9ab506202b9f1a33de3cc8cc6413a4db or later.

### How do I check if I'm affected by CVE-2026-93261?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f6093ff67ea6e347574819ed23e96e0f82a25ffc>
- other: <https://git.kernel.org/stable/c/59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2>
- other: <https://git.kernel.org/stable/c/f56e54fd24f05e9de528fcb77f6084f80c8066ce>
- other: <https://git.kernel.org/stable/c/5c3bff6cf26e6a54fbf8b893a879c32824d2d50d>
- other: <https://git.kernel.org/stable/c/b2113dcd8238bf00ce37a34e67b29cf31d32a545>
- other: <https://git.kernel.org/stable/c/e7c69c6695d84220847cca62a45e879e71e79e9d>
- other: <https://git.kernel.org/stable/c/9be10f49dfc2e4b472b3a5f346483b67374774b8>
- other: <https://git.kernel.org/stable/c/7577e00b9ab506202b9f1a33de3cc8cc6413a4db>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93261>

HTML: <https://flawdb.com/CVE-2026-93261> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93261>
