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

7.8 · HIGH
Published Mar 27, 2025 linux EPSS 0.21% (11th pctl)

Overview

CVE-2025-21884 is a high-severity vulnerability affecting linux linux_kernel. It was published on March 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:

net: better track kernel sockets lifetime

While kernel sockets are dismantled during pernet_operations->exit(),

their freeing can be delayed by any tx packets still held in qdisc

or device queues, due to skb_set_owner_w() prior calls.

This then trigger the following warning from ref_tracker_dir_exit() [1]

To fix this, make sure that kernel sockets own a reference on net->passive.

Add sk_net_refcnt_upgrade() helper, used whenever a kernel socket

is converted to a refcounted one.

[1]

[ 136.263918][ T35] ref_tracker: net notrefcnt@ffff8880638f01e0 has 1/2 users at

[ 136.263918][ T35] sk_alloc+0x2b3/0x370

[ 136.263918][ T35] inet6_create+0x6ce/0x10f0

[ 136.263918][ T35] __sock_create+0x4c0/0xa30

[ 136.263918][ T35] inet_ctl_sock_create+0xc2/0x250

[ 136.263918][ T35] igmp6_net_init+0x39/0x390

[ 136.263918][ T35] ops_init+0x31e/0x590

[ 136.263918][ T35] setup_

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 >= 6.2, < 6.6.103 Affected

Frequently Asked Questions

What is CVE-2025-21884?

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

How severe is CVE-2025-21884?

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

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

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