CVE-2025-38306

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/07/2025
Last modified:
10/07/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> fs/fhandle.c: fix a race in call of has_locked_children()<br /> <br /> may_decode_fh() is calling has_locked_children() while holding no locks.<br /> That&amp;#39;s an oopsable race...<br /> <br /> The rest of the callers are safe since they are holding namespace_sem and<br /> are guaranteed a positive refcount on the mount in question.<br /> <br /> Rename the current has_locked_children() to __has_locked_children(), make<br /> it static and switch the fs/namespace.c users to it.<br /> <br /> Make has_locked_children() a wrapper for __has_locked_children(), calling<br /> the latter under read_seqlock_excl(&amp;mount_lock).

Impact