[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220323071409.GA25480@lst.de>
Date:   Wed, 23 Mar 2022 08:14:10 +0100
From:   Christoph Hellwig <hch@....de>
To:     kernel test robot <oliver.sang@...el.com>
Cc:     Christoph Hellwig <hch@....de>,
        "Martin K. Petersen" <martin.petersen@...cle.com>,
        Bart Van Assche <bvanassche@....org>,
        John Garry <john.garry@...wei.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        lkp@...el.com, Kees Cook <keescook@...omium.org>
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?
Powered by blists - more mailing lists