[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200322075850.GA68214@kroah.com>
Date: Sun, 22 Mar 2020 08:58:50 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Qiujun Huang <anenbupt@...il.com>
Cc: syzbot <syzbot+df767d588771697b0433@...kaller.appspotmail.com>,
andreyknvl@...gle.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
syzkaller-bugs@...glegroups.com, tranmanphong@...il.com
Subject: Re: WARNING in hwahc_probe
On Sun, Mar 22, 2020 at 03:53:44PM +0800, Qiujun Huang wrote:
> The return value of snprintf is longer than expected if the string is
> truncated. Bytes need to be checked here.
>
> diff --git a/drivers/staging/wusbcore/host/hwa-hc.c
> b/drivers/staging/wusbcore/host/hwa-hc.c
> index 8d959e9..1475a48 100644
> --- a/drivers/staging/wusbcore/host/hwa-hc.c
> +++ b/drivers/staging/wusbcore/host/hwa-hc.c
This file is no longer in the linux-next tree and will be deleted in the
next kernel release.
Also, no one has this hardware so there's no real security issue here at
all.
And finally, you forgot a signed-off-by line on your patch :(
thanks,
greg k-h
Powered by blists - more mailing lists