{"id":"CVE-2025-68237","aliases":["CVE-2025-68237"],"related":[],"kind":"vulnerability","state":"published","title":"mtdchar: fix integer overflow in read/write ioctls","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtdchar: fix integer overflow in read/write ioctls\n\nThe \"req.start\" and \"req.len\" variables are u64 values that come from the\nuser at the start of the function.  We mask away the high 32 bits of\n\"req.len\" so that's capped at U32_MAX but the \"req.start\" variable can go\nup to U64_MAX which means that the addition can still integer overflow.\n\nUse check_add_overflow() to fix this bug.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtdchar: fix integer overflow in read/write ioctls\n\nThe \"req.start\" and \"req.len\" variables are u64 values that come from the\nuser at the start of the function.  We mask away the high 32 bits of\n\"req.len\" so that's capped at U32_MAX but the \"req.start\" variable can go\nup to U64_MAX which means that the addition can still integer overflow.\n\nUse check_add_overflow() to fix this bug.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nmtdchar: corregir desbordamiento de entero en ioctls de lectura/escritura\n\nLas variables req.start y req.len son valores u64 que provienen del usuario al inicio de la función. Enmascaramos los 32 bits superiores de req.len para que esté limitado a U32_MAX, pero la variable req.start puede llegar hasta U64_MAX, lo que significa que la suma aún puede sufrir un desbordamiento de entero.\n\nUtilizar check_add_overflow() para corregir este error.","source":"nvd"}],"published":"2025-12-16T14:08:30.940Z","modified":"2026-10-14T13:10:00.187Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6420ac0af95dbcb2fd8452e2d551ab50e1bbad83","fixed":"f37efdd97fd1ec3e0d0f1eec279c8279e28f981e","status":"affected"},{"type":"git","introduced":"6420ac0af95dbcb2fd8452e2d551ab50e1bbad83","fixed":"457376c6fbf0c69326a9bf1f72416225f681192b","status":"affected"},{"type":"git","introduced":"6420ac0af95dbcb2fd8452e2d551ab50e1bbad83","fixed":"eb9361484814fb12f3b7544b33835ea67d7a6a97","status":"affected"},{"type":"git","introduced":"6420ac0af95dbcb2fd8452e2d551ab50e1bbad83","fixed":"37944f4f8199cd153fef74e95ca268020162f212","status":"affected"},{"type":"git","introduced":"6420ac0af95dbcb2fd8452e2d551ab50e1bbad83","fixed":"e4185bed738da755b191aa3f2e16e8b48450e1b8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"6.1.159","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.118","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.60","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.10","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f37efdd97fd1ec3e0d0f1eec279c8279e28f981e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/457376c6fbf0c69326a9bf1f72416225f681192b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb9361484814fb12f3b7544b33835ea67d7a6a97","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37944f4f8199cd153fef74e95ca268020162f212","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e4185bed738da755b191aa3f2e16e8b48450e1b8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68237","url":"https://www.cve.org/CVERecord?id=CVE-2025-68237","licence":"CVE Terms of Use","modified":"2026-05-11T21:49:29.135Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68237","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68237","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.507Z","epss":{"score":0.00201,"percentile":0.1053,"date":"2026-12-01T12:00:22.000Z"}}