lkml.org 
[lkml]   [2022]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
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

\
 
 \ /
  Last update: 2022-05-21 15:33    [W:0.057 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site