libceph: prevent potential out-of-bounds reads in process_message_header()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ cd1a677cad994021b19665ed476aea63f5d54f31 · < 035867ae6f18df0aeedb2a57a5b74091bd4e3fe8| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
libceph: prevent potential out-of-bounds reads in process_message_header()
If the message frame is (maliciously) corrupted in a way that the length of the control segment ends up being less than the size of the message header or a different frame is made to look like a message frame, out-of-bounds reads may ensue in process_message_header().
Perform an explicit bounds check before decoding the message header.
From the CVE record · Linux
The Linux kernel’s libceph process_message_header() can read out of bounds when a maliciously corrupted frame has a control segment shorter than the message header or another frame is made to look like a message frame. The input does not specify whether exploitation requires network access, authentication, or user interaction.
Engineers running the Linux kernel with libceph should check their installations; affected versions are not specified.