How to reproduce the BUG general protection fault in hci_uart_tty_ioctl?
From: joeyli
Date: Wed Jun 28 2023 - 11:02:23 EST
Hi Yu Hao,
I am looking at your "BUG: general protection fault in hci_uart_tty_ioctl":
https://lore.kernel.org/all/CA+UBctC3p49aTgzbVgkSZ2+TQcqq4fPDO7yZitFT5uBPDeCO2g@xxxxxxxxxxxxxx/
I am trying the C reproducer in your URL, but it is not success yet:
https://gist.github.com/ZHYfeng/a3e3ff2bdfea5ed5de5475f0b54d55cb
I am using v6.2 mainline kernel to run the C reproducer.
Could you please provide suggestions for how to reproduce this issue?
And what is your qemu environment for reproducing issue?
Thanks a lot!
Joey Lee