Skip to contentSkip to conversation

A null-ptr crash in linux-6.4 usb driver

DISCUSSION 柳菁峰 2 participants 2 messages Oct 31, 2023

lore
Share & tools
lore

柳菁峰

author
#0 lore raw

OK, I took a look and it may be the same reason that caused the crash,but I just tested it on the latest Linux-6.6,it also crashed while running the reproducer,it didn't be fixed.

Quoted 2 lines

Looks like this report from over a year ago:
https://lore.kernel.org/all/[email protected]/

It seems that this issue will not be fixed because it must rely on fault-inject, right?
I am not familiar with this part of the kernel code, and if fixing this issue is very difficult, I may not be able to provide an useful patch,sorry.

Quoted 1 line

Great, please submit a patch to resolve this and we will be glad to review it.

#1 lore raw
Quoted 3 lines · 柳菁峰

OK, I took a look and it may be the same reason that caused the crash,but I just tested it on the latest Linux-6.6,it also crashed while running the reproducer,it didn't be fixed.

Very true, you are injecting faults into the system, so the system faulted! You are succeeding in breaking things.

But the trick is, is this actually a valid fault? Or is it something that can never actually happen in real life? That's for you to determine please.

Quoted 6 lines
Quoted 2 lines

Looks like this report from over a year ago:
https://lore.kernel.org/all/[email protected]/

It seems that this issue will not be fixed because it must rely on fault-inject, right?

Yes.

Quoted 3 lines

I am not familiar with this part of the kernel code, and if fixing this issue is very difficult, I may not be able to provide an useful patch,sorry.

Try it and see! You have the reproducer, so you are in the best position to work on this.

thanks,

greg k-h