ksmbd: Fix ZDI-CAN-18259
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Jan 2023 13:41:04 +0000 (14:41 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 11 Jan 2023 21:10:25 +0000 (22:10 +0100)
commite88e0ace7abe23dbf88e3c883378b729cd21db6f
tree8dbb110070b5488a2022257318e105fe692e2dd2
parentaca915e8475e32edbb33dcb382e78b130cda7080
ksmbd: Fix ZDI-CAN-18259

This fixes a security problem in ksmbd. It currently has the
ZDI-CAN-18259 ID assigned, but no CVE yet.

Backported from:
https://github.com/cifsd-team/ksmbd/commit/8824b7af409f51f1316e92e9887c2fd48c0b26d6
https://github.com/cifsd-team/ksmbd/commit/cc4f3b5a6ab4693aba94a45cc073188df4d67175

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 76c67fcc66116381c69439f20159b636573080ba)
package/kernel/ksmbd/Makefile
package/kernel/ksmbd/patches/10-ksmbd-check-nt_len-to-be-at-least-CIFS_ENCPWD_SIZE-i.patch [new file with mode: 0644]
package/kernel/ksmbd/patches/11-ksmbd-fix-infinite-loop-in-ksmbd_conn_handler_loop.patch [new file with mode: 0644]