Messages in this thread | | | From | Linus Torvalds <> | Date | Tue, 7 Nov 2017 08:01:10 -0800 | Subject | Re: [cdrom_check_status] BUG: unable to handle kernel NULL pointer dereference at 000001c0 |
| |
On Tue, Nov 7, 2017 at 6:01 AM, Borislav Petkov <bp@alien8.de> wrote: > > Alternatively, we could brown-paper bag it with something like this:
This looks like a good thing to do regardless..
Because this is not really worth spending a ton of effort on debugging (.. because IDE), but yes, the disassembly of the code clearly shows that the problem here is that 'info' is NULL.
So adding the NULL guard and saying "we have a race somewhere in the IDE layer" and not wasting any more time on it is almost certainly the right thing to do.
Borislav, mind sending a signed-off patch or a pull request or whatever?
Linus
| |