GHSA-MH76-8WXP-345H

Vulnerability from github – Published: 2026-09-24 18:31 – Updated: 2026-09-24 18:31
VLAI
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.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-93261"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-09-24T16:17:22Z",
    "severity": null
  },
  "details": "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.",
  "id": "GHSA-mh76-8wxp-345h",
  "modified": "2026-09-24T18:31:25Z",
  "published": "2026-09-24T18:31:24Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-93261"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/59a5c7dd331a3dab48100e1ef8e9bb4f9132a2b2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5c3bff6cf26e6a54fbf8b893a879c32824d2d50d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7577e00b9ab506202b9f1a33de3cc8cc6413a4db"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9be10f49dfc2e4b472b3a5f346483b67374774b8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b2113dcd8238bf00ce37a34e67b29cf31d32a545"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e7c69c6695d84220847cca62a45e879e71e79e9d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f56e54fd24f05e9de528fcb77f6084f80c8066ce"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f6093ff67ea6e347574819ed23e96e0f82a25ffc"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…