ksmbd: Fix ZDI-CAN-18259
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Jan 2023 13:41:04 +0000 (14:41 +0100)
committerRISCi_ATOM <bob@bobcall.me>
Mon, 15 May 2023 15:14:18 +0000 (11:14 -0400)
commitdb329ac2ec65f14af49706d9f0979928448ebb58
tree911dd000c2f3408e6fa8b121c219896f5c66c9ab
parent065ae3cba18d5e2ad17dcd7282242a588321b9b7
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]