{"id":"CVE-2026-100085","aliases":["CVE-2026-100085"],"related":[],"kind":"vulnerability","state":"published","title":"serial: 8250_omap: set priv->line before enabling the IRQ","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: 8250_omap: set priv->line before enabling the IRQ\n\nomap8250_irq() is requested in omap8250_probe() with IRQ_NOAUTOEN and\nenabled only in omap_8250_startup(). The handler obtains the port by\nserial8250_get_port(priv->line), but probe stores priv->line only after\nserial8250_register_8250_port() returns.\n\nThe port becomes visible to userspace already inside\nserial8250_register_8250_port() (uart_add_one_port()). So it can be\nopened -- and the IRQ enabled -- before probe stores the line. An\ninterrupt in that window makes the handler call\nserial8250_get_port(-ENODEV) and dereference a pointer outside of\nserial8250_ports[].\n\nStore the line in omap_8250_startup() before enable_irq(), so the\nhandler never runs with an unset line. Keep the assignment in probe\ntoo, as remove and the system PM callbacks rely on it even when the\nport was never opened.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: 8250_omap: set priv->line before enabling the IRQ\n\nomap8250_irq() is requested in omap8250_probe() with IRQ_NOAUTOEN and\nenabled only in omap_8250_startup(). The handler obtains the port by\nserial8250_get_port(priv->line), but probe stores priv->line only after\nserial8250_register_8250_port() returns.\n\nThe port becomes visible to userspace already inside\nserial8250_register_8250_port() (uart_add_one_port()). So it can be\nopened -- and the IRQ enabled -- before probe stores the line. An\ninterrupt in that window makes the handler call\nserial8250_get_port(-ENODEV) and dereference a pointer outside of\nserial8250_ports[].\n\nStore the line in omap_8250_startup() before enable_irq(), so the\nhandler never runs with an unset line. Keep the assignment in probe\ntoo, as remove and the system PM callbacks rely on it even when the\nport was never opened.","source":"cvelist"}],"published":"2026-11-30T13:23:38.421Z","modified":"2026-11-30T14:17:26.583Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fef4f600319e35b7121c3ea6005ee38626f4f959","fixed":"0517d5fa233b15ff6c355ce5f47ec01b70906ec8","status":"affected"},{"type":"git","introduced":"fef4f600319e35b7121c3ea6005ee38626f4f959","fixed":"3a58b317d7f38484339391050a575c423dd255c8","status":"affected"},{"type":"git","introduced":"fef4f600319e35b7121c3ea6005ee38626f4f959","fixed":"8276a44f0a0b68c07b2331cc0058036ac4c4190d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","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/0517d5fa233b15ff6c355ce5f47ec01b70906ec8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a58b317d7f38484339391050a575c423dd255c8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8276a44f0a0b68c07b2331cc0058036ac4c4190d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100085","url":"https://www.cve.org/CVERecord?id=CVE-2026-100085","licence":"CVE Terms of Use","modified":"2026-11-30T13:23:38.421Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100085","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100085","licence":"Public domain","modified":"2026-11-30T14:17:26.583Z"}],"updatedAt":"2026-11-30T14:32:29.297Z","epss":{"score":0.00207,"percentile":0.1146,"date":"2026-12-01T12:00:22.000Z"}}