libceph: bound get_version reply decode to front len
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f6cbf6878f3a1503c872ba8f1e69a58ee68d8b2e, Kernel 0d934c934ec746d53fc7e4f53239792647bbae63, Kernel 1307028f082756bf453e1889aee9983d30643a4b and 12 more.
In the Linux kernel, the following vulnerability has been resolved: libceph: bound get_version reply decode to front len handle_get_version_reply() uses msg->front_alloc_len as the decode boundary for MON_GET_VERSION_REPLY. That is the size of the reused reply buffer, not the number of bytes actually received. A truncated reply can therefore pass ceph_decode_need() and decode the second u64 from stale tail bytes left in the buffer by an earlier message, causing an uninitialized memory read. Use msg->front.iov_len as the receive-side decode boundary, matching other libceph reply handlers and limiting decoding to the bytes that were actually read from the wire.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=513a8243d67f8e8d27f2883bd2f18bc87c7ca376 <f6cbf6878f3a1503c872ba8f1e69a58ee68d8b2e, >=513a8243d67f8e8d27f2883bd2f18bc87c7ca376 <0d934c934ec746d53fc7e4f53239792647bbae63, >=513a8243d67f8e8d27f2883bd2f18bc87c7ca376 <1307028f082756bf453e1889aee9983d30643a4b, >=513a8243d67f8e8d27f2883bd2f18bc87c7ca376 <340e0386aa39da181015bee38f309018c335ce16, >=513a8243d67f8e8d27f2883bd2f18bc87c7ca376 <4e7ebfaa0d14cf50e44041bfde38070d6dbc019f, >=513a8243d67f8e8d27f2883bd2f18bc87c7ca376 <72a35070fcefa229b1b031aa7482ad3788e18f07, >=513a8243d67f8e8d27f2883bd2f18bc87c7ca376 <d3c32939fa0e3ee9b883b9a0fd1972c5c444e3d0, >=513a8243d67f8e8d27f2883bd2f18bc87c7ca376 <d60de8253c85a02d0e6194b0735e7a562981a04c, =3.16 | f6cbf6878f3a1503c872ba8f1e69a58ee68d8b2e, 0d934c934ec746d53fc7e4f53239792647bbae63, 1307028f082756bf453e1889aee9983d30643a4b, 340e0386aa39da181015bee38f309018c335ce16, 4e7ebfaa0d14cf50e44041bfde38070d6dbc019f, 72a35070fcefa229b1b031aa7482ad3788e18f07, d3c32939fa0e3ee9b883b9a0fd1972c5c444e3d0, d60de8253c85a02d0e6194b0735e7a562981a04c |
| 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, >=3.16.0 <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