lkml.org 
[lkml]   [2022]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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?

\
 
 \ /
  Last update: 2022-03-23 08:14    [W:0.057 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site