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-21799

5.5 · MEDIUM
Published Feb 27, 2025 linux CWE-476 EPSS 0.22% (13th pctl)

Overview

CVE-2025-21799 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:

net: ethernet: ti: am65-cpsw: fix freeing IRQ in am65_cpsw_nuss_remove_tx_chns()

When getting the IRQ we use k3_udma_glue_tx_get_irq() which returns

negative error value on error. So not NULL check is not sufficient

to deteremine if IRQ is valid. Check that IRQ is greater then zero

to ensure it is valid.

There is no issue at probe time but at runtime user can invoke

.set_channels which results in the following call chain.

am65_cpsw_set_channels()

am65_cpsw_nuss_update_tx_rx_chns()

am65_cpsw_nuss_remove_tx_chns()

am65_cpsw_nuss_init_tx_chns()

At this point if am65_cpsw_nuss_init_tx_chns() fails due to

k3_udma_glue_tx_get_irq() then tx_chn->irq will be set to a

negative value.

Then, at subsequent .set_channels with higher channel count we

will attempt to free an invalid IRQ in am65_cpsw_nuss_remove_tx_chns()

leading to a kernel warning.

The issue is present in the original commit that introduced this driver,

a

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 >= 5.7, < 5.10.235 Affected

Frequently Asked Questions

What is CVE-2025-21799?

CVE-2025-21799 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-21799?

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-21799?

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-21799?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-21799 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.