Messages in this thread | | | Date | Wed, 23 Mar 2022 08:14:10 +0100 | From | Christoph Hellwig <> | Subject | Re: [scsi] 6aded12b10: kernel_BUG_at_mm/usercopy.c |
| |
The actual warning is;
[ 34.496096][ T331] usercopy: Kernel memory overwrite attempt detected to spans multiple pages (off set 0, size 6)!
This is for the cmnd field in struct scsi_cmnd, which is allocated by the block layer as part of the request allocator. So with a specific packing it can legitimately span pages.
Kees: how can we annotate that this is ok?
| |