Re: [PATCH] block: bio-integrity: fix potential null-ptr-deref in bio_integrity_free

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

 





On 2024/6/6 14:44, Christoph Hellwig wrote:
What kernel is this on?  As of Linux 6.9 we are now always freezing
v4.18
the queue while updating the logical_block_size in the nvme driver,
so there should be no inflight I/O while it is changing.

The root cause of the problem is that there is no concurrency protection between issuing DIO checks in __ blkdev direct IO simple() and updating logical block sizes , resulting in the block layer being able to see DIOs that are not aligned with logical
blocks.





[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