ipmi: ipmb: validate write message length
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 51bd6f291583684f495ea498984dfc22049d7fd2 · < 5719431ca2b5fa26560bb38f6202f8b97fa3bbb0| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ipmi: ipmb: validate write message length
ipmb_write() read message fields before validating the length byte.
A zero or short write can read uninitialized stack bytes.
A length smaller than the SMBus header underflows the block write length.
Require a non-empty buffer and the minimum IPMB request length.
Also require the length byte plus payload before parsing the message.
From the CVE record · Linux
The Linux kernel’s IPMB write handler parses message fields before validating the write length. A local caller submitting a zero-length or short write can trigger a read of uninitialized stack bytes; a length shorter than the SMBus header can also underflow the block-write length. The input does not specify authentication requirements or user interaction.
Engineers running Linux kernels with the IPMB driver should check their kernel version against the vendor advisory; affected versions were not provided.