CVE-2025-21820: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21820 affects the Linux kernel's tty subsystem, specifically the Xilinx UART PS driver. The vulnerability was discovered in February 2025 and involves a potential deadlock condition in the sysrq handling mechanism (Debian Security, Ubuntu Security).

Technical details

The vulnerability stems from a circular locking dependency in the xilinx_uartps driver. The issue occurs when cdns_uart_console_write runs before port->sysrq is set, causing a potential deadlock between uart_port_lock and console_lock. The CVSS v3 Base Score is 5.5 (Medium) (Red Hat CVE).

Impact

When exploited, this vulnerability can result in a system deadlock in systems using the Xilinx UART PS driver, potentially affecting system availability (Kernel Commit).

Exploitability

The vulnerability requires local access to the system and involves a race condition in the sysrq handling mechanism. No known exploits in the wild have been reported (Red Hat CVE).

Mitigation and workarounds

The issue has been fixed by splitting sysrq handling into two parts, using a prepare helper under the port lock and deferring handling until the lock is released. The fix is available in newer kernel versions (Kernel Commit).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.129-1

Fixed

sid

linux: 6.12.15-1

Fixed

trixie

linux: 6.12.15-1

Fixed

Ubuntu

Fixed

bionic (esm-infra)

linux

Affected

bionic (fips-updates)

linux-fips

Affected

bionic (fips)

linux-fips

Affected

devel

linux

Not Affected

focal

linux-aws-5.15: 5.15.0-1084.91~20.04.1

Fixed

focal (esm-infra)

linux

Affected

focal (fips-updates)

linux-fips

Affected

focal (fips)

linux-fips

Affected

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99804MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.14
NoYesNov 20, 2026
CVE-2026-99799MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.4
NoYesNov 20, 2026
CVE-2026-99797MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-oracle
NoYesNov 20, 2026
CVE-2026-99796MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • kernel-kmap-internal
NoYesNov 20, 2026
CVE-2026-99798MEDIUM4.3
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoYesNov 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management