Re: smb cifs: Linux 6.7 pre rc-1 kernel dump in smb2_get_aead_req

From: Eric Biggers
Date: Sun Nov 05 2023 - 15:15:23 EST


On Sun, Nov 05, 2023 at 08:40:03PM +0100, Damian Tometzki wrote:
> On Sun, 05. Nov 11:36, Eric Biggers wrote:
> > On Sun, Nov 05, 2023 at 11:05:30AM -0700, Steve French wrote:
> > > maybe related to this recent crypto patch?
> > >
> > > https://git.samba.org/?p=sfrench/cifs-2.6.git;a=commit;h=783fa2c94f4150fe1b7f7d88b3baf6d98f82b41b
> > >
> > > On Sun, Nov 5, 2023, 10:32 Damian Tometzki <damian@xxxxxxxxxxxxxx> wrote:
> > > > [ 83.530503] CPU: 7 PID: 4584 Comm: mount.cifs Tainted: G W
> > > > 6.6.0 #61
> > > > [ 83.530508] Hardware name: LENOVO 20XWCTO1WW/20XWCTO1WW, BIOS N32ET86W
> > > > (1.62 ) 07/12/2023
> >
> > The above suggests that this warning occurred on 6.6, not on 6.7 pre rc1.
> >
> > - Eric
> Hello,
>
> is little bit missleading but it is 6.6 from linus mainline git with all
> the pull request.
>
> Damian
>

Okay, next time please mention the actual commit ID. Anyway, the warning is
'WARN_ON_ONCE(user_backed_iter(&rqst[i].rq_iter))', so maybe take a look at
changes from

commit f1b4cb650b9a0eeba206d8f069fcdc532bfbcd74
Author: David Howells <dhowells@xxxxxxxxxx>
Date: Mon Sep 25 13:03:03 2023 +0100

iov_iter: Derive user-backedness from the iterator type

and the pull request that contained it:

commit df9c65b5fc7ef1caabdb7a01a2415cbb8a00908d
Merge: 3b3f874cc1d07 b5f0e20f444cd
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Mon Oct 30 09:24:21 2023 -1000

Merge tag 'vfs-6.7.iov_iter' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs

Pull iov_iter updates from Christian Brauner:
"This contain's David's iov_iter cleanup work to convert the iov_iter
iteration macros to inline functions: