# CVE-2025-68212: fs: Fix uninitialized 'offp' in statmount_string()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-12-16T13:57:08.327Z
- Modified: 2026-10-14T13:10:00.187Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 37c4a9590e1efcae7749682239fc22a330d2d325 before acfde9400e611c8d2668f1c70053c4a1d6ecfc36; from 37c4a9590e1efcae7749682239fc22a330d2d325 before 0778ac7df5137d5041783fadfc201f8fd55a1d9b; 6.15 (not affected: before 6.15; from 6.17.10 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/acfde9400e611c8d2668f1c70053c4a1d6ecfc36>
- <https://git.kernel.org/stable/c/0778ac7df5137d5041783fadfc201f8fd55a1d9b>

## Sources

- CVE List: [CVE-2025-68212](https://www.cve.org/CVERecord?id=CVE-2025-68212), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-68212](https://nvd.nist.gov/vuln/detail/CVE-2025-68212), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-68212 · Whole record: https://cve.day/CVE-2025-68212.json · Rebuilt by cve.day 2026-11-25T22:59:09.496Z
