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

5.5 · MEDIUM
Published Jan 19, 2025 linux CWE-617 EPSS 0.20% (10th pctl)

Overview

CVE-2025-21654 is a medium-severity vulnerability affecting linux linux_kernel. It was published on January 19, 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:

ovl: support encoding fid from inode with no alias

Dmitry Safonov reported that a WARN_ON() assertion can be trigered by

userspace when calling inotify_show_fdinfo() for an overlayfs watched

inode, whose dentry aliases were discarded with drop_caches.

The WARN_ON() assertion in inotify_show_fdinfo() was removed, because

it is possible for encoding file handle to fail for other reason, but

the impact of failing to encode an overlayfs file handle goes beyond

this assertion.

As shown in the LTP test case mentioned in the link below, failure to

encode an overlayfs file handle from a non-aliased inode also leads to

failure to report an fid with FAN_DELETE_SELF fanotify events.

As Dmitry notes in his analyzis of the problem, ovl_encode_fh() fails

if it cannot find an alias for the inode, but this failure can be fixed.

ovl_encode_fh() seldom uses the alias and in the case of non-decodable

file handles, as is often the ca

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.6, < 6.6.74 Affected

Frequently Asked Questions

What is CVE-2025-21654?

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

How severe is CVE-2025-21654?

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

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

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