mtdchar: fix integer overflow in read/write ioctls
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 37944f4f8199cd153fef74e95ca268020162f212, Kernel 457376c6fbf0c69326a9bf1f72416225f681192b, Kernel e4185bed738da755b191aa3f2e16e8b48450e1b8 and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.17, >=6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 <37944f4f8199cd153fef74e95ca268020162f212, >=6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 <457376c6fbf0c69326a9bf1f72416225f681192b, >=6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 <e4185bed738da755b191aa3f2e16e8b48450e1b8, >=6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 <eb9361484814fb12f3b7544b33835ea67d7a6a97, >=6420ac0af95dbcb2fd8452e2d551ab50e1bbad83 <f37efdd97fd1ec3e0d0f1eec279c8279e28f981e | 37944f4f8199cd153fef74e95ca268020162f212, 457376c6fbf0c69326a9bf1f72416225f681192b, e4185bed738da755b191aa3f2e16e8b48450e1b8, eb9361484814fb12f3b7544b33835ea67d7a6a97, f37efdd97fd1ec3e0d0f1eec279c8279e28f981e |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket