On Tue, Feb 13, 2024 at 08:50:01AM +0800, Edward Adam Davis wrote: > On Thu, 8 Feb 2024 12:25:35 +0000, Greg KH wrote: > > On Thu, Feb 08, 2024 at 07:37:56PM +0800, Edward Adam Davis wrote: > > > On Thu, 8 Feb 2024 10:56:00, Greg KH wrote: > > > > > The input_add_uevent_modalias_var()->input_print_modalias() will add 1684 bytes > > > > > of data to env, which will result in insufficient memory allocated to the buf > > > > > members of env. > > > > > > > > What is "env"? And can you wrap your lines at 72 columns please? > > > env is an instance of struct kobj_uevent_env. > > > > Also, why is "risc64" in the subject line? > Because when syzbot reported this issue, it wrote "userspace arch: riscv64". > However, I actually tested it on the master branch of upstream. Then of course, this was not correct in the subject line. thanks, greg k-h