md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 152bb26796ff054af50b2ee1b3ca56e364e4f61b, Kernel 301867b1c16805aebbc306aafa6ecdc68b73c7e5, Kernel 374fb914304d9b500721007f3837ea8f1f9a2418 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: md/raid10: check slab-out-of-bounds in md_bitmap_get_counter If we write a large number to md/bitmap_set_bits, md_bitmap_checkpage() will return -EINVAL because 'page >= bitmap->pages', but the return value was not checked immediately in md_bitmap_get_counter() in order to set *blocks value and slab-out-of-bounds occurs. Move check of 'page >= bitmap->pages' to md_bitmap_get_counter() and return directly if true.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.36, >=ef4256733506f2459a0c436b62267d22a3f0cec6 <152bb26796ff054af50b2ee1b3ca56e364e4f61b, >=ef4256733506f2459a0c436b62267d22a3f0cec6 <301867b1c16805aebbc306aafa6ecdc68b73c7e5, >=ef4256733506f2459a0c436b62267d22a3f0cec6 <374fb914304d9b500721007f3837ea8f1f9a2418, >=ef4256733506f2459a0c436b62267d22a3f0cec6 <39fa14e824acfd470db4f42c354297456bd82b53, >=ef4256733506f2459a0c436b62267d22a3f0cec6 <a134dd582c0d5b6068efa308bd485cf1d00b3f65, >=ef4256733506f2459a0c436b62267d22a3f0cec6 <b0b971fe7d61411ede63c3291764dbde1577ef2c, >=ef4256733506f2459a0c436b62267d22a3f0cec6 <be1a3ec63a840cc9e59a033acf154f56255699a1, >=ef4256733506f2459a0c436b62267d22a3f0cec6 <bea301c046110bf421a3ce153fb868cb8d618e90 | 152bb26796ff054af50b2ee1b3ca56e364e4f61b, 301867b1c16805aebbc306aafa6ecdc68b73c7e5, 374fb914304d9b500721007f3837ea8f1f9a2418, 39fa14e824acfd470db4f42c354297456bd82b53, a134dd582c0d5b6068efa308bd485cf1d00b3f65, b0b971fe7d61411ede63c3291764dbde1577ef2c, be1a3ec63a840cc9e59a033acf154f56255699a1, bea301c046110bf421a3ce153fb868cb8d618e90 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket