# CVE-2025-38498: do\_change\_type(): refuse to operate on unmounted/not ours mounts

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **Published:** 2025-07-30T06:03:36.483Z
- **Modified:** 2026-10-15T01:07:27.398Z

## Who should check

- Anyone running Linux \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 787937c4e373f1722c4343e5a5a4eb0f8543e589; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< c7d11fdf8e5db5f34a6c062c7e6ba3a0971879d2; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 432a171d60056489270c462e651e6c3a13f855b1; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 064014f7812744451d5d0592f3d2bcd727f2ee93; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 4f091ad0862b02dc42a19a120b7048de848561f8; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 9c1ddfeb662b668fff69c5f1cfdd9f5d23d55d23; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 19554c79a2095ddde850906a067915c1ef3a4114; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 12f147ddd6de7382dad54812e65f3f08d05809fc
- Anyone running Linux 2.6.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

do\_change\_type(): refuse to operate on unmounted/not ours mounts

Ensure that propagation settings can only be changed for mounts located
in the caller's mount namespace. This change aligns permission checking
with the rest of mount(2).

## Affected and fixed versions

- Linux: \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 787937c4e373f1722c4343e5a5a4eb0f8543e589; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< c7d11fdf8e5db5f34a6c062c7e6ba3a0971879d2; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 432a171d60056489270c462e651e6c3a13f855b1; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 064014f7812744451d5d0592f3d2bcd727f2ee93; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 4f091ad0862b02dc42a19a120b7048de848561f8; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 9c1ddfeb662b668fff69c5f1cfdd9f5d23d55d23; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 19554c79a2095ddde850906a067915c1ef3a4114; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 12f147ddd6de7382dad54812e65f3f08d05809fc (cvelist)
- Linux: 2.6.15 (cvelist)

## Mitigation

- Upgrade Linux to 12f147ddd6de7382dad54812e65f3f08d05809fc or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38498. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38498.md
Affected: Linux >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 787937c4e373f1722c4343e5a5a4eb0f8543e589; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < c7d11fdf8e5db5f34a6c062c7e6ba3a0971879d2; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 432a171d60056489270c462e651e6c3a13f855b1; >= 07b20889e3052c7e77d6a6a…
Fixed in: Linux 787937c4e373f1722c4343e5a5a4eb0f8543e589, Linux 432a171d60056489270c462e651e6c3a13f855b1, Linux 064014f7812744451d5d0592f3d2bcd727f2ee93, Linux 4f091ad0862b02dc42a19a120b7048de848561f8, Linux 9c1ddfeb662b668fff69c5f1cfdd9f5d23d55d23, Linux 19554c79a2095ddde850906a067915c1ef3a4114, Linux 12f14…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38498 being exploited?

There is no confirmed exploitation: CVE-2025-38498 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38498?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38498?

Linux \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 787937c4e373f1722c4343e5a5a4eb0f8543e589; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< c7d11fdf8e5db5f34a6c062c7e6ba3a0971879d2; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 432a171d60056489270c462e651e6c3a13f855b1; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 064014f7812744451d5d0592f3d2bcd727f2ee93; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 4f091ad0862b02dc42a19a120b7048de848561f8; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 9c1ddfeb662b668fff69c5f1cfdd9f5d23d55d23; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 19554c79a2095ddde850906a067915c1ef3a4114; \>= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, \< 12f147ddd6de7382dad54812e65f3f08d05809fc; Linux 2.6.15.

### Is there a fix for CVE-2025-38498?

Yes. Fixed in Linux 787937c4e373f1722c4343e5a5a4eb0f8543e589, Linux 432a171d60056489270c462e651e6c3a13f855b1, Linux 064014f7812744451d5d0592f3d2bcd727f2ee93, Linux 4f091ad0862b02dc42a19a120b7048de848561f8, Linux 9c1ddfeb662b668fff69c5f1cfdd9f5d23d55d23, Linux 19554c79a2095ddde850906a067915c1ef3a4114, Linux 12f147ddd6de7382dad54812e65f3f08d05809fc. Upgrade Linux to 12f147ddd6de7382dad54812e65f3f08d05809fc or later.

### How do I check if I'm affected by CVE-2025-38498?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/787937c4e373f1722c4343e5a5a4eb0f8543e589>
- patch: <https://git.kernel.org/stable/c/c7d11fdf8e5db5f34a6c062c7e6ba3a0971879d2>
- patch: <https://git.kernel.org/stable/c/432a171d60056489270c462e651e6c3a13f855b1>
- patch: <https://git.kernel.org/stable/c/064014f7812744451d5d0592f3d2bcd727f2ee93>
- patch: <https://git.kernel.org/stable/c/4f091ad0862b02dc42a19a120b7048de848561f8>
- patch: <https://git.kernel.org/stable/c/9c1ddfeb662b668fff69c5f1cfdd9f5d23d55d23>
- patch: <https://git.kernel.org/stable/c/19554c79a2095ddde850906a067915c1ef3a4114>
- patch: <https://git.kernel.org/stable/c/12f147ddd6de7382dad54812e65f3f08d05809fc>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-089022.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38498>

HTML: <https://flawdb.com/CVE-2025-38498> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38498>
