On Wed, Jun 10, 2020 at 04:58:44AM +, Zhang, Qiang wrote:
> cdev object reference count and "struct printer_dev" object
> reference count(kref), This two reference counts do not conflict. in
> file usb-skeleton.c also used a similar method, "struct usb_skel"
> contains kref members.
I do not
___
发件人: Greg KH
发送时间: 2020年6月9日 17:48
收件人: Zhang, Qiang
抄送: ba...@kernel.org; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org
主题: Re: 回复: [PATCH v2] usb: gadget: function: printer: fix use-after-free in
__lock_acquire
A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info abo
A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
A: No.
Q: Should I incl
linux-kernel@vger.kernel.org
主题: Re: [PATCH v2] usb: gadget: function: printer: fix use-after-free in
__lock_acquire
On Mon, Jun 08, 2020 at 03:16:22PM +0800, qiang.zh...@windriver.com wrote:
> From: Zqiang
>
> Increase the reference count of the printer dev through kref to avoid
>
On Mon, Jun 08, 2020 at 03:16:22PM +0800, qiang.zh...@windriver.com wrote:
> From: Zqiang
>
> Increase the reference count of the printer dev through kref to avoid
> being released by other tasks when in use.
>
> BUG: KASAN: use-after-free in __lock_acquire+0x3fd4/0x4180
> kernel/locking/lockdep
From: Zqiang
Increase the reference count of the printer dev through kref to avoid
being released by other tasks when in use.
BUG: KASAN: use-after-free in __lock_acquire+0x3fd4/0x4180
kernel/locking/lockdep.c:3831
Read of size 8 at addr 8880683b0018 by task syz-executor.0/3377
CPU: 1 PID:
6 matches
Mail list logo