lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 21 May 2022 21:32:08 +0800
From:   Zheyu Ma <zheyuma97@...il.com>
To:     hare@...nel.org, jejb@...ux.ibm.com,
        "Martin K. Petersen" <martin.petersen@...cle.com>
Cc:     linux-scsi <linux-scsi@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