Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-21820

5.5 · MEDIUM
Published Feb 27, 2025 linux CWE-667 EPSS 0.16% (6th pctl)

Overview

CVE-2025-21820 is a medium-severity vulnerability affecting linux linux_kernel. It was published on February 27, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

tty: xilinx_uartps: split sysrq handling

lockdep detects the following circular locking dependency:

CPU 0 CPU 1

========================== ============================

cdns_uart_isr() printk()

uart_port_lock(port) console_lock()

cdns_uart_console_write()

if (!port->sysrq)

uart_port_lock(port)

uart_handle_break()

port->sysrq = ...

uart_handle_sysrq_char()

printk()

console_lock()

The fixed commit attempts to avoid this situation by only taking the

port lock in cdns_uart_console_write if port->sysrq unset. However, if

(as shown above) cdns_uart_console_write runs before port->sysrq is set,

then it will try to take the port lock anyway. This may result in a

deadlock.

Fix this by splitting sysrq handling into two parts. We use the prepare

helper under the port lock and defer handling until w

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 4.6, < 6.1.129 Affected

Frequently Asked Questions

What is CVE-2025-21820?

CVE-2025-21820 is a medium-severity vulnerability affecting linux linux_kernel. It was published on February 27, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-21820?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-21820?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-21820?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-21820 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.