mtdchar: fix integer overflow in read/write ioctls (Linux Linux)

CVE-2025-68237
Not available

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 < f37efdd97fd1ec3e0d0f1eec279c8279e28f981e ; affected 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 < 457376c6fbf0c69326a9bf1f72416225f681192b ; affected 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 < eb9361484814fb12f3b7544b33835ea67d7a6a97 ; affected 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 < 37944f4f8199cd153fef74e95ca268020162f212 ; affected 6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 < e4185bed738da755b191aa3f2e16e8b48450e1b8
Linux · Linuxaffected 5.17 ; unaffected 0 < 5.17 ; unaffected 6.1.159 ≤ 6.1.* ; unaffected 6.6.118 ≤ 6.6.* ; unaffected 6.12.60 ≤ 6.12.* ; unaffected 6.17.10 ≤ 6.17.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD