# CVE-2025-68237: mtdchar: fix integer overflow in read/write ioctls

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-16T14:08:30.940Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< f37efdd97fd1ec3e0d0f1eec279c8279e28f981e; \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< 457376c6fbf0c69326a9bf1f72416225f681192b; \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< eb9361484814fb12f3b7544b33835ea67d7a6a97; \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< 37944f4f8199cd153fef74e95ca268020162f212; \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< e4185bed738da755b191aa3f2e16e8b48450e1b8
- Anyone running Linux 5.17

## Description

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

mtdchar: fix integer overflow in read/write ioctls

The "req.start" and "req.len" variables are u64 values that come from the
user at the start of the function.  We mask away the high 32 bits of
"req.len" so that's capped at U32\_MAX but the "req.start" variable can go
up to U64\_MAX which means that the addition can still integer overflow.

Use check\_add\_overflow() to fix this bug.

## Affected and fixed versions

- Linux: \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< f37efdd97fd1ec3e0d0f1eec279c8279e28f981e; \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< 457376c6fbf0c69326a9bf1f72416225f681192b; \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< eb9361484814fb12f3b7544b33835ea67d7a6a97; \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< 37944f4f8199cd153fef74e95ca268020162f212; \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< e4185bed738da755b191aa3f2e16e8b48450e1b8 (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68237.md
Affected: Linux >= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, < f37efdd97fd1ec3e0d0f1eec279c8279e28f981e; >= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, < 457376c6fbf0c69326a9bf1f72416225f681192b; >= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, < eb9361484814fb12f3b7544b33835ea67d7a6a97; >= 6420ac0af95dbcb2fd8452e…
Fixed in: Linux 457376c6fbf0c69326a9bf1f72416225f681192b, Linux 37944f4f8199cd153fef74e95ca268020162f212

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-68237 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< f37efdd97fd1ec3e0d0f1eec279c8279e28f981e; \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< 457376c6fbf0c69326a9bf1f72416225f681192b; \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< eb9361484814fb12f3b7544b33835ea67d7a6a97; \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< 37944f4f8199cd153fef74e95ca268020162f212; \>= 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, \< e4185bed738da755b191aa3f2e16e8b48450e1b8; Linux 5.17.

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

Yes. Fixed in Linux 457376c6fbf0c69326a9bf1f72416225f681192b, Linux 37944f4f8199cd153fef74e95ca268020162f212. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/f37efdd97fd1ec3e0d0f1eec279c8279e28f981e>
- other: <https://git.kernel.org/stable/c/457376c6fbf0c69326a9bf1f72416225f681192b>
- other: <https://git.kernel.org/stable/c/eb9361484814fb12f3b7544b33835ea67d7a6a97>
- other: <https://git.kernel.org/stable/c/37944f4f8199cd153fef74e95ca268020162f212>
- other: <https://git.kernel.org/stable/c/e4185bed738da755b191aa3f2e16e8b48450e1b8>

## 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-68237>

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