GHSA-WWQR-6PQC-978M

Vulnerability from github – Published: 2026-12-03 06:30 – Updated: 2026-12-03 06:30
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

genirq: Move interrupt thread exit_work object to irqaction

irq_thread() registers irq_thread_dtor() as exit task_work using a stack-allocated callback_head. On normal interrupt thread exit, this work gets cancelled and never runs.

On x86, an abnormal interrupt thread exit (e.g. handler oops) discards the stack, including the callback_head, while that callback_head is still pending. By the time exit_task_work() runs, the stack memory formerly backing callback_head is already clobbered.

irq_thread() <-- on_exit_work allocated ** IRQ handler faults ** oops_end() rewind_stack_and_make_dead() <-- on_exit_work freed make_task_dead() do_exit(SIGSEGV) ... exit_shm() <-- on_exit_work clobbered ... exit_task_work() <-- stack use-after-free exit_shm()+0x30 <-- wild jump to return addr

Thus, a benign threaded IRQ oops (e.g. a NULL pointer deref) is turned into a wild jump. This is caught by kernel IBT:

** first fault ** Oops: general protection fault, kernel NULL pointer dereference 0x3c0: 0000 [#1] SMP NOPTI ... ** second fault ** Missing ENDBR: exit_shm+0x30/0x1c0 kernel BUG at arch/x86/kernel/cet.c:133! ... ? task_work_run+0x5c/0x90 ? do_exit+0x209/0x460 ? rewind_stack_and_make_dead+0x16/0x20 ... note: irq/165-AudioDS[1427] exited with irqs disabled Fixing recursive fault but reboot is needed!

Fix this by storing the callback_head in struct irqaction. The irqaction is only freed once irq_thread_dtor() finishes.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-142799"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-12-03T04:18:13Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ngenirq: Move interrupt thread exit_work object to irqaction\n\nirq_thread() registers irq_thread_dtor() as exit task_work using a\nstack-allocated callback_head.  On normal interrupt thread exit, this work\ngets cancelled and never runs.\n\nOn x86, an abnormal interrupt thread exit (e.g. handler oops) discards the\nstack, including the callback_head, while that callback_head is still\npending. By the time exit_task_work() runs, the stack memory formerly\nbacking callback_head is already clobbered.\n\n  irq_thread()                      \u003c-- on_exit_work allocated\n    ** IRQ handler faults **\n    oops_end()\n      rewind_stack_and_make_dead()  \u003c-- on_exit_work freed\n  make_task_dead()\n    do_exit(SIGSEGV)\n      ...\n      exit_shm()                    \u003c-- on_exit_work clobbered\n      ...\n      exit_task_work()              \u003c-- stack use-after-free\n        exit_shm()+0x30             \u003c-- wild jump to return addr\n\nThus, a benign threaded IRQ oops (e.g. a NULL pointer deref) is\nturned into a wild jump. This is caught by kernel IBT:\n\n  ** first fault **\n  Oops: general protection fault, kernel NULL pointer dereference 0x3c0: 0000 [#1] SMP NOPTI\n  ...\n  ** second fault **\n  Missing ENDBR: exit_shm+0x30/0x1c0\n  kernel BUG at arch/x86/kernel/cet.c:133!\n  ...\n   ? task_work_run+0x5c/0x90\n   ? do_exit+0x209/0x460\n   ? rewind_stack_and_make_dead+0x16/0x20\n  ...\n  note: irq/165-AudioDS[1427] exited with irqs disabled\n  Fixing recursive fault but reboot is needed!\n\nFix this by storing the callback_head in struct irqaction.  The irqaction\nis only freed once irq_thread_dtor() finishes.",
  "id": "GHSA-wwqr-6pqc-978m",
  "modified": "2026-12-03T06:30:34Z",
  "published": "2026-12-03T06:30:34Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142799"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/18d9bba2ae291657a87c85eb3a4f82b73147e55e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/48341a13911defd7575b03fac312642151ce0367"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5b2d1b76eec7c5798701a221ba4a6ec9cf5c6f13"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/601d7a4c5405972e71ad97e1086a88900d5f0b0d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/62fa0acd3bd87d6d9a59bbbef101c6fbf3db297d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/89a9e003a2ef73f67dff03dfd59e0a5474b56b0b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ac81f77bdf66de5b089b2f46cd8c202ccd42602c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e1b124226d55bc62b24b8f825b220d9b48b324bc"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    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.