Re: Use-after-free related to dm_put_table_device()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/23/21 12:18 AM, Christoph Hellwig wrote:
On Sun, Aug 22, 2021 at 06:17:50PM -0700, Bart Van Assche wrote:
On 8/21/21 8:12 PM, Bart Van Assche wrote:
If I run blktests nvmeof-mp/012 then a KASAN use-after-free complaint
appears. Since I haven't seen this warning with previous kernel versions,
I think this is a regression. Given the presence of bd_unlink_disk_holder()
in the call trace, can you take a look Christoph?

(replying to my own e-mail)

Reverting commit fbd9a39542ec ("block: remove the extra kobject reference
in bd_link_disk_holder") makes the KASAN complaints disappear.

The block tree has had a manual revert since Friday.

However, the
srp tests and one other test fail with that commit reverted:

Can you send the output?  My usual blktest setup can't run these tests.

Hi Christoph,

I found the following in the output of the failed tests: "ib_srp: enp1s0_rxe:
ib_alloc_mr() failed. Try to reduce max_cmd_per_lun, max_sect or ch_count". I
will run a bisect on the v5.13..block/for-next RDMA changes.

Thanks,

Bart.






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux