CVE-2025-68237
mtdchar: fix integer overflow in read/write ioctls
Check your servers for CVE-2025-68237
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68237 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, before f37efdd97fd1ec3e0d0f1eec279c8279e28f981e affected from 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, before 457376c6fbf0c69326a9bf1f72416225f681192b affected from 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, before eb9361484814fb12f3b7544b33835ea67d7a6a97 affected from 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, before 37944f4f8199cd153fef74e95ca268020162f212 affected from 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83, before e4185bed738da755b191aa3f2e16e8b48450e1b8
Other versions: unaffected
|
| Linux |
affected 5.17 unaffected before 5.17 unaffected from 6.1.159 up to and including 6.1.* unaffected from 6.6.118 up to and including 6.6.* unaffected from 6.12.60 up to and including 6.12.* unaffected from 6.17.10 up to and including 6.17.* unaffected 6.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68237 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68237
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-68237
trivy image --scanners vuln IMAGE | grep CVE-2025-68237
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f37efdd97fd1ec3e0d0f1eec279c8279e28f981e git.kernel.org
- https://git.kernel.org/stable/c/457376c6fbf0c69326a9bf1f72416225f681192b git.kernel.org
- https://git.kernel.org/stable/c/eb9361484814fb12f3b7544b33835ea67d7a6a97 git.kernel.org
- https://git.kernel.org/stable/c/37944f4f8199cd153fef74e95ca268020162f212 git.kernel.org
- https://git.kernel.org/stable/c/e4185bed738da755b191aa3f2e16e8b48450e1b8 git.kernel.org
Source: the record CVE-2025-68237 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse