# CVE-2026-100085: serial: 8250_omap: set priv->line before enabling the IRQ

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:38.421Z
- Modified: 2026-11-30T14:17:26.583Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

serial: 8250_omap: set priv->line before enabling the IRQ

omap8250_irq() is requested in omap8250_probe() with IRQ_NOAUTOEN and
enabled only in omap_8250_startup(). The handler obtains the port by
serial8250_get_port(priv->line), but probe stores priv->line only after
serial8250_register_8250_port() returns.

The port becomes visible to userspace already inside
serial8250_register_8250_port() (uart_add_one_port()). So it can be
opened -- and the IRQ enabled -- before probe stores the line. An
interrupt in that window makes the handler call
serial8250_get_port(-ENODEV) and dereference a pointer outside of
serial8250_ports[].

Store the line in omap_8250_startup() before enable_irq(), so the
handler never runs with an unset line. Keep the assignment in probe
too, as remove and the system PM callbacks rely on it even when the
port was never opened.

(As written by CVE List.)

## Affected

- Linux Linux: from fef4f600319e35b7121c3ea6005ee38626f4f959 before 0517d5fa233b15ff6c355ce5f47ec01b70906ec8; from fef4f600319e35b7121c3ea6005ee38626f4f959 before 3a58b317d7f38484339391050a575c423dd255c8; from fef4f600319e35b7121c3ea6005ee38626f4f959 before 8276a44f0a0b68c07b2331cc0058036ac4c4190d; 6.5 (not affected: before 6.5; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/0517d5fa233b15ff6c355ce5f47ec01b70906ec8>
- <https://git.kernel.org/stable/c/3a58b317d7f38484339391050a575c423dd255c8>
- <https://git.kernel.org/stable/c/8276a44f0a0b68c07b2331cc0058036ac4c4190d>

## Sources

- CVE List: [CVE-2026-100085](https://www.cve.org/CVERecord?id=CVE-2026-100085), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-100085](https://nvd.nist.gov/vuln/detail/CVE-2026-100085), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-100085 · Whole record: https://cve.day/CVE-2026-100085.json · Rebuilt by cve.day 2026-11-30T14:32:29.297Z
