public inbox for [email protected]
 help / color / mirror / Atom feed
This is experimental automated Linux kernel CVE triage research. Results are heuristic and may be incorrect. This site is not an official vendor advisory or severity source.
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [CVE-2026-99447][IMPORTANT] spi: spi-pci1xxxx: quiesce DMA engines on transfer timeout
@ 2026-11-20  2:34 21% AL-KERNEL
  0 siblings, 0 replies; 1+ results
From: AL-KERNEL @ 2026-11-20  2:34 UTC (permalink / raw)
  To: kernel-cve

CVE: CVE-2026-99447
Priority: IMPORTANT
AL-KERNEL base severity: IMPORTANT
KPANIC flag: NO
Patch: spi: spi-pci1xxxx: quiesce DMA engines on transfer timeout
Commit: 733552f8c5f5fdce6b2a135dfa2a05ead9f66e91
Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=733552f8c5f5fdce6b2a135dfa2a05ead9f66e91
Original CVE announcement: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99447
Analysis date: Thu, 19 Nov 2026 22:34:12 -0400
ActionableScore: 4
ActionableScore lower bound: unknown
Actionable bucket: Actionable Moderate / Strong Important candidate requiring manual review
Manual review required: YES

Summary:
A timed-out PCI1XXXX SPI transfer can leave DMA and IRQ processing active, allowing stale transfer and SG state to drive post-free DMA accesses.

======================================================================
ABOUT THIS REPORT
======================================================================

The original Linux kernel CVE announcement for CVE-2026-99447 is available here:
https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99447

The original announcement does not normally provide a security severity
estimate, CVSS assessment, or enough information to determine whether the
reported kernel bug represents a practically relevant security issue.

This report was generated by AL-KERNEL, an AI-assisted Linux kernel
vulnerability analysis system developed by Alexander Larkin. It combines
an autonomous classifier with LLM-assisted technical analysis and a
separate ActionableScore mechanism.

The purpose of this report is to prioritize Linux kernel CVEs before
manual review, identify cases that require prompt investigation, and
support automatic closure of issues that are unlikely to have meaningful
security impact.

Published priority for this report: IMPORTANT
Manual review required: YES

A detailed explanation of the methodology and priority rules is included
at the end of this message.

======================================================================
AL-KERNEL CLASSIFICATION RESULT
======================================================================

CVE-2026-99447	IMPORTANT	https://www.kernelcve.org/list/?q=CVE-2026-99447 CHECK WITH IMPACT FROM ORIG NN LOW | AEGIS IMPACT IMPORTANT AEGIS_AS=6 LEGACY=IMPORTANT RESULT=SAME INDEPENDENT_LEGACY=MODERATE_KPANIC INDEPENDENT_RESULT=DIFF TEMP_KPANIC_MERGE=IMPORTANT_WINS_DISAGREEMENT PRE_MERGE_LEGACY=MODERATE_KPANIC (final reconciliation agrees; DECISION: both IMPORTANT)	Maybe valid. Check manually. Hints by AL-KERNEL: The best (paranoid) CVSS is 'AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H';*CWE-416;CWE-362;*CWE-664;CWE-119;Other CVSS 'AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H';BEST CVSS score: '7';DESCR 'A DMA transfer timeout can return while both PCI1XXXX DMA engines and their done or abort interrupt state remain active. Late DMA interrupts can then dereference p xfer, p tx sgl, or p rx sgl after the SPI core has unmapped, freed, or reused that transfer state. Active DMA may also continue operating on stale buffers, providing a plausible memory corruption path beyond a simple kernel crash, although controlled privilege escalation is not demonstrated. For the CVSS the PR:L value reflects a local user or process that has been granted access to submit transfers through the affected SPI controller. AC:H reflects the need to induce a DMA timeout and obtain a late interrupt or engine activity in the cleanup window. The issue is not directly network reachable and requires PCI1XXXX hardware plus an exposed local SPI consumer. Automated impact decision path. The original SimpleNet classifier selected MODERATE_KPANIC. The primary LLM estimated paranoid CVSS 7 and the production ActionableScore returned 4 with recommendation Actionable Moderate / Strong Important candidate requiring manual review. The production rules then evaluated CVSS thresholds and ActionableScore thresholds. Recorded rule transitions were final reconciliation stage MODERATE_KPANIC to IMPORTANT because KP specialist did not establish a qualifying panic. The legacy KP specialist produced a review artifact and its decision was processed by the applicable KP rules. The legacy FD or DH downgrade specialist has no review artifact for this run. Exact triggered rule markers were TEMP_KPANIC_MERGE_IMPORTANT_WINS and KPANIC_UNSUPPORTED_REMOVED. The independent weaker Aegis shadow evaluated CVSS 4.5 and ActionableScore 6 with primitive class CLASS_B and manual review REQUIRED. Its independently reconciled impact was IMPORTANT. Cross model aggregation changed the production result under an enabled evidence gated merge rule. The final reported impact is IMPORTANT.';YES REQUIRES MANUAL CHECK; ,and ActionableScore result is Actionable Moderate / Strong Important candidate requiring manual review (with actual score 4)	MAYBE	LOCK INIT LEAK UAF DMAorINTERRUPT HARDWARE TEST MEMORY TEMP_KPANIC_MERGE_IMPORTANT_WINS KPANIC_UNSUPPORTED_REMOVED	-	-	checked

======================================================================
ACTIONABLESCORE ANALYSIS
======================================================================

ActionableScore=4
PrimitiveClass=CLASS_B
RealUAF=YES
HostAdminRequired=UNKNOWN
NamespaceScopedPrivilege=UNKNOWN
ImportantCandidate=YES
ManualReview=REQUIRED
AutoDowngradeAllowed=NO
RequiresHostUID0=UNKNOWN
AuthorizationDecisionBypass=NO
ProtectedResourceImpact=NONE
B4PendingReview=NO
B4PendingConfirmed=NO

1. ActionableScore

* Raw base score: 3.
* Conservative score: 4. REAL UAF FLOOR 4 applied because stale structured DMA state is actively consumed rather than merely causing an immediate fixed-buffer fault.
* Raw paranoid score: 3.
* Paranoid score: 4. No additional speculative reclaim or attacker-control point awarded.
* Final recommended bucket: **Actionable Moderate / Strong Important candidate requiring manual review**::

2. Signal breakdown

* +2 Real UAF/lifetime violation: transfer return permits SPI-core unmap, free, or reuse while IRQ handlers retain and use `p->xfer`, `p->tx_sgl`, and `p->rx_sgl`.
* +1 Constrained post-lifetime overwrite: enabled DMA engines may continue writing into buffers after they are unmapped or freed. Destination and payload control are not established.
* +1 Weak exploitation concern: late ISRs consume stale SG state to reprogram active DMA engines and may initiate the next queued transfer.
* +1 Plausible kernel crash/strong DoS from stale-pointer access or DMA into invalid storage; no duplicate availability point.
* -2 Uncommon hardware dependency: the vulnerable path requires the specific PCI1XXXX SPI/DMA device.
* No hard-race penalty: although a timeout and late interrupt are required, a wedged engine remains active, so a narrow uncontrollable race window is not shown.
* Controlled reclaim, arbitrary write, attacker-selected DMA destination, disclosure, LPE, and C/I impact are not shown.
* NEW52/B5-R does not apply: there is no retry-accumulated index or heap OOB mechanism.

3. Reachability analysis

The complete triggering principal is unresolved. The patch establishes an SPI DMA timeout path but not whether an ordinary user, delegated service, or host administrator can submit the required transfer and induce the timeout. The legacy hint’s granted local SPI consumer is plausible but does not prove actual device-node permissions or a namespace-scoped path. No remote reachability or prior malicious physical-device control is shown. Hardware and a DMA timeout are required.

4. Primitive and severity reading

