FKIE_CVE-2026-142916
Vulnerability from fkie_nvd - Published: 2026-12-03 04:18 - Updated: 2026-12-03 04:18| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"arch/powerpc/include/asm/interrupt.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "94bf70c51f3766222d83b86f911f04dd49897e61",
"status": "affected",
"version": "bee25f97ad24641df55cb3887eb5bfcb2b9d8fbc",
"versionType": "git"
},
{
"lessThan": "8fa763bc3ee9bd215476ab91ee480c649eaa4b29",
"status": "affected",
"version": "bee25f97ad24641df55cb3887eb5bfcb2b9d8fbc",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"arch/powerpc/include/asm/interrupt.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "7.2"
},
{
"lessThan": "7.2",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.6",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc: fix NMI exit ordering: restore soft masks after irqentry_nmi_exit()\n\nWhen running with CONFIG_PPC_IRQ_SOFT_MASK_DEBUG=y and LOCKDEP=y, an\nOops is triggered during NMI exit:\n\n [ 202.258332] Oops: Exception in kernel mode, sig: 4 [#1]\n NIP [000000000003e178] 0x3e178\n LR [c00000000003e174] arch_local_irq_restore+0x2a4/0x328\n TRAP: 0700 MSR: 0000000000081000 \u003cME\u003e\n\nThe faulting instruction at NIP is a \u0027trap\u0027 (0fe00000) inside the\nrfi_flush_fallback trampoline at a userspace-looking low address, reached\nafter a bad rfid caused by an incorrect SRR0 value.\n\nRoot cause:\nDEFINE_INTERRUPT_HANDLER_NMI used to call arch_interrupt_nmi_exit_prepare()\n*before* irqentry_nmi_exit(), giving this sequence:\n\n arch_interrupt_nmi_enter_prepare() // saves irq_soft_mask, irq_happened\n irqentry_nmi_enter() // __nmi_enter() -\u003e nmi_count++, in_nmi()=true\n ____func(regs) // NMI handler body\n arch_interrupt_nmi_exit_prepare() // RESTORES irq_soft_mask=0 (IRQS_ENABLED)\n // RESTORES irq_happened with pending bits\n irqentry_nmi_exit() // instrumentation block runs here...\n trace_hardirqs_on_prepare() // ...with in_nmi()==true still\n lockdep_hardirqs_on_prepare() // ...and irq_soft_mask already restored to 0\n -\u003e arch_local_irq_restore(0) // mask=0 -\u003e enable path entered\n WARN_ON_ONCE(in_nmi()) // FIRES: __nmi_exit() hasn\u0027t run yet\n __nmi_exit() // nmi_count-- (too late)\n\narch_interrupt_nmi_exit_prepare() restores irq_soft_mask to whatever\nthe interrupted thread had (IRQS_ENABLED / 0) and restores irq_happened\nwith any pending deferred-interrupt bits that were present when the NMI\nfired. This is correct and necessary before rfid back to the interrupted\ncontext, but it must not happen until irqentry_nmi_exit() has fully\ncompleted.\n\nWith irq_soft_mask=0 and pending bits in irq_happened, the\ntrace_hardirqs_on_prepare() call inside irqentry_nmi_exit()\u0027s\ninstrumentation block reaches lockdep_hardirqs_on_prepare() which\ncalls __trace_hardirqs_on_caller(), which eventually calls\narch_local_irq_restore(0) (the IRQS_ENABLED / enable path).\n\narch_local_irq_restore() with mask=0 hits the CONFIG_PPC_IRQ_SOFT_MASK_DEBUG\nguards at irq_64.c:217:\n\n WARN_ON_ONCE(in_nmi()); // TRUE: __nmi_exit() not yet called\n\nThe WARN_ON_ONCE fires a \u0027trap\u0027 instruction (tw 31,0,0 / 0fe00000) in\nkernel mode with MSR_PR=0, MSR_IR=0 (real-mode). The program check\nhandler (TRAP 0700) takes the sig:4 (SIGILL) path via do_program_check()\nand calls die(), producing the Oops.\n\nThe RESTART_TABLE mechanism in arch_local_irq_restore then causes the\nbad rfid that lands at the userspace-looking address visible in the NIP.\n\nThe bug is invisible with LOCKDEP=n because trace_hardirqs_on_prepare()\nis a no-op when CONFIG_TRACE_IRQFLAGS is not set (TRACE_IRQFLAGS is\nselected by PROVE_LOCKING which selects LOCKDEP).\n\nFix:\nMove arch_interrupt_nmi_exit_prepare() to after the irqentry_nmi_exit()\nblock, so that:\n\n irqentry_nmi_exit() // __nmi_exit() -\u003e nmi_count--, in_nmi()=false\n arch_interrupt_nmi_exit_prepare() // now safe to restore soft mask state\n\nThe instrumentation inside irqentry_nmi_exit() now executes while\nin_nmi() is still true (nmi_count not yet decremented), but\nirq_soft_mask is still IRQS_ALL_DISABLED (NMI-entry value), so\narch_local_irq_restore() is never called with mask=0 from that path.\nAfter __nmi_exit() returns, arch_interrupt_nmi_exit_prepare() restores\nthe pre-NMI soft mask and irq_happened, which is the correct state for\nthe rfid back to the interrupted context."
}
],
"id": "CVE-2026-142916",
"lastModified": "2026-12-03T04:18:31.687",
"metrics": {},
"published": "2026-12-03T04:18:31.687",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/8fa763bc3ee9bd215476ab91ee480c649eaa4b29"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/94bf70c51f3766222d83b86f911f04dd49897e61"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
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.
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
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.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.