[LTP] [PATCH 0/2] Add infiniband testing suite
Petr Vorel
pvorel@suse.cz
Tue Apr 7 14:56:58 CEST 2026
> This patch series introduces a test for infiniband testing, based on
> https://marc.info/?l=linux-kernel&m=152625244101970&w=2.
https://lore.kernel.org/lkml/20180513230237.GG677@sol.localdomain/
Thanks for pointing out the C source. I was looking at the original syzkaller
reproducer [1] which IMHO did more things, simplified C source is quite similar
to what you do in LTP test.
Have you verified if it actually reproduce the bug on affected kernel? Does it
reproduce the bug?
I tried it only on too new kernel (6.12 based SLE16 kernel, required to install
rdma-core, rdma_cm kernel module, which creates /dev/infiniband/rdma_cm, was
loaded by default).
Kind regards,
Petr
[1] https://syzkaller.appspot.com/text?tag=ReproSyz&x=1686969e400000
> Consider this as a snapshot for a possible test. I sent it to the ML
> just to have some feedbacks.
> Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
> ---
> Andrea Cervesato (2):
> lapi: Add fallback rdma_user_cm.h definitions
> device-drivers/rdma: Add ucma_uaf01 test
> configure.ac | 1 +
> include/lapi/rdma_user_cm.h | 72 ++++++++
> runtest/kernel_misc | 1 +
> testcases/kernel/device-drivers/Makefile | 1 +
> testcases/kernel/device-drivers/rdma/.gitignore | 1 +
> testcases/kernel/device-drivers/rdma/Makefile | 7 +
> testcases/kernel/device-drivers/rdma/ucma_uaf01.c | 208 ++++++++++++++++++++++
> 7 files changed, 291 insertions(+)
> ---
> base-commit: b874b6a264cf4f343c17d543ebe4ff91fbb89042
> change-id: 20260325-infiniband_rdma-c94a1f4f7255
> Best regards,
More information about the ltp
mailing list