diff options
author | 2021-11-24 13:03:23 -0800 | |
---|---|---|
committer | 2021-11-25 08:21:13 -0600 | |
commit | c33fdfbabb6c930454df017f3cd3507dc1a87d09 (patch) | |
tree | 42323dab0427115a55c21f0d0b418672841cd802 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ipmi: msghandler: Make symbol 'remove_work_wq' static (diff) | |
download | wireguard-linux-c33fdfbabb6c930454df017f3cd3507dc1a87d09.tar.xz wireguard-linux-c33fdfbabb6c930454df017f3cd3507dc1a87d09.zip |
ipmi: fix oob access due to uninit smi_msg type
We're hitting OOB accesses in handle_ipmb_direct_rcv_rsp() (memcpy of
size -1) after user space generates a message. Looks like the message
is incorrectly assumed to be of the new IPMB type, because type is never
set and message is allocated with kmalloc() not kzalloc().
Fixes: 059747c245f0 ("ipmi: Add support for IPMB direct messages")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Message-Id: <20211124210323.1950976-1-kuba@kernel.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions