libceph: reject zero bucket types in crush_decode
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel b8a9fb6bf806f9c4891e71ae1beab0c07c23a877, Kernel 05f90284223381005d6bcddab3fda4a97f9c3401, Kernel 146461f09565afe3665e65b0423d3d6b0fe806c5 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: libceph: reject zero bucket types in crush_decode CRUSH bucket type 0 is reserved for devices. The mapper relies on that invariant and uses type 0 to identify leaf devices. If crush_decode() accepts a bucket with type 0, a malformed CRUSH map can make the mapper treat a negative bucket ID as a device and pass it to is_out(), which then indexes the OSD weight array with a negative value. Reject zero bucket types while decoding the CRUSH map so the invalid state never reaches the mapper.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f24e9980eb860d8600cbe5ef3d2fd9295320d229 <b8a9fb6bf806f9c4891e71ae1beab0c07c23a877, >=f24e9980eb860d8600cbe5ef3d2fd9295320d229 <05f90284223381005d6bcddab3fda4a97f9c3401, >=f24e9980eb860d8600cbe5ef3d2fd9295320d229 <146461f09565afe3665e65b0423d3d6b0fe806c5, >=f24e9980eb860d8600cbe5ef3d2fd9295320d229 <3b2f1937f5fce8b7dd5432e7693e3cc8b5eece56, >=f24e9980eb860d8600cbe5ef3d2fd9295320d229 <70998f91030ee083ecb336a1dff0701c20a38081, >=f24e9980eb860d8600cbe5ef3d2fd9295320d229 <80fc40e11cda1b5d990a3f69c6efa344fb5cd987, >=f24e9980eb860d8600cbe5ef3d2fd9295320d229 <826cd1de5802fd392922785f9b64d76e65d2a100, >=f24e9980eb860d8600cbe5ef3d2fd9295320d229 <952ca5dc99913d169263f59fd689f586729a13c1, =2.6.34 | b8a9fb6bf806f9c4891e71ae1beab0c07c23a877, 05f90284223381005d6bcddab3fda4a97f9c3401, 146461f09565afe3665e65b0423d3d6b0fe806c5, 3b2f1937f5fce8b7dd5432e7693e3cc8b5eece56, 70998f91030ee083ecb336a1dff0701c20a38081, 80fc40e11cda1b5d990a3f69c6efa344fb5cd987, 826cd1de5802fd392922785f9b64d76e65d2a100, 952ca5dc99913d169263f59fd689f586729a13c1 |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=2.6.34 <5.10.265 | 5.15.216, 6.1.183, 6.18.42, 7.1.6, 6.6.148, 6.12.101, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket