CVE-2025-68212
NoneCVSS
—
EPSS
0.1%
Published
Dec 16, 2025
CISA due date
—
Cloudanix analysis
A Linux kernel bug can make the system unstable or crash when certain mount information is requested.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Uninitialized pointer dereference in statmount_string() when handling STATMOUNT_MNT_UIDMAP or STATMOUNT_MNT_GIDMAP flags, causing the kernel to write through an uninitialized offp value.
Why it matters to the business
Kernel instability or crashes on systems performing mount statistics operations, with elevated risk in container orchestration and NFS-heavy environments; widespread Linux kernel exposure increases patching urgency across fleets.
How an attack unfolds
An attacker with local access invokes statmount() with UIDMAP or GIDMAP flags, triggering the code path that leaves offp uninitialized and later dereferences it, potentially leading to memory corruption.
How to fix it
Upgrade to a kernel containing commit acfde9400e611c8d2668f1c70053c4a1d6ecfc36 or later; for affected Chainguard/Wolfi packages apply kubernetes-csi-external-attacher 4.8.0-r3 or newer.
How to confirm the fix worked
Confirm the presence of the fixing commit in the running kernel source; test that statmount() with UIDMAP/GIDMAP flags no longer produces uninitialized-pointer warnings or crashes under kernel memory debugging.
Typical attack path
- Obtain local execution on a vulnerable Linux kernel
- Call statmount() supplying STATMOUNT_MNT_UIDMAP or STATMOUNT_MNT_GIDMAP flags
- Trigger the uninitialized offp dereference inside statmount_string()
- Observe resulting kernel oops, panic, or memory corruption effects
How to detect it
Review kernel logs for oops or panic messages referencing statmount_string or uninitialized pointer dereferences during mount stat operations; correlate with processes calling statmount syscall.
What your security team should do
- Prioritize kernel updates on all systems exposing NFS or container mount APIs
- Monitor vendor advisories for backported fixes in distribution kernels
- Enable kernel hardening features such as KASAN or UBSAN in test environments to surface similar issues
The record
In the Linux kernel, the following vulnerability has been resolved: fs: Fix uninitialized 'offp' in statmount_string() In statmount_string(), most flags assign an output offset pointer (offp) which is later updated with the string offset. However, the STATMOUNT_MNT_UIDMAP and STATMOUNT_MNT_GIDMAP cases directly set the struct fields instead of using offp. This leaves offp uninitialized, leading to a possible uninitialized dereference when *offp is updated. Fix it by assigning offp for UIDMAP and GIDMAP as well, keeping the code path consistent.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 6.14.0 | 6.17.10 |
| Linux | Kernel | 6.15.0 | 6.17.10 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel