CVE-2025-68212

published 16 Dec 2025 · updated 5 Aug 2026

fs: Fix uninitialized 'offp' in statmount_string()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0778ac7df5137d5041783fadfc201f8fd55a1d9b and Kernel acfde9400e611c8d2668f1c70053c4a1d6ecfc36.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.15, >=37c4a9590e1efcae7749682239fc22a330d2d325 <0778ac7df5137d5041783fadfc201f8fd55a1d9b, >=37c4a9590e1efcae7749682239fc22a330d2d325 <acfde9400e611c8d2668f1c70053c4a1d6ecfc360778ac7df5137d5041783fadfc201f8fd55a1d9b, acfde9400e611c8d2668f1c70053c4a1d6ecfc36

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-68212 severity on Zeptric[![CVE-2025-68212](https://zeptric.io/badge/cve/CVE-2025-68212.svg)](https://zeptric.io/cve/CVE-2025-68212)