← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel qcom_geni Serial Driver Race Between Buffer Flush and DMA Completion Can Underflow a kfifo

Last refreshed2026-11-16

Status: UPDATED  |  Advisory ID: CVE-2026-63883

Key Details

CVECVE-2026-63883
CVSS Score / Version
7.3 (High) / CVSS v3.1
Updated2026-11-12
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is low.
Affected products
Linux Kernel
Classified as
CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'))
Exploitation prediction (EPSS)
0.13% probability of exploitation in the next 30 days (3% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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

serial: qcom_geni: fix kfifo underflow when flush precedes DMA completion IRQ

When uart_flush_buffer() runs before the DMA completion IRQ is delivered,

the following race can occur (all steps serialized by uart_port_lock):

1. DMA starts: tx_remaining = N, kfifo contains N bytes

2. DMA completes in hardware; IRQ is pending but not yet delivered

3. uart_flush_buffer() acquires the port lock and calls kfifo_reset(),

making kfifo_len() = 0 while tx_remaining remains N

4. uart_flush_buffer() releases the port lock

5. DMA IRQ fires; handle_tx_dma() acquires the port lock and calls

uart_xmit_advance(uport, tx_remaining) on an empty kfifo

uart_xmit_advance() increments kfifo->out by tx_remaining. Since

kfifo_reset() already set both in and out to 0, out wraps past in,

causing kfifo_len() to return UART_XMIT_SIZE - tx_remaining. The next

start_tx_dma() call then submits a DMA transfer of stale buffer data.

Fix this by snapshotting kfifo_len() at the start of handle_tx_dma()

and skipping uart_xmit_advance() when fifo_len < tx_remaining, which

indicates the kfifo was reset by a preceding flush. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-63883
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-63883
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.