{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74655","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-08-15T05:44:03.923Z","datePublished":"2026-08-22T15:32:29.993Z","dateUpdated":"2026-08-25T05:41:11.787Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-25T05:41:11.787Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: qcom-geni: fix TX DMA buffer flush\n\nWhen transmit flushing a qcom-geni UART during an ongoing TX DMA, the\nUART gets stuck infinitely repeating corrupted TX DMA frames.\n\nThe DMA-mode uart_ops does not provide a flush_buffer callback, so an\nin-flight transfer can complete after serial core has reset the transmit\nkfifo, underflowing its length and resubmitting page-sized transfers\nindefinitely. Add one that stops the transfer and clears tx_remaining\nand tx_queued.\n\nThe stop path was also broken: it unmapped the buffer while the serial\nengine could still read it, and never reset the TX DMA state machine.\nCancel the main sequencer command first, then reset the state machine\nand wait for it before unmapping. Drop the early return so a pending\nmapping is also cleaned up when the main command is inactive.\n\nThe bug can be triggered from userspace with a large write immediately\nfollowed by TCOFLUSH. A following tcdrain will hang forever. The bug was\nreproduced and this fix was validated on Arduino Uno Q (QRB2210)\nusing /dev/ttyHS1."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation requires local write(2) and tcflush(TCOFLUSH)/tcdrain() ioctls on a Qualcomm GENI DMA UART (/dev/ttyHS*), reachable only through local TTY device-node syscalls, not over a network protocol.\nAC:L - The attacker fully controls timing by issuing a large write during active TX DMA immediately followed by TCOFLUSH; no races or external victim state beyond concurrent DMA completion are required to reproduce the hang and DMA loop.\nPR:L - Triggering the bug needs only permission to open, write, and ioctl an assigned ttyHS serial port (typically dialout-group or embedded-app access on Qualcomm/Android/IoT targets), not init-namespace root or CAP_SYS_ADMIN.\nUI:N - No victim interaction is required; the attacker directly drives the vulnerable flush path with their own write and TCOFLUSH/tcdrain calls on the serial device they already control.\nS:C - The flawed stop path unmaps the TX DMA buffer while the GENI engine can still read it and without resetting the TX DMA FSM, crossing the kernel/DMA hardware memory boundary and allowing the device to access host memory outside the intended mapping.\nC:H - Stale page-sized DMA retransmissions can leak residual kernel data from the UART xmit buffer and adjacent heap, and post-unmap DMA reads can expose arbitrary remapped physical memory to the serial line or driver state.\nI:H - Missing flush handling leaves tx_remaining/tx_dma_addr inconsistent with a reset kfifo, enabling kfifo pointer underflow and uncontrolled DMA from wrong offsets that corrupt kernel memory and driver bookkeeping.\nA:H - The UART enters an infinite loop of corrupted TX DMA frames and tcdrain/tty_wait_until_sent never completes, causing permanent hang of processes draining the port and sustained denial of the serial subsystem."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/tty/serial/qcom_geni_serial.c"],"versions":[{"version":"2aaa43c7077833301c237684cd7bc9ae5e3dec95","lessThan":"313ae287442e5e8d3f7b53b73f37d384bda072d0","status":"affected","versionType":"git"},{"version":"2aaa43c7077833301c237684cd7bc9ae5e3dec95","lessThan":"1c31e2377f4c1bb110ca7f6e597b2253a7440c37","status":"affected","versionType":"git"},{"version":"2aaa43c7077833301c237684cd7bc9ae5e3dec95","lessThan":"b1801c0d40f62778b613334de5840aba10a564d5","status":"affected","versionType":"git"},{"version":"2aaa43c7077833301c237684cd7bc9ae5e3dec95","lessThan":"e3c04834ae1ab5e9cfbe8ac54ec734aa4774249d","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/tty/serial/qcom_geni_serial.c"],"versions":[{"version":"6.3","status":"affected"},{"version":"0","lessThan":"6.3","status":"unaffected","versionType":"semver"},{"version":"6.12.104","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.45","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.9","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.12.104"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.18.45"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.1.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/313ae287442e5e8d3f7b53b73f37d384bda072d0"},{"url":"https://git.kernel.org/stable/c/1c31e2377f4c1bb110ca7f6e597b2253a7440c37"},{"url":"https://git.kernel.org/stable/c/b1801c0d40f62778b613334de5840aba10a564d5"},{"url":"https://git.kernel.org/stable/c/e3c04834ae1ab5e9cfbe8ac54ec734aa4774249d"}],"title":"serial: qcom-geni: fix TX DMA buffer flush","x_generator":{"engine":"bippy-1.2.0"}}}}