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:07:51 +0000 (22:07 +0100)
commit76c67fcc66116381c69439f20159b636573080ba
tree3ad700300859a8b87cf2e0fef54be3e31404d593
parent2e3d1edf59109d6329a00d90b1e953261d602af5
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>
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]