CVE-2025-38498
do_change_type(): refuse to operate on unmounted/not ours mounts
Mitigation
- Upgrade Linux to 12f147ddd6de7382dad54812e65f3f08d05809fc or later.
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
Vulnerability facts
- Affected
- Linux >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 787937c4e373f1722c4343e5a5a4eb0f8543e589; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < c7d11fdf8e5db5f34a6c062c7e6ba3a0971879d2; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 432a171d60056489270c462e651e6c3a13f855b1; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 064014f7812744451d5d0592f3d2bcd727f2ee93; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 4f091ad0862b02dc42a19a120b7048de848561f8; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 9c1ddfeb662b668fff69c5f1cfdd9f5d23d55d23; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 19554c79a2095ddde850906a067915c1ef3a4114; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 12f147ddd6de7382dad54812e65f3f08d05809fc; Linux 2.6.15
- Fixed in
- Linux 787937c4e373f1722c4343e5a5a4eb0f8543e589, Linux 432a171d60056489270c462e651e6c3a13f855b1, Linux 064014f7812744451d5d0592f3d2bcd727f2ee93, Linux 4f091ad0862b02dc42a19a120b7048de848561f8, Linux 9c1ddfeb662b668fff69c5f1cfdd9f5d23d55d23, Linux 19554c79a2095ddde850906a067915c1ef3a4114, Linux 12f147ddd6de7382dad54812e65f3f08d05809fc
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 787937c4e373f1722c4343e5a5a4eb0f8543e589; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < c7d11fdf8e5db5f34a6c062c7e6ba3a0971879d2; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 432a171d60056489270c462e651e6c3a13f855b1; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 064014f7812744451d5d0592f3d2bcd727f2ee93; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 4f091ad0862b02dc42a19a120b7048de848561f8; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 9c1ddfeb662b668fff69c5f1cfdd9f5d23d55d23; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 19554c79a2095ddde850906a067915c1ef3a4114; >= 07b20889e3052c7e77d6a6a54e7e83446eb1ba84, < 12f147ddd6de7382dad54812e65f3f08d05809fc | — | cvelist |
| Linux | 2.6.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- https://git.kernel.org/stable/c/787937c4e373f1722c4343e5a5a4eb0f8543e589
- https://git.kernel.org/stable/c/c7d11fdf8e5db5f34a6c062c7e6ba3a0971879d2
- https://git.kernel.org/stable/c/432a171d60056489270c462e651e6c3a13f855b1
- https://git.kernel.org/stable/c/064014f7812744451d5d0592f3d2bcd727f2ee93
- https://git.kernel.org/stable/c/4f091ad0862b02dc42a19a120b7048de848561f8
- https://git.kernel.org/stable/c/9c1ddfeb662b668fff69c5f1cfdd9f5d23d55d23
- https://git.kernel.org/stable/c/19554c79a2095ddde850906a067915c1ef3a4114
- https://git.kernel.org/stable/c/12f147ddd6de7382dad54812e65f3f08d05809fc
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.