All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] scsi: myrb: null-pointer-dereference in myrb_cleanup
@ 2022-05-21 13:32 Zheyu Ma
  0 siblings, 0 replies; only message in thread
From: Zheyu Ma @ 2022-05-21 13:32 UTC (permalink / raw)
  To: hare, jejb, Martin K. Petersen; +Cc: linux-scsi, Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-21 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-21 13:32 [BUG] scsi: myrb: null-pointer-dereference in myrb_cleanup Zheyu Ma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.