{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "55edf8511f4728a79757ab64ae9126e2ea59e310"
            },
            {
              "fixed": "54768ab86bb7ff7c315567bd5be8803fe2d69ae4"
            },
            {
              "fixed": "dda3502cf1838f806b90405a127ec2e66c885c9d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.3.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139638.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nserial: 8250_mxpcie: take the line settings from the new termios\n\nmxpcie8250_set_termios() reads the line settings out of\nport-\u003estate-\u003eport.tty, which is only set once the port has been opened.\n\nuart_set_options() builds a termios of its own and calls -\u003eset_termios()\nwith no tty behind it, so using such a board as the console\n(console=ttyS\u003cn\u003e) dereferences a NULL tty during console setup, as does\nattaching kgdboc to it and resuming a suspended console from\nuart_resume_port().\n\nRead the settings from the termios the serial core passes in instead.\nIt holds the same values on the normal path - uart_change_line_settings()\npasses \u0026tty-\u003etermios - and it is what serial8250_do_set_termios() right\nabove already uses.",
  "id": "CVE-2026-139638",
  "modified": "2026-12-01T20:45:33.843581915Z",
  "published": "2026-11-30T13:36:35.912Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/54768ab86bb7ff7c315567bd5be8803fe2d69ae4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dda3502cf1838f806b90405a127ec2e66c885c9d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139638.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139638"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "serial: 8250_mxpcie: take the line settings from the new termios"
}