{"api_version":"1","generated_at":"2026-09-24T17:37:08+00:00","cve":"CVE-2026-93261","urls":{"html":"https://cve.report/CVE-2026-93261","api":"https://cve.report/api/cve/CVE-2026-93261.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-93261","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-93261"},"summary":{"title":"locking/lockdep: Fix NULL pointer dereference in __lock_set_class()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlocking/lockdep: Fix NULL pointer dereference in __lock_set_class()\n\nregister_lock_class() can return NULL when the lock class pool is\nexhausted, graph_lock() fails, or key validation fails. However,\n__lock_set_class() uses the return value directly in pointer arithmetic\nwithout a NULL check:\n\n  class = register_lock_class(lock, subclass, 0);\n  hlock->class_idx = class - lock_classes;\n\nIf class is NULL, this computes a wild offset that corrupts\nhlock->class_idx. The subsequent reacquire_held_locks() call will\ninvoke hlock_class() with this corrupted index, leading to a NULL or\nout-of-bounds pointer dereference.\n\nAdd the missing NULL check, consistent with how __lock_acquire() already\nhandles this case at the same call site.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-24 16:17:22","updated_at":"2026-09-24 16:17:22"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/7577e00b9ab506202b9f1a33de3cc8cc6413a4db","name":"https://git.kernel.org/stable/c/7577e00b9ab506202b9f1a33de3cc8cc6413a4db","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5c3bff6cf26e6a54fbf8b893a879c32824d2d50d","name":"https://git.kernel.org/stable/c/5c3bff6cf26e6a54fbf8b893a879c32824d2d50d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f56e54fd24f05e9de528fcb77f6084f80c8066ce","name":"https://git.kernel.org/stable/c/f56e54fd24f05e9de528fcb77f6084f80c8066ce","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9be10f49dfc2e4b472b3a5f346483b67374774b8","name":"https://git.kernel.org/stable/c/9be10f49dfc2e4b472b3a5f346483b67374774b8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e7c69c6695d84220847cca62a45e879e71e79e9d","name":"https://git.kernel.org/stable/c/e7c69c6695d84220847cca62a45e879e71e79e9d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f6093ff67ea6e347574819ed23e96e0f82a25ffc","name":"https://git.kernel.org/stable/c/f6093ff67ea6e347574819ed23e96e0f82a25ffc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2","name":"https://git.kernel.org/stable/c/59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b2113dcd8238bf00ce37a34e67b29cf31d32a545","name":"https://git.kernel.org/stable/c/b2113dcd8238bf00ce37a34e67b29cf31d32a545","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-93261","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93261","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 64aa348edc617dea17bbd01ddee4e47886d5ec8c f6093ff67ea6e347574819ed23e96e0f82a25ffc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 64aa348edc617dea17bbd01ddee4e47886d5ec8c 59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 64aa348edc617dea17bbd01ddee4e47886d5ec8c f56e54fd24f05e9de528fcb77f6084f80c8066ce git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 64aa348edc617dea17bbd01ddee4e47886d5ec8c 5c3bff6cf26e6a54fbf8b893a879c32824d2d50d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 64aa348edc617dea17bbd01ddee4e47886d5ec8c b2113dcd8238bf00ce37a34e67b29cf31d32a545 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 64aa348edc617dea17bbd01ddee4e47886d5ec8c e7c69c6695d84220847cca62a45e879e71e79e9d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 64aa348edc617dea17bbd01ddee4e47886d5ec8c 9be10f49dfc2e4b472b3a5f346483b67374774b8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 64aa348edc617dea17bbd01ddee4e47886d5ec8c 7577e00b9ab506202b9f1a33de3cc8cc6413a4db git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.27","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.27 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.270 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.221 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.188 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.157 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.110 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.52 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.6 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/locking/lockdep.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"f6093ff67ea6e347574819ed23e96e0f82a25ffc","status":"affected","version":"64aa348edc617dea17bbd01ddee4e47886d5ec8c","versionType":"git"},{"lessThan":"59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2","status":"affected","version":"64aa348edc617dea17bbd01ddee4e47886d5ec8c","versionType":"git"},{"lessThan":"f56e54fd24f05e9de528fcb77f6084f80c8066ce","status":"affected","version":"64aa348edc617dea17bbd01ddee4e47886d5ec8c","versionType":"git"},{"lessThan":"5c3bff6cf26e6a54fbf8b893a879c32824d2d50d","status":"affected","version":"64aa348edc617dea17bbd01ddee4e47886d5ec8c","versionType":"git"},{"lessThan":"b2113dcd8238bf00ce37a34e67b29cf31d32a545","status":"affected","version":"64aa348edc617dea17bbd01ddee4e47886d5ec8c","versionType":"git"},{"lessThan":"e7c69c6695d84220847cca62a45e879e71e79e9d","status":"affected","version":"64aa348edc617dea17bbd01ddee4e47886d5ec8c","versionType":"git"},{"lessThan":"9be10f49dfc2e4b472b3a5f346483b67374774b8","status":"affected","version":"64aa348edc617dea17bbd01ddee4e47886d5ec8c","versionType":"git"},{"lessThan":"7577e00b9ab506202b9f1a33de3cc8cc6413a4db","status":"affected","version":"64aa348edc617dea17bbd01ddee4e47886d5ec8c","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/locking/lockdep.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.27"},{"lessThan":"2.6.27","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.270","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.221","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.188","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.157","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.110","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.52","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.270","versionStartIncluding":"2.6.27","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.221","versionStartIncluding":"2.6.27","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.188","versionStartIncluding":"2.6.27","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.157","versionStartIncluding":"2.6.27","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.110","versionStartIncluding":"2.6.27","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.52","versionStartIncluding":"2.6.27","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"2.6.27","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"2.6.27","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlocking/lockdep: Fix NULL pointer dereference in __lock_set_class()\n\nregister_lock_class() can return NULL when the lock class pool is\nexhausted, graph_lock() fails, or key validation fails. However,\n__lock_set_class() uses the return value directly in pointer arithmetic\nwithout a NULL check:\n\n  class = register_lock_class(lock, subclass, 0);\n  hlock->class_idx = class - lock_classes;\n\nIf class is NULL, this computes a wild offset that corrupts\nhlock->class_idx. The subsequent reacquire_held_locks() call will\ninvoke hlock_class() with this corrupted index, leading to a NULL or\nout-of-bounds pointer dereference.\n\nAdd the missing NULL check, consistent with how __lock_acquire() already\nhandles this case at the same call site."}],"providerMetadata":{"dateUpdated":"2026-09-24T15:51:59.638Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/f6093ff67ea6e347574819ed23e96e0f82a25ffc"},{"url":"https://git.kernel.org/stable/c/59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2"},{"url":"https://git.kernel.org/stable/c/f56e54fd24f05e9de528fcb77f6084f80c8066ce"},{"url":"https://git.kernel.org/stable/c/5c3bff6cf26e6a54fbf8b893a879c32824d2d50d"},{"url":"https://git.kernel.org/stable/c/b2113dcd8238bf00ce37a34e67b29cf31d32a545"},{"url":"https://git.kernel.org/stable/c/e7c69c6695d84220847cca62a45e879e71e79e9d"},{"url":"https://git.kernel.org/stable/c/9be10f49dfc2e4b472b3a5f346483b67374774b8"},{"url":"https://git.kernel.org/stable/c/7577e00b9ab506202b9f1a33de3cc8cc6413a4db"}],"title":"locking/lockdep: Fix NULL pointer dereference in __lock_set_class()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-93261","datePublished":"2026-09-24T15:51:59.638Z","dateReserved":"2026-09-17T16:02:15.097Z","dateUpdated":"2026-09-24T15:51:59.638Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-24 16:17:22","lastModifiedDate":"2026-09-24 16:17:22","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"93261","Ordinal":"1","Title":"locking/lockdep: Fix NULL pointer dereference in __lock_set_clas","CVE":"CVE-2026-93261","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"93261","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nlocking/lockdep: Fix NULL pointer dereference in __lock_set_class()\n\nregister_lock_class() can return NULL when the lock class pool is\nexhausted, graph_lock() fails, or key validation fails. However,\n__lock_set_class() uses the return value directly in pointer arithmetic\nwithout a NULL check:\n\n  class = register_lock_class(lock, subclass, 0);\n  hlock->class_idx = class - lock_classes;\n\nIf class is NULL, this computes a wild offset that corrupts\nhlock->class_idx. The subsequent reacquire_held_locks() call will\ninvoke hlock_class() with this corrupted index, leading to a NULL or\nout-of-bounds pointer dereference.\n\nAdd the missing NULL check, consistent with how __lock_acquire() already\nhandles this case at the same call site.","Type":"Description","Title":"locking/lockdep: Fix NULL pointer dereference in __lock_set_clas"}]}}}