CVE-2026-139639

In the Linux kernel, the following vulnerability has been resolved: serial: 8250_mxpcie: only unregister the ports that were registered When serial8250_register_8250_port() fails the loop stops and the probe keeps the ports registered so far, like pciserial_init_ports() in 8250_pci.c this driver was split from. What the split lost is that function's priv->nr: mxpcie8250_remove() walks all num_ports entries, but the ones the loop never reached keep the zero devm_kzalloc() left there, and the one that failed keeps a negative error code. serial8250_unregister_port() checks neither, so removal unregisters line 0 - a port this driver does not own - and indexes serial8250_ports[] with a negative line number. Record how many ports were registered and unregister only those.

Package Linux Kernel
Published 2026-11-30
Last modified 2026-11-30
Patch available
Yes

Affected versions

Linux kernel versions 7.3 and later are affected. Fixed in 7.3.6, 7.4-rc1 and their respective stable series.

Affected from
≥ 7.3
Fixed in
✓ 7.3.6 7.3.x ✓ 7.4-rc1

Frequently asked questions

  • What is CVE-2026-139639?

    CVE-2026-139639 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 7.3 onward and has been patched in 7.3.6 and 7.4-rc1. CVE-2026-139639 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-139639?

    Yes. CVE-2026-139639 has been patched. Fixed versions include 7.3.6 and 7.4-rc1. If you are running Linux kernel 7.3 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-139639 actively exploited?

    No. CVE-2026-139639 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.