This is an asynchronous active-structured-state UAF, not merely a shallow cleanup dereference: stale SG pointers and transfer state are consumed by IRQ handlers to program DMA and signal completion. The resulting post-lifetime DMA access is CLASS_B because neither controlled replacement nor a directed write is proven. ImportantCandidate is retained because active DMA can operate on freed or reused storage and the downstream privilege boundary remains unresolved. Auto-downgrade is disallowed pending review of SPI exposure, SG reuse, and DMA destination control.

5. One-sentence report phrase

A timed-out PCI1XXXX SPI transfer can leave DMA and IRQ processing active, allowing stale transfer and SG state to drive post-free DMA accesses.

6. Manual review advice

MANUAL CHECK REQUIRED

Determine who can submit transfers, whether timeout induction is practical, and whether reused SG or DMA state gives control beyond host crash.

7. Call-site confidence

Call-site confidence: high

======================================================================
UPSTREAM PATCH SUMMARY
======================================================================

Patch: spi: spi-pci1xxxx: quiesce DMA engines on transfer timeout
Commit: 733552f8c5f5fdce6b2a135dfa2a05ead9f66e91
Upstream URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=733552f8c5f5fdce6b2a135dfa2a05ead9f66e91

Commit description:

If a DMA-mapped transfer times out waiting for DMA_TERM and neither DMA
abort interrupt arrived, pci1xxxx_spi_transfer_with_dma() returns
through the error label while both DMA engines are still enabled, the
done/abort interrupt status is still armed and the transfer state
(p->xfer, p->tx_sgl, p->rx_sgl) is still registered.

The ISRs keep firing afterwards: they reprogram the DMA engines from
p->tx_sgl / p->rx_sgl and signal completion through p->xfer and
p->spi_xfer_done, all of which the SPI core is free to unmap or reuse
once transfer_one() has returned, which is a use-after-free. A late
done interrupt can also start the next transfer queued behind the
failed one.

Stop both DMA engines, drain the pending done/abort interrupt status
and synchronize the DMA IRQs before dropping the in-progress state and
the transfer pointers, and re-enable the engines afterwards so that
subsequent transfers keep working. The engines are only turned back on
once both were confirmed to have stopped: re-enabling an engine that
failed to stop would cancel the pending stop request and let it keep
running into buffers the SPI core is about to unmap or free, which is
exactly the window this patch closes. An engine that failed to stop is
left disabled, as the abort paths already do.

The DMA interrupt status and mask registers are shared between the two
SPI instances, so the cleanup drains only this instance's done/abort
status bits instead of masking the interrupt lines, which would also
suppress the peer instance's completion interrupts.

Also make the DMA ISRs ignore interrupts while no transfer is in
progress so that a stray MSI after the cleanup can no longer act on
the cleared state.

No PCI1XXXX hardware was available for testing and QEMU has no model
of this PCIe part, so the timeout path was exercised with a userspace
replica of the timeout branch and the DMA ISRs, with the register and
interrupt accesses mocked: on the unfixed code both a wedged engine
that clears after the timeout and a late done interrupt touch the
freed transfer state, while with this fix applied neither does and an
engine that failed to stop is left disabled.  The module was also
loaded and unloaded in a QEMU x86_64 guest running a kernel with this
fix applied.

Fixes: 9538ede ("spi: mchp-pci1xxxx: DMA support for copying data to and from SPI Buf")
Cc: [email protected] # 6.8+
Signed-off-by: Weibin Liu <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

Changed files:
  drivers/spi/spi-pci1xxxx.c

Diff excerpt:

Not included in this email. See the upstream URL for the full patch.

Full patch:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=733552f8c5f5fdce6b2a135dfa2a05ead9f66e91

======================================================================
DETAILED REPORT METHODOLOGY
======================================================================

The original Linux kernel CVE announcement for CVE-2026-99447 can be found here:
https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99447

The original CVE announcement normally does not include a security-level
estimate. In particular, it may not contain a CVSS assessment, an impact
level, or enough information to determine whether the reported bug is a
practically relevant security issue. One purpose of this parallel CVE list
is to provide that missing technical and prioritization information.

The original goal of the AL-KERNEL project was to prioritize Linux kernel
CVE analysis automatically before manual review. The system can also help
identify non-security issues that may be suitable for automatic closure.

