Executive Summary

Informations
Name CVE-2025-21654 First vendor Publication 2025-01-19
Vendor Cve Last vendor Modification 2025-01-24

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector :
Cvss Base Score N/A Attack Range N/A
Cvss Impact Score N/A Attack Complexity N/A
Cvss Expoit Score N/A Authentication N/A
Calculate full CVSS 2.0 Vectors scores

Detail

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 case with fanotify fid info, ovl_encode_fh() never needs to use the alias to encode a file handle.

Defer finding an alias until it is actually needed so ovl_encode_fh() will not fail in the common case of FAN_DELETE_SELF fanotify events.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-21654

Sources (Detail)

https://git.kernel.org/stable/c/3c7c90274ae339e1ad443c9be1c67a20b80b9c76
https://git.kernel.org/stable/c/c45beebfde34aa71afbc48b2c54cdda623515037
https://git.kernel.org/stable/c/f0c0ac84de17c37e6e84da65fb920f91dada55ad
Source Url

Alert History

If you want to see full details history, please login or register.
0
1
2
3
Date Informations
2025-01-24 21:20:32
  • Multiple Updates
2025-01-23 21:20:32
  • Multiple Updates
2025-01-21 17:20:29
  • Multiple Updates
2025-01-19 17:20:28
  • First insertion