Skip to main content
VulnerabilityPublished Updated

CVE-2025-38306: Linux kernel · fs/fhandle.c: fix a race in call of has_locked_children()

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 4.7 Medium.

Data as of 13 Nov 2026, 20:12 UTC

CVSS 3.1 base score
4.7Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

Community reviews

Loading reviews…