CVE-2026-139639
not scored yetserial: 8250_mxpcie: only unregister the ports that were registered
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.
- Published
- 30 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 0481a041e9569dfc2448ba4c6cb30335fcb8430f, < 634489424217836868b6c7c379c8b1470f6f9c61; >= 0481a041e9569dfc2448ba4c6cb30335fcb8430f, < 39eaa90b6bd1dbe147c90c345796bc042080d80e | 634489424217836868b6c7c379c8b1470f6f9c61, 39eaa90b6bd1dbe147c90c345796bc042080d80e |
| CVE List | Linux | Linux | = 7.3 |
References
- https://git.kernel.org/stable/c/39eaa90b6bd1dbe147c90c345796bc042080d80e
- https://git.kernel.org/stable/c/634489424217836868b6c7c379c8b1470f6f9c61
History
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)