CVE-2025-38306: Linux kernel · fs/fhandle.c: fix a race in call of has_locked_children()
Source GCVE Database
Not known to be exploited · CVSS 4.7 Medium.
Data as of 13 Nov 2026, 20:12 UTC
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel by restructuring the has_locked_children() function to enforce proper locking. Users should apply the official kernel patch or update to a fixed kernel version once available. No additional mitigation is indicated.
Description
CVE-2025-38306 is a medium-severity race condition vulnerability in the Linux kernel's fs/fhandle.c component. The issue arises because the function may_decode_fh() calls has_locked_children() without holding any locks, leading to a potential kernel oops (crash). The vulnerability has been addressed by renaming and restructuring the has_locked_children() function to ensure proper locking with read_seqlock_excl(&mount_lock).
References
- nvd.nist.gov/vuln/detail/CVE-2025-38306 (opens in a new tab)
- git.kernel.org/stable/c/1f282cdc1d219c4a557f7009e81bc792820d9d9a (opens in a new tab)
- git.kernel.org/stable/c/287c7d34eedd37af1272dfb3b6e8656f4f026424 (opens in a new tab)
- git.kernel.org/stable/c/6482c3dccbfb8d20e2856ce67c75856859930b3f (opens in a new tab)