[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_9D9878866FF42C756D2C94DCEA36EC26CE0A@qq.com>
Date: Tue, 13 Feb 2024 08:50:01 +0800
From: Edward Adam Davis <eadavis@...com>
To: gregkh@...uxfoundation.org
Cc: eadavis@...com,
linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org,
rafael@...nel.org,
syzbot+8e41bb0c055b209ebbf4@...kaller.appspotmail.com,
syzkaller-bugs@...glegroups.com
Subject: Re: [PATCH riscv64] kobject: fix WARNING in input_register_device
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.
thanks,
edward.
Powered by blists - more mailing lists