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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 to < f37efdd97fd1ec3e0d0f1eec279c8279e28f981eaffected6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 to < 457376c6fbf0c69326a9bf1f72416225f681192baffected6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 to < eb9361484814fb12f3b7544b33835ea67d7a6a97affected6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 to < 37944f4f8199cd153fef74e95ca268020162f212affected6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 to < e4185bed738da755b191aa3f2e16e8b48450e1b8affected
Linux Linux
Default version status: affected
5.17affected0 to < 5.17unaffected6.1.159 to ≤ 6.1.*unaffected6.6.118 to ≤ 6.6.*unaffected6.12.60 to ≤ 6.12.*unaffected6.17.10 to ≤ 6.17.*unaffected6.18 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/f37efdd97fd1ec3e0d0f1eec279c8279e28f981e ↗
- https://git.kernel.org/stable/c/457376c6fbf0c69326a9bf1f72416225f681192b ↗
- https://git.kernel.org/stable/c/eb9361484814fb12f3b7544b33835ea67d7a6a97 ↗
- https://git.kernel.org/stable/c/37944f4f8199cd153fef74e95ca268020162f212 ↗
- https://git.kernel.org/stable/c/e4185bed738da755b191aa3f2e16e8b48450e1b8 ↗