{"id":"CVE-2026-139638","aliases":["CVE-2026-139638"],"related":[],"kind":"vulnerability","state":"published","title":"serial: 8250_mxpcie: take the line settings from the new termios","summary":"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->state->port.tty, which is only set once the port has been opened.\n\nuart_set_options() builds a termios of its own and calls ->set_termios()\nwith no tty behind it, so using such a board as the console\n(console=ttyS<n>) 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 &tty->termios - and it is what serial8250_do_set_termios() right\nabove already uses.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->state->port.tty, which is only set once the port has been opened.\n\nuart_set_options() builds a termios of its own and calls ->set_termios()\nwith no tty behind it, so using such a board as the console\n(console=ttyS<n>) 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 &tty->termios - and it is what serial8250_do_set_termios() right\nabove already uses.","source":"cvelist"}],"published":"2026-11-30T13:36:35.912Z","modified":"2026-11-30T14:19:47.133Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"55edf8511f4728a79757ab64ae9126e2ea59e310","fixed":"54768ab86bb7ff7c315567bd5be8803fe2d69ae4","status":"affected"},{"type":"git","introduced":"55edf8511f4728a79757ab64ae9126e2ea59e310","fixed":"dda3502cf1838f806b90405a127ec2e66c885c9d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.3","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/54768ab86bb7ff7c315567bd5be8803fe2d69ae4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dda3502cf1838f806b90405a127ec2e66c885c9d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139638","url":"https://www.cve.org/CVERecord?id=CVE-2026-139638","licence":"CVE Terms of Use","modified":"2026-11-30T13:36:35.912Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139638","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139638","licence":"Public domain","modified":"2026-11-30T14:19:47.133Z"}],"updatedAt":"2026-11-30T14:33:39.866Z","epss":{"score":0.00155,"percentile":0.04901,"date":"2026-12-01T12:00:22.000Z"}}