IB/uverbs: check request parameters
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | IB/uverbs: check userspace input buffer sizedrivers/ | +105 | 0 replies | |
| 2/6 | IB/uverbs: check userspace output buffer sizedrivers/ | +27 | 0 replies | |
| 3/6 | IB/uverbs: check userspace output buffer size in ib_uverbs_poll_cq()drivers/ | +3 | 0 replies | |
| 4/6 | IB/uverbs: subtract command header from input sizedrivers/ drivers/ drivers/ +2 more | +19 | 0 replies | |
| 5/6 | IB/uverbs: move cast from u64 to void __user pointer to its own variabledrivers/ drivers/ | +121 | 0 replies | |
| 6/6 | IB/uverbs: check access to userspace response bufferdrivers/ | +150 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCHv1 0/6] IB/uverbs: check request parameters
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 provided some explanation of the issues partialy addressed by this patchset in a previous message[2].
As we're now addressing overflows, I think it's time to apply this patchset.
Changes since v0 [3]
- updated against v4.1-rc2
- incorporated patches to add check on response buffer using access_ok()
[1] "[PATCH 00/22] infiniband: improve userspace input check"
http://marc.info/?i=cover.1376847403.git.ydroneaud-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.org
http://mid.gmane.org/cover.1376847403.git.ydroneaud-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.org
[2] "Re: [PATCHv4 for-3.13 00/10] create_flow/destroy_flow fixes for v3.13"
http://marc.info/?i=1387493822.11925.217.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]
http://mid.gmane.org/1387493822.11925.217.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]
[3] "[PATCH 0/4] IB/uverbs: check request parameters"
http://marc.info/?i=cover.1405884453.git.ydroneaud-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.org
http://mid.gmane.org/cover.1405884453.git.ydroneaud-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.org
Yann Droneaud (6):
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 IB/uverbs: move cast from u64 to void __user pointer to its own
variable
IB/uverbs: check access to userspace response buffer
drivers/infiniband/core/uverbs_cmd.c | 449 +++++++++++++++++++++------ drivers/infiniband/core/uverbs_main.c | 29 +- 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, 382 insertions(+), 112 deletions(-)
Signature · 6 lines
2.1.0 -- 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