CVE-2025-68212
Last modified
CVE-2025-68212 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 37c4a9590e1efcae7749682239fc22a330d2d325, < acfde9400e611c8d2668f1c70053c4a1d6ecfc36; >= 37c4a9590e1efcae7749682239fc22a330d2d325, < 0778ac7df5137d5041783fadfc201f8fd55a1d9b |
| Linux | Linux | 6.15 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-68212?
How severe is CVE-2025-68212?
How do I fix CVE-2025-68212?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-68207In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-68208In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-68209In the Linux kernel, the following vulnerability has been re…
- CVE-2025-6821A vulnerability was found in code-projects Inventory Managem…9.8
- CVE-2025-68210In the Linux kernel, the following vulnerability has been re…
- CVE-2025-68211In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-68213In the Linux kernel, the following vulnerability has been re…
- CVE-2025-68214In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-68215In the Linux kernel, the following vulnerability has been re…7
- CVE-2025-68216In the Linux kernel, the following vulnerability has been re…
- CVE-2025-68217In the Linux kernel, the following vulnerability has been re…
- CVE-2025-68218In the Linux kernel, the following vulnerability has been re…7.5
Are you affected by CVE-2025-68212?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
