Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* How to fuzz testing infiniband/uverb driver
@ 2020-11-01 21:00 Changming Liu
  2020-11-02 16:16 ` Ira Weiny
  0 siblings, 1 reply; 4+ messages in thread
From: Changming Liu @ 2020-11-01 21:00 UTC (permalink / raw)
  To: jgg@ziepe.ca; +Cc: linux-rdma@vger.kernel.org, yaohway

Hi Jason,
Greetings, I'm a PhD student interested in linux, I found a bug in 
drivers/infiniband/core/uverbs_cmd.c via static analysis.

As a follow-up, I planned to fuzz testing this driver using syzkaller
to confirm this.
However, according to the doc in Documentation/infiniband/user_verbs.rst,
(it's a bit out-dated BTW, as CONFIG_INFINIBAND_USER_VERBS is not used anymore).
I built the kernel with all related options set to y, installed libibverbs-dev,
and added KERNEL="uverbs*", NAME="infiniband/%k" to my udev rule.

there is no 'uverbs0' file created under /sys/class/infiniband or 
/dev/infiniband/. So may I ask how to properly set up my testing 
environment so that I can fuzzi testing this driver? Is a physical
device required?

Any information is greatly appreciated.

Best,
Changming Liu

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-04  0:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-01 21:00 How to fuzz testing infiniband/uverb driver Changming Liu
2020-11-02 16:16 ` Ira Weiny
2020-11-02 22:26   ` Changming Liu
2020-11-04  0:40     ` Ira Weiny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox