CVE-2026-90338

serial: amba-pl011: keep console clock enabled for atomic writes

CVE-2026-90338 is fixed in 20 products on 1 platform, first by DEBIAN-CVE-2026-90338, released September 23, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
n/a
important
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0021
10th percentile

In the Linux kernel, the following vulnerability has been resolved: serial: amba-pl011: keep console clock enabled for atomic writes pl011_console_write_atomic() runs from nbcon atomic context, where sleeping is not allowed. It calls clk_enable(), which takes the common-clk enable_lock. Under PREEMPT_RT that is a sleeping lock: clk_enable_lock() first tries spin_trylock_irqsave(), but on contention falls back to spin_lock_irqsave(). Therefore, an atomic-context printk on an RT kernel with a clk-backed pl011 can trip: BUG: sleeping function called from invalid context at spinlock_rt.c:48 __might_resched from rt_spin_lock rt_spin_lock from clk_enable_lock clk_enable_lock from clk_enable clk_enable from pl011_console_write_atomic ... from vprintk_emit This was found and reproduced on PREEMPT_RT. Arm32 and arm64 DT SoCs are affected; arm64 SBSA/ACPI has no clk, so clk_enable(NULL) short-circuits before the lock. In addition, write_atomic() may be invoked from NMI context and is documented to avoid locking. Removing clk_enable() from the callback also avoids a potentially unsafe NMI acquisition of the common-clock enable_lock. An nbcon atomic-capable console must be printable from any context, so the clock cannot be gated between writes. Enable the clock while the console is available for output: use clk_prepare_enable() in pl011_console_setup(), release it via clk_disable_unprepare() in the console .exit() callback, and drop the per-write clk_enable()/clk_disable() pairs from write_atomic() and write_thread(). When printk suspends consoles, drop the reference after uart_suspend_port() stops console access and restore it before uart_resume_port() -- but only if suspend actually marked the port suspended (a wake-capable tty stays running and must keep its clock), and keep it when console_suspend_enabled is false so no_console_suspend works. The active power cost of keeping the clock enabled is platform-dependent: none where the UART clock is a fixed always-on oscillator, real where it is a gateable clock branch, which then cannot be gated (nor possibly can its parent clocks) while the console is available for output. When serial core actually suspends the port, the reference is released so the clock provider can gate the clock tree.

Where it's fixed

ProductFixed inFixReleased
Linux
bpftool6.18 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
bpftool6.18-debuginfo · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel-livepatch-6.18.54-121.166 · amzn 2023 1:1.0-0.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-debuginfo · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-debuginfo-common-aarch64 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-debuginfo-common-x86_64 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-devel · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-headers · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-modules-extra · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-modules-extra-common · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-tools · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-tools-debuginfo · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
kernel6.18-tools-devel · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
linux · Debian 14 7.2.6-1 DEBIAN-CVE-2026-90338 Sep 23, 2026
microvm-kernel6.18 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
perf6.18 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
perf6.18-debuginfo · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
python3-perf6.18 · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026
python3-perf6.18-debuginfo · amzn 2023 1:6.18.54-121.166.amzn2023 ALAS2023-2026-3192 Nov 7, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.