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

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

 



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. However, the
srp tests and one other test fail with that commit reverted:

root:software/blktests# grep -rli status.fail . | sort
./results/nodev/nvmeof-mp/001
./results/nodev/srp/002
./results/nodev/srp/007
./results/nodev/srp/009
./results/nodev/srp/011
./results/nodev/srp/012
./results/nodev/srp/013
./results/nodev/srp/014

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