In the Linux kernel, the following vulnerability has been resolved: serial: imx: serialize imx_uart_ports[] lifetime imx_uart_probe() publishes its… (CVE-2026-89740)
A vulnerability in the Linux kernel's serial driver for imx UART ports was resolved. The issue involved a dangling pointer in the imx_uart_ports[] array due to improper clearing of entries when port addition failed or after removal. This could allow a sibling UART probe to register a shared console through a stale entry. The fix ensures proper serialization of port addition and removal, preventing interleaved operations and rejecting duplicate probes.
AI Analysis
Technical Summary
The Linux kernel's imx serial driver had a vulnerability where imx_uart_probe() published its devm-allocated port in the imx_uart_ports[] array before uart_add_one_port() completed. If adding the port failed or after removal, the entry was not cleared, leaving a dangling pointer. This allowed a sibling probe to register the shared console through the stale entry. The issue was reproduced under KASAN on QEMU mcimx6ul-evk by unbinding and rebinding sibling UARTs and the console UART. The fix keeps the entry valid through uart_remove_one_port(), clears it properly afterward, and protects port addition/removal operations with their table updates to prevent interleaving. Duplicate-line probes reject occupied slots rather than overwriting active ports.
Potential Impact
The vulnerability could lead to incorrect registration of UART ports, potentially causing system instability or unintended console sharing between sibling UART devices. There is no indication of remote code execution or privilege escalation. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly serialize access to imx_uart_ports[] and clear entries correctly. Users should update to the kernel version containing this fix once available. No additional mitigation is indicated.
In the Linux kernel, the following vulnerability has been resolved: serial: imx: serialize imx_uart_ports[] lifetime imx_uart_probe() publishes its… (CVE-2026-89740)
Description
A vulnerability in the Linux kernel's serial driver for imx UART ports was resolved. The issue involved a dangling pointer in the imx_uart_ports[] array due to improper clearing of entries when port addition failed or after removal. This could allow a sibling UART probe to register a shared console through a stale entry. The fix ensures proper serialization of port addition and removal, preventing interleaved operations and rejecting duplicate probes.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's imx serial driver had a vulnerability where imx_uart_probe() published its devm-allocated port in the imx_uart_ports[] array before uart_add_one_port() completed. If adding the port failed or after removal, the entry was not cleared, leaving a dangling pointer. This allowed a sibling probe to register the shared console through the stale entry. The issue was reproduced under KASAN on QEMU mcimx6ul-evk by unbinding and rebinding sibling UARTs and the console UART. The fix keeps the entry valid through uart_remove_one_port(), clears it properly afterward, and protects port addition/removal operations with their table updates to prevent interleaving. Duplicate-line probes reject occupied slots rather than overwriting active ports.
Potential Impact
The vulnerability could lead to incorrect registration of UART ports, potentially causing system instability or unintended console sharing between sibling UART devices. There is no indication of remote code execution or privilege escalation. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly serialize access to imx_uart_ports[] and clear entries correctly. Users should update to the kernel version containing this fix once available. No additional mitigation is indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-q55c-3wjg-8jjp
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89740"]
Threat ID: 6aa49ffa55bf5e2cf5a865cf
Added to database: 09/12/2026, 00:42:34 UTC
Last enriched: 09/12/2026, 00:50:01 UTC
Last updated: 09/12/2026, 00:50:01 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.