Skip to content
Heist/ feed
Back to feed
UnratedFix available

serial: qcom-geni: do not advance stale DMA completions

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: serial: qcom-geni: do not advance stale DMA completions The qcom GENI serial DMA TX completion path advances the transmit fifo by the number of bytes recorded in port->tx_remaining. If uart_flush_buffer() runs after the hardware has completed a DMA transfer but before the DMA completion interrupt has been handled, the serial core resets the transmit fifo while port->tx_remaining still describes the old DMA transfer. A previous fix avoided advancing an empty fifo by checking that the fifo length is at least tx_remaining. That still does not distinguish the old DMA payload from new bytes written after the flush. If userspace writes new data before the stale DMA completion interrupt is handled, the fifo can again contain at least tx_remaining bytes and the stale completion can advance and discard those new bytes. Mark an in-flight DMA transfer stale when the transmit fifo is flushed. The later completion still unprepares the original DMA mapping using the saved length, but it no longer advances the transmit fifo.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.110, 6.18.52, 7.2.6
CVEs
CVE-2026-93123
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 11:15 UTC · Revision 1

Source evidence

serial: qcom-geni: do not advance stale DMA completions

core-osv · Original source

Published 17 Sept 2026, 16:11 UTC

In the Linux kernel, the following vulnerability has been resolved: serial: qcom-geni: do not advance stale DMA completions The qcom GENI serial DMA TX completion path advances the transmit fifo by the number of bytes recorded in port->tx_remaining. If uart_flush_buffer() runs after the hardware has completed a DMA transfer but before the DMA completion interrupt has been handled, the serial core resets the transmit fifo while port->tx_remaining still describes the old DMA transfer. A previous fix avoided advancing an empty fifo by checking that the fifo length is at least tx_remaining. That still does not distinguish the old DMA payload from new bytes written after the flush. If userspace writes new data before the stale DMA completion interrupt is handled, the fifo can again contain at least tx_remaining bytes and the stale completion can advance and discard those new bytes. Mark an in-flight DMA transfer stale when the transmit fifo is flushed. The later completion still unprepares the original DMA mapping using the saved length, but it no longer advances the transmit fifo.

osv:CVE-2026-93123

Kernel

Fixed versions: 6.12.110, 6.18.52, 7.2.6

Complete source record
{
  "id": "676e94cfe79226c0c418ed7669e682f7915714f33857fafb08a189d0087f5fed",
  "url": "https://osv.dev/vulnerability/CVE-2026-93123",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "serial: qcom-geni: do not advance stale DMA completions",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: serial: qcom-geni: do not advance stale DMA completions The qcom GENI serial DMA TX completion path advances the transmit fifo by the number of bytes recorded in port->tx_remaining. If uart_flush_buffer() runs after the hardware has completed a DMA transfer but before the DMA completion interrupt has been handled, the serial core resets the transmit fifo while port->tx_remaining still describes the old DMA transfer. A previous fix avoided advancing an empty fifo by checking that the fifo length is at least tx_remaining. That still does not distinguish the old DMA payload from new bytes written after the flush. If userspace writes new data before the stale DMA completion interrupt is handled, the fifo can again contain at least tx_remaining bytes and the stale completion can advance and discard those new bytes. Mark an in-flight DMA transfer stale when the transmit fifo is flushed. The later completion still unprepares the original DMA mapping using the saved length, but it no longer advances the transmit fifo.",
    "evidence": "osv:CVE-2026-93123",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.52",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-93123",
      "aliases": [
        "CVE-2026-93123"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2aaa43c7077833301c237684cd7bc9ae5e3dec95"
                },
                {
                  "fixed": "231c84fe7ec40e4a06c398c0591d5b8e823d68e1"
                },
                {
                  "fixed": "c02d030747c46da33faf406dd772ef91100efa27"
                },
                {
                  "fixed": "59faa59c25a0a098fbc86275408d7c8405015702"
                },
                {
                  "fixed": "7ea38c49e7178960926657863299face6dc0e1b0"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93123.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.3.0"
                },
                {
                  "fixed": "6.12.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.52"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93123.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.061113718Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/231c84fe7ec40e4a06c398c0591d5b8e823d68e1",
        "https://git.kernel.org/stable/c/59faa59c25a0a098fbc86275408d7c8405015702",
        "https://git.kernel.org/stable/c/7ea38c49e7178960926657863299face6dc0e1b0",
        "https://git.kernel.org/stable/c/c02d030747c46da33faf406dd772ef91100efa27",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93123.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-93123",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93123.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-93123",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 494887,
  "published_at": "2026-09-17T16:11:28.552+00:00"
}