CVE-2026-68433
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
libceph: gebonden get_version antwoord decoderen naar front len
handle_get_version_reply() gebruiktmsg- >front_alloc_len als decodering
grens voor MON_GET_VERSION_REPLY. Dat is de grootte van de hergebruikte
antwoordbuffer, niet het aantal daadwerkelijk ontvangen bytes. Een afgekapt antwoord kan daarom ceph_decode_need() passeren en de
tweede u64 van verouderde staartbytes achtergelaten in de buffer door een eerdere
bericht, waardoor een niet-geïnitialiseerd geheugen wordt gelezen. Gebruik msg-> front.iov_lenals de decodeergrens aan de ontvangende kant, overeenkomend
andere libceph-antwoordbehandelaars en het beperken van de decodering tot de bytes die
daadwerkelijk van de draad werden afgelezen.
Origineel (Engels) tonen
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.