This report was generated by AL-KERNEL, an AI-assisted Linux kernel
vulnerability analysis system developed by Alexander Larkin.

The first analysis stage combines an autonomous classifier with additional
LLM-based analysis. The autonomous classifier runs locally on a CPU and is
based on a backpropagation neural network. Together, these mechanisms
produce a technical vulnerability description, identify likely weakness
types, estimate CVSS severity, and provide input for ActionableScore.

Two CVSS estimates are retained because incomplete kernel vulnerability
information often permits more than one defensible interpretation:

  Conservative CVSS vector: AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
  The Best / paranoid CVSS vector: AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  The Best / paranoid CVSS score: 7

The conservative vector represents a lower-impact interpretation.
The Best/paranoid vector intentionally represents a plausible upper-bound
interpretation and should not automatically be treated as demonstrated
real-world impact.

CVSS may also need to be adjusted for a particular Linux deployment,
because actual reachability, privileges, enabled kernel configuration,
hardware, namespaces, exposed device nodes, and other environmental
conditions can differ significantly between systems.

A separate ActionableScore mechanism evaluates practical remediation
urgency. Its analysis may include reachability, attack prerequisites,
subsystem exposure, memory-corruption characteristics, denial-of-service
reliability, and possible confidentiality, integrity, or
privilege-escalation impact.

  Conservative ActionableScore: unknown
  Paranoid ActionableScore: 4

The final base severity is taken directly from the second tab-separated
field of the AL-KERNEL classification result. ActionableScore does not
replace or independently override that final AL-KERNEL decision, and
if ActionableScore adjusted impact level of ALKERNEL, then you would see
self-readable flags above like INCREASED_TO_HIGH_BASED_ON_ACTIONABLESCOREHIGHEREQTHAN7.

For an AL-KERNEL result of MODERATE, this report uses the following
additional presentation split:

  ActionableScore below 5   -> MODERATE REGULAR
  ActionableScore 5 or more -> MODERATE 7.0

The distinction between MODERATE REGULAR and MODERATE 7.0 makes it
possible to identify Moderate issues that should receive manual analysis
and fixes before lower-priority MODERATE REGULAR issues. In many cases,
MODERATE REGULAR fixes may wait for a later rebase or routine update.

There is one override in which MODERATE REGULAR becomes MODERATE 7.0
even when the ActionableScore is below 5. When the AL-KERNEL result
contains the KPANIC flag, a MODERATE result is always presented as
MODERATE 7.0. The KPANIC flag selected with few regexps without
usage of AI at all, so it helps to detect cases when Kernel Crash happens
and similar (to filter False-Negative results from the LLM usage).

KPANIC indicates that a reliable kernel crash, kernel panic, or similarly
serious kernel availability impact was identified by the classification
workflow.

AL-KERNEL base severity for this report: IMPORTANT
KPANIC detected for this report: NO
Published priority for this report (same as in Subject): IMPORTANT

These results are intended to support engineering triage. They are
machine-generated estimates, and cases marked for manual review should
be validated by a human security engineer before final disposition.
For more info read docs linked from here: https://kernelcve.org/
(and you can submit you own patch there to generate such a report
for non-existant CVE-id yet).

Note that in many cases this AI tool selects higher severity, than
real is (means you can expect Importants instead of Moderate 7.0 or
Moderates 7.0 instead of regular Moderates). If you see such cases,
please use reply email interface to add additional manual analyses
info to this particular CVE.
And please, please, let me know when you see Lows instead of Importants
or Important instead of Low (because particular for such cases I
need to tune this AI tool to make it better for this one and next similar).
My contact email for such notifications is [email protected] (and both
send reply to CVE record itself too and see "reply" button below for howto reply).

^ permalink raw reply	[relevance 21%]

Results 1-1 of 1 | reverse | sort options + mbox downloads above
-- links below jump to the message on this page --
2026-11-20  2:34 21% [CVE-2026-99447][IMPORTANT] spi: spi-pci1xxxx: quiesce DMA engines on transfer timeout AL-KERNEL

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox