Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f24e9980eb860d8600cbe5ef3d2fd9295320d229 before 952ca5dc99913d169263f59fd689f586729a13c1; affected f24e9980eb860d8600cbe5ef3d2fd9295320d229 before 146461f09565afe3665e65b0423d3d6b0fe806c5; affected f24e9980eb860d8600cbe5ef3d2fd9295320d229 before 80fc40e11cda1b5d990a3f69c6efa344fb5cd987; affected f24e9980eb860d8600cbe5ef3d2fd9295320d229 before b8a9fb6bf806f9c4891e71ae1beab0c07c23a877; affected f24e9980eb860d8600cbe5ef3d2fd9295320d229 before 826cd1de5802fd392922785f9b64d76e65d2a100; affected f24e9980eb860d8600cbe5ef3d2fd9295320d229 before 3b2f1937f5fce8b7dd5432e7693e3cc8b5eece56; affected f24e9980eb860d8600cbe5ef3d2fd9295320d229 before 70998f91030ee083ecb336a1dff0701c20a38081; affected f24e9980eb860d8600cbe5ef3d2fd9295320d229 before 05f90284223381005d6bcddab3fda4a97f9c3401 |
| Linux / Linux | affected 2.6.34; unaffected 0 before 2.6.34; unaffected 5.10.265 through 5.10.*; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.148 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/952ca5dc99913d169263f59fd689f586729a13c1
- https://git.kernel.org/stable/c/146461f09565afe3665e65b0423d3d6b0fe806c5
- https://git.kernel.org/stable/c/80fc40e11cda1b5d990a3f69c6efa344fb5cd987
- https://git.kernel.org/stable/c/b8a9fb6bf806f9c4891e71ae1beab0c07c23a877
- https://git.kernel.org/stable/c/826cd1de5802fd392922785f9b64d76e65d2a100
- https://git.kernel.org/stable/c/3b2f1937f5fce8b7dd5432e7693e3cc8b5eece56
- https://git.kernel.org/stable/c/70998f91030ee083ecb336a1dff0701c20a38081
- https://git.kernel.org/stable/c/05f90284223381005d6bcddab3fda4a97f9c3401
ADP enrichment
No English description supplied.
No references supplied.