diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2020-10-15 10:41:31 -0700 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-10-19 15:11:39 -0500 |
commit | 0bd294b55a5de442370c29fa53bab17aef3ff318 (patch) | |
tree | 2edeec7aae78d710636cee59591148f879dc706a /tools/perf/scripts/python/stackcollapse.py | |
parent | 63ca5656350a9b798a20a8e5bd55be164a5abeb6 (diff) |
cifs: Return the error from crypt_message when enc/dec key not found.
In crypt_message, when smb2_get_enc_key returns error, we need to
return the error back to the caller. If not, we end up processing
the message further, causing a kernel oops due to unwarranted access
of memory.
Call Trace:
smb3_receive_transform+0x120/0x870 [cifs]
cifs_demultiplex_thread+0xb53/0xc20 [cifs]
? cifs_handle_standard+0x190/0x190 [cifs]
kthread+0x116/0x130
? kthread_park+0x80/0x80
ret_from_fork+0x1f/0x30
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions