# CVE-2025-68319: netconsole: Acquire su\_mutex before navigating configs hierarchy

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **Published:** 2025-12-16T15:39:48.903Z
- **Modified:** 2026-10-21T13:18:22.140Z

## Who should check

- Anyone running Linux \>= df03f830d099f0811281a222aefdd9d400fa0b72, \< 932c0c7a7ec413399febca5fe3dddf913bb5c924; \>= df03f830d099f0811281a222aefdd9d400fa0b72, \< ff70aa7e8cf05745fdba7258952a8bedf33ea336; \>= df03f830d099f0811281a222aefdd9d400fa0b72, \< d7d2fcf7ae31471b4e08b7e448b8fd0ec2e06a1b
- Anyone running Linux 6.9

## Description

In the Linux kernel, the following vulnerability has been resolved:

netconsole: Acquire su\_mutex before navigating configs hierarchy

There is a race between operations that iterate over the userdata
cg\_children list and concurrent add/remove of userdata items through
configfs. The update\_userdata() function iterates over the
nt-\>userdata\_group.cg\_children list, and count\_extradata\_entries() also
iterates over this same list to count nodes.

Quoting from Documentation/filesystems/configfs.rst:
\> A subsystem can navigate the cg\_children list and the ci\_parent pointer
\> to see the tree created by the subsystem.  This can race with configfs'
\> management of the hierarchy, so configfs uses the subsystem mutex to
\> protect modifications.  Whenever a subsystem wants to navigate the
\> hierarchy, it must do so under the protection of the subsystem
\> mutex.

Without proper locking, if a userdata item is added or removed
concurrently while these functions are iterating, the list can be
accessed in an inconsistent state. For example, the list\_for\_each() loop
can reach a node that is being removed from the list by list\_del\_init()
which sets the nodes' .next pointer to point to itself, so the loop will
never end (or reach the WARN\_ON\_ONCE in update\_userdata() ).

Fix this by holding the configfs subsystem mutex (su\_mutex) during all
operations that iterate over cg\_children.
This includes:
- userdatum\_value\_store() which calls update\_userdata() to iterate over
  cg\_children
- All sysdata\_\*\_enabled\_store() functions which call
  count\_extradata\_entries() to iterate over cg\_children

The su\_mutex must be acquired before dynamic\_netconsole\_mutex to avoid
potential lock ordering issues, as configfs operations may already hold
su\_mutex when calling into our code.

## Affected and fixed versions

- Linux: \>= df03f830d099f0811281a222aefdd9d400fa0b72, \< 932c0c7a7ec413399febca5fe3dddf913bb5c924; \>= df03f830d099f0811281a222aefdd9d400fa0b72, \< ff70aa7e8cf05745fdba7258952a8bedf33ea336; \>= df03f830d099f0811281a222aefdd9d400fa0b72, \< d7d2fcf7ae31471b4e08b7e448b8fd0ec2e06a1b (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68319.md
Affected: Linux >= df03f830d099f0811281a222aefdd9d400fa0b72, < 932c0c7a7ec413399febca5fe3dddf913bb5c924; >= df03f830d099f0811281a222aefdd9d400fa0b72, < ff70aa7e8cf05745fdba7258952a8bedf33ea336; >= df03f830d099f0811281a222aefdd9d400fa0b72, < d7d2fcf7ae31471b4e08b7e448b8fd0ec2e06a1b; Linux 6.9
Fixed in: Linux 932c0c7a7ec413399febca5fe3dddf913bb5c924

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.
```

## FAQ

### Is CVE-2025-68319 being exploited?

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

### How serious is CVE-2025-68319?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68319?

Linux \>= df03f830d099f0811281a222aefdd9d400fa0b72, \< 932c0c7a7ec413399febca5fe3dddf913bb5c924; \>= df03f830d099f0811281a222aefdd9d400fa0b72, \< ff70aa7e8cf05745fdba7258952a8bedf33ea336; \>= df03f830d099f0811281a222aefdd9d400fa0b72, \< d7d2fcf7ae31471b4e08b7e448b8fd0ec2e06a1b; Linux 6.9.

### Is there a fix for CVE-2025-68319?

Yes. Fixed in Linux 932c0c7a7ec413399febca5fe3dddf913bb5c924. No fix listed yet: follow the vendor advisory.

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

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.

## References

- other: <https://git.kernel.org/stable/c/932c0c7a7ec413399febca5fe3dddf913bb5c924>
- other: <https://git.kernel.org/stable/c/ff70aa7e8cf05745fdba7258952a8bedf33ea336>
- other: <https://git.kernel.org/stable/c/d7d2fcf7ae31471b4e08b7e448b8fd0ec2e06a1b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68319>

HTML: <https://flawdb.com/CVE-2025-68319> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68319>
