]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
IB/core: Avoid leakage from kernel to user space
authorEli Cohen <eli@dev.mellanox.co.il>
Sun, 14 Sep 2014 13:47:52 +0000 (16:47 +0300)
committerZefan Li <lizefan@huawei.com>
Fri, 19 Jun 2015 03:40:32 +0000 (11:40 +0800)
commit54561a5233a3981a6a139e22fc1e4688475c296c
tree9a6a1d4d4b4d03be301868b03b410ca454ff0684
parent6221195422cc63c0c977ae05e964aad862f6cee6
IB/core: Avoid leakage from kernel to user space

commit 377b513485fd885dea1083a9a5430df65b35e048 upstream.

Clear the reserved field of struct ib_uverbs_async_event_desc which is
copied to user space.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Zefan Li <lizefan@huawei.com>
drivers/infiniband/core/uverbs_main.c