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

David Howells
2023-11-06T10:02:26Z

Damian Tometzki <damian@riscv-rocks.de> wrote:

> the revert of f1b4cb650b9a0eeba206d8f069fcdc532bfbcd74 solved the issue of
> the kernel dump.

That almost certainly did not fix the problem - merely hid the wanring.

Prior to f1b4cb650b9a0eeba206d8f069fcdc532bfbcd74, ->user_backed is explicitly
set if the iov_iter is initialised to a user-backed type, now it's just
inferred from the type being 0 or 1 - so I think that the iov_iter has not
been initialised somewhere.

Somewhere being from SMB2_tcon() and cifs_send_recv() on down.

David