#1041843 cifs-utils: After hibernation, unmounting a cifs share hangs (or sigsegv)

Package:
cifs-utils
Source:
cifs-utils
Description:
Common Internet File System utilities
Submitter:
Erwan David
Date:
2023-07-24 08:24:03 UTC
Severity:
normal
#1041843#5
Date:
2023-07-24 08:14:18 UTC
From:
To:
If laptop went to hibernation with share mounted, or with share in automount, unmounting after end of hibernation leads to hang (when manually mounted).

When share is automounted, logs show following errors

juil. 18 08:04:35 ot-port-145 systemd[1]: Unmounting mnt-ot-o.mount - /mnt/ot/o...
juil. 18 08:04:36 ot-port-145 systemd[1]: mnt-ot-o.mount: Mount process exited, code=killed, status=11/SEGV
juil. 18 08:04:36 ot-port-145 systemd[1]: mnt-ot-o.mount: Failed with result 'signal'.
juil. 18 08:04:36 ot-port-145 systemd[1]: Unmounted mnt-ot-o.mount - /mnt/ot/o.
juil. 18 08:04:36 ot-port-145 systemd[1]: mnt-ot-o.automount: Got automount request for /mnt/ot/o, triggered by 760>
juil. 18 08:06:05 ot-port-145 systemd[1]: mnt-ot-p.mount: Unmounting timed out. Terminating.
juil. 18 08:06:06 ot-port-145 systemd[1]: mnt-ot-o.mount: Mounting timed out. Terminating.
juil. 18 08:06:06 ot-port-145 systemd[1]: mnt-ot-o.mount: Mount process exited, code=killed, status=15/TERM
juil. 18 08:06:06 ot-port-145 systemd[1]: mnt-ot-o.mount: Failed with result 'timeout'.

and next mount leads to a CPU lock.

In both case, only solution is hardware stopping the laptop (normal shutdown/reboot hangs indefinitely)