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

7.8 · HIGH
Published Feb 27, 2025 linux EPSS 0.24% (14th pctl)

Overview

CVE-2025-21792 is a high-severity vulnerability affecting linux linux_kernel. It was published on February 27, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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:

ax25: Fix refcount leak caused by setting SO_BINDTODEVICE sockopt

If an AX25 device is bound to a socket by setting the SO_BINDTODEVICE

socket option, a refcount leak will occur in ax25_release().

Commit 9fd75b66b8f6 ("ax25: Fix refcount leaks caused by ax25_cb_del()")

added decrement of device refcounts in ax25_release(). In order for that

to work correctly the refcounts must already be incremented when the

device is bound to the socket. An AX25 device can be bound to a socket

by either calling ax25_bind() or setting SO_BINDTODEVICE socket option.

In both cases the refcounts should be incremented, but in fact it is done

only in ax25_bind().

This bug leads to the following issue reported by Syzkaller:

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

refcount_t: decrement hit 0; leaking memory.

WARNING: CPU: 1 PID: 5932 at lib/refcount.c:31 refcount_warn_saturate+0x1ed/0x210 lib/refcount.c:31

Module

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.14.277, < 4.15 Affected

Frequently Asked Questions

What is CVE-2025-21792?

CVE-2025-21792 is a high-severity vulnerability affecting linux linux_kernel. It was published on February 27, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-21792?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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-21792?

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

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