CVE-2026-93261 (GCVE-0-2026-93261)
Vulnerability from cvelistv5
Published
2026-09-24 15:51
Modified
2026-10-19 09:08
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 64aa348edc617dea17bbd01ddee4e47886d5ec8c
Version: 64aa348edc617dea17bbd01ddee4e47886d5ec8c
Version: 64aa348edc617dea17bbd01ddee4e47886d5ec8c
Version: 64aa348edc617dea17bbd01ddee4e47886d5ec8c
Version: 64aa348edc617dea17bbd01ddee4e47886d5ec8c
Version: 64aa348edc617dea17bbd01ddee4e47886d5ec8c
Version: 64aa348edc617dea17bbd01ddee4e47886d5ec8c
Version: 64aa348edc617dea17bbd01ddee4e47886d5ec8c
Create a notification for this product.
Show details on NVD website


{
  "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",
              "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",
                  "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-\u003eclass_idx = class - lock_classes;\n\nIf class is NULL, this computes a wild offset that corrupts\nhlock-\u003eclass_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-10-19T09:08:14.521Z",
        "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-10-19T09:08:14.521Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…