CVE-2025-68212
published high CVSS 3.1 · 7.8fs: Fix uninitialized 'offp' in statmount_string()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux37c4a9590e1efcae7749682239fc22a330d2d325 to < acfde9400e611c8d2668f1c70053c4a1d6ecfc36 · 37c4a9590e1efcae7749682239fc22a330d2d325 to < 0778ac7df5137d5041783fadfc201f8fd55a1d9b · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.17.10 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-6.17 | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-aws-6.17-cloud-tools-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-aws-6.17-headers-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-aws-6.17-tools-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-6.17 | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-azure-6.17-cloud-tools-6.17.0-1010 | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-azure-6.17-headers-6.17.0-1010 | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-azure-6.17-tools-6.17.0-1010 | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1009-aws-64k | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1009-gcp | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1009-gcp-64k | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1009-oracle | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1009-oracle-64k | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1010-azure | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-19-generic-64k | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1009-aws-64k | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1010-azure | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-gcp-6.17 | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-gcp-6.17-headers-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-gcp-6.17-tools-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-headers-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-headers-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-headers-6.17.0-1009-aws-64k | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-headers-6.17.0-1009-gcp | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-headers-6.17.0-1009-gcp-64k | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-headers-6.17.0-1009-oracle | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-headers-6.17.0-1009-oracle-64k | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-headers-6.17.0-1010-azure | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-headers-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-headers-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-headers-6.17.0-19-generic-64k | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-hwe-6.17 | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-hwe-6.17-cloud-tools-6.17.0-19 | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-hwe-6.17-headers-6.17.0-19 | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-hwe-6.17-tools-6.17.0-19 | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-image-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1009-aws-64k | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1009-gcp | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1009-gcp-64k | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1009-oracle | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1009-oracle-64k | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1010-azure | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-19-generic-64k | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-lib-rust-6.17.0-1009-gcp | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-lib-rust-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-modules-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-6.17.0-1009-aws-64k | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-6.17.0-1009-gcp | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-modules-6.17.0-1009-gcp-64k | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-modules-6.17.0-1009-oracle | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-modules-6.17.0-1009-oracle-64k | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-modules-6.17.0-1010-azure | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-modules-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-6.17.0-19-generic-64k | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-evdi-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1009-aws-64k | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1009-gcp | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1009-gcp-64k | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1009-oracle | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1009-oracle-64k | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1010-azure | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-modules-extra-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-vision-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-vision-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-oem-6.17 | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-oem-6.17-headers-6.17.0-1017 | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-oem-6.17-tools-6.17.0-1017 | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-oracle-6.17 | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-oracle-6.17-headers-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-oracle-6.17-tools-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-realtime-6.17 | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-realtime-6.17-cloud-tools-6.17.0-1008 | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-realtime-6.17-headers-6.17.0-1008 | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-realtime-6.17-tools-6.17.0-1008 | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-tools-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-tools-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached through the local statmount() syscall by requesting UID or GID mappings for an idmapped mount. AC:L - No race or uncontrollable condition is required; an attacker can reliably issue the request against a visible idmapped mount with a resolvable mapping. PR:L - No capability is required for a mount reachable beneath the caller's root, and an unprivileged user can access or create suitable idmapped mounts through user namespaces. UI:N - Exploitation requires only attacker-controlled syscalls and no action by another user. S:U - The corruption affects the host kernel within the same operating-system security authority, so ordinary privilege escalation does not change scope. C:H - The uninitialized write can partially corrupt seq.buf before it is used as a copy_to_user() source, creating a plausible kernel-memory disclosure primitive. I:H - The four-byte kernel write corrupts live pointers such as root.mnt or seq.buf, which are subsequently passed to mntput() or kvfree(), enabling further memory corruption and potential code execution. A:H - The malformed pointer is subsequently dereferenced or freed, producing a repeatable kernel oops and potentially a system-wide panic.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 37c4a9590e1efcae7749682239fc22a330d2d325 to < acfde9400e611c8d2668f1c70053c4a1d6ecfc36 (affected · git)37c4a9590e1efcae7749682239fc22a330d2d325 to < 0778ac7df5137d5041783fadfc201f8fd55a1d9b (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.17.10 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
fs: Fix uninitialized 'offp' in statmount_string()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0b1235d047c94019c65997339db38fa4753a12811f96f428db41c2f877505713
- Ingested
- 23 Sep 2026, 08:57:02 UTC
- Source record
- Official CVE record