{"id":14937,"date":"2026-09-04T19:02:18","date_gmt":"2026-09-04T11:02:18","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-63883"},"modified":"2026-09-04T19:02:18","modified_gmt":"2026-09-04T11:02:18","slug":"cve-2026-63883","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-63883","title":{"rendered":"CVE-2026-63883 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nserial: qcom_geni: fi"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>serial: qcom_geni: fix kfifo underflow when flush precedes DMA completion IRQ<\/p>\n<p>When uart_flush_buffer() runs before the DMA completion IRQ is delivered,<br \/>\nthe following race can occur (all steps serialized by uart_port_lock):<\/p>\n<p>  1. DMA starts: tx_remaining = N, kfifo contains N bytes<br \/>\n  2. DMA completes in hardware; IRQ is pending but not yet delivered<br \/>\n  3. uart_flush_buffer() acquires the port lock and calls kfifo_reset(),<br \/>\n     making kfifo_len() = 0 while tx_remaining remains N<br \/>\n  4. uart_flush_buffer() releases the port lock<br \/>\n  5. DMA IRQ fires; handle_tx_dma() acquires the port lock and calls<br \/>\n     uart_xmit_advance(uport, tx_remaining) on an empty kfifo<\/p>\n<p>uart_xmit_advance() increments kfifo-&gt;out by tx_remaining. Since<br \/>\nkfifo_reset() already set both in and out to 0, out wraps past in,<br \/>\ncausing kfifo_len() to return UART_XMIT_SIZE &#8211; tx_remaining. The next<br \/>\nstart_tx_dma() call then submits a DMA transfer of stale buffer data.<\/p>\n<p>Fix this by snapshotting kfifo_len() at the start of handle_tx_dma()<br \/>\nand skipping uart_xmit_advance() when fifo_len &lt; tx_remaining, which<br \/>\nindicates the kfifo was reset by a preceding flush.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>serial: qcom_geni: fix kfifo underflow when flush precedes DMA completion IRQ<\/p>\n<p>When uart_flush_buffer() runs before the DMA complet<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-14937","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/14937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}