Messages in this thread | | | From | Zheyu Ma <> | Date | Sat, 21 May 2022 21:32:08 +0800 | Subject | [BUG] scsi: myrb: null-pointer-dereference in myrb_cleanup |
| |
Hello,
I found a bug in the driver myrb when probing the module. The following log can reveal it:
[ 0.985741] myrb 0000:00:05.0: Unknown Initialization Error 49 [ 0.986078] myrb 0000:00:05.0: Failed to initialize Controller [ 0.986376] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 0.987368] Call Trace: [ 0.987368] myrb_cleanup+0x4ad/0x7b0 [ 0.987368] myrb_probe.cold+0x95/0x12a0
The reason is that the driver does not initialize the disable_intr, resulting in a null-pointer-dereference bug.
Zheyu Ma
| |