Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38306

HIGH 7.8EPSS 6%

fs/fhandle.c: fix a race in call of has_locked_children()

Mitigation

  • Upgrade Linux to 1f282cdc1d219c4a557f7009e81bc792820d9d9a or later.

Who should check

  • Anyone running Linux >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 6482c3dccbfb8d20e2856ce67c75856859930b3f; >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 287c7d34eedd37af1272dfb3b6e8656f4f026424; >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 1f282cdc1d219c4a557f7009e81bc792820d9d9a
  • Anyone running Linux 6.11

Vulnerability facts

Affected
Linux >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 6482c3dccbfb8d20e2856ce67c75856859930b3f; >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 287c7d34eedd37af1272dfb3b6e8656f4f026424; >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 1f282cdc1d219c4a557f7009e81bc792820d9d9a; Linux 6.11
Fixed in
Linux 6482c3dccbfb8d20e2856ce67c75856859930b3f, Linux 287c7d34eedd37af1272dfb3b6e8656f4f026424, Linux 1f282cdc1d219c4a557f7009e81bc792820d9d9a
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
CWE
CWE-362
Published
Modified

Description

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 6482c3dccbfb8d20e2856ce67c75856859930b3f; >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 287c7d34eedd37af1272dfb3b6e8656f4f026424; >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 1f282cdc1d219c4a557f7009e81bc792820d9d9a—cvelist
Linux6.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38306. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38306.md
Affected: Linux >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 6482c3dccbfb8d20e2856ce67c75856859930b3f; >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 287c7d34eedd37af1272dfb3b6e8656f4f026424; >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 1f282cdc1d219c4a557f7009e81bc792820d9d9a; Linux 6.11
Fixed in: Linux 6482c3dccbfb8d20e2856ce67c75856859930b3f, Linux 287c7d34eedd37af1272dfb3b6e8656f4f026424, Linux 1f282cdc1d219c4a557f7009e81bc792820d9d9a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-38306 being exploited?

There is no confirmed exploitation: CVE-2025-38306 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-38306?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-38306?

Linux >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 6482c3dccbfb8d20e2856ce67c75856859930b3f; >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 287c7d34eedd37af1272dfb3b6e8656f4f026424; >= 620c266f394932e5decc4b34683a75dfc59dc2f4, < 1f282cdc1d219c4a557f7009e81bc792820d9d9a; Linux 6.11.

Is there a fix for CVE-2025-38306?

Yes. Fixed in Linux 6482c3dccbfb8d20e2856ce67c75856859930b3f, Linux 287c7d34eedd37af1272dfb3b6e8656f4f026424, Linux 1f282cdc1d219c4a557f7009e81bc792820d9d9a. Upgrade Linux to 1f282cdc1d219c4a557f7009e81bc792820d9d9a or later.

How do I check if I'm affected by CVE-2025-38306?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors