[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <043105feee62401f833a06ea480a3b1b@qianxin.com>
Date: Wed, 8 Nov 2023 07:40:08 +0000
From: 柳菁峰 <liujingfeng@...nxin.com>
To: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
CC: Marco Elver <elver@...gle.com>,
"rafael@...nel.org" <rafael@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"security@...nel.org" <security@...nel.org>,
"syzkaller@...glegroups.com" <syzkaller@...glegroups.com>
Subject: Reply: A null-ptr crash in linux-6.4 usb driver
I have made a patch that simply checks for null pointer, but I am not sure if this will affect certain functions or logic. I hope you can check it carefully.
1006c1006
< if (dev->p->dead) {
---
> if (!dev->p||dev->p->dead) {
>Try it and see! You have the reproducer, so you are in the best position to work on this.
Powered by blists - more mailing lists