Hi, Please find a patchset against uverbs to improve the checks done on uverbs request parameters. This patchset in an extract of a previous patchset sent some times ago[1].
I've tried to make the commit messages more explanatory so that the patches will gain more attention. I've provided some explanation of the issues partialy addressed by this patchset in a previous message[2]. I intend to send more patches to address the issues, probably in 3 more patchset: ucm, ucma and udata. [1] "[PATCH 00/22] infiniband: improve userspace input check" http://marc.info/[email protected] http://mid.gmane.org/[email protected] [2] "Re: [PATCHv4 for-3.13 00/10] create_flow/destroy_flow fixes for v3.13" http://marc.info/[email protected] Yann Droneaud (4): IB/uverbs: check userspace input buffer size IB/uverbs: check userspace output buffer size IB/uverbs: check userspace output buffer size in ib_uverbs_poll_cq() IB/uverbs: subtract command header from input size drivers/infiniband/core/uverbs_cmd.c | 132 +++++++++++++++++++++++++++ drivers/infiniband/core/uverbs_main.c | 18 +++- drivers/infiniband/hw/mlx5/cq.c | 6 +- drivers/infiniband/hw/mlx5/main.c | 2 +- drivers/infiniband/hw/mlx5/srq.c | 6 +- drivers/infiniband/hw/mthca/mthca_provider.c | 2 +- 6 files changed, 151 insertions(+), 15 deletions(-) -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
