Open mamarley opened 2 years ago
I am trying to reproduce this issue. but can't do that yet. Can you tell me how to shutdown ksmbd server when rebooting your server ?
It shuts down using the included systemd unit. The crash occurred after it restarted though, not on shutdown. This is the first time I have seen it in the entire time I have been using ksmbd though, so I'm not sure how much luck you will have reproducing it.
A session appears to have been logged off before processing read requests. I don't know how this can happen.
@mamarley I have fixed this issue. Please use the latest ksmbd. (patch is https://github.com/cifsd-team/ksmbd/commit/f4218ef4641001c7fb33cc4271bdc9591f5ed4a5)
This morning shortly after I rebooted one of my servers with ksmbd, I got the following NULL pointer dereference. I'm unsure of exactly what might have triggered this regarding client activity, but the server had just rebooted within a few minutes ago. The clients are all Linux boxes using cifsd.ko.
After this, the server stopped working correctly (including no longer accepting SSH connections) and had to be manually rebooted from the console. If there is any other data I can supply to help track this down, please let me know.