CVE-2026-139640

In the Linux kernel, the following vulnerability has been resolved: serial: 8250_mxpcie: set the driver data before registering ports mxpcie8250_rs485_config() looks the board up with dev_get_drvdata() on the PCI device, but pci_set_drvdata() only runs after the registration loop. Where mxpcie8250_setup_port() presets rs485.flags to SER_RS485_ENABLED and the flag survives uart_get_rs485_mode() - the device has no firmware node, or its node sets linux,rs485-enabled-at-boot-time - uart_configure_port() calls ->rs485_config() from inside serial8250_register_8250_port(), and the callback dereferences a NULL board pointer. Publish the driver data before the first port is registered.

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-139640?

    CVE-2026-139640 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-139640 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

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

    Yes. CVE-2026-139640 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-139640 actively exploited?

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