A Systems manager patch was applied on an Ubuntu 22.04 instance. One of the patches upgraded the kernel from linux-image-6.2.0-1014-aws to linux-image-6.2.0-1015-aws and now we do not have the cifs kernel module available anymore. We are unable to mount a previously mounted CIFS filesystem.
How can we restore the CIFS module in order to mount the filesystem?
Some commands we ran to try and shed light:
> cat /etc/fstab
LABEL=cloudimg-rootfs / ext4 defaults,discard 0 0
//172.31.111.111/Export /mnt/export cifs credentials=/root/.smbcredentials,users,iocharset=utf8,ro 0 0
> mount /mnt/export/
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
> find /usr/lib/modules -type f | grep cifs
/usr/lib/modules/6.2.0-1014-aws/kernel/fs/smbfs_common/cifs_arc4.ko
/usr/lib/modules/6.2.0-1014-aws/kernel/fs/smbfs_common/cifs_md4.ko
/usr/lib/modules/6.2.0-1014-aws/kernel/fs/cifs/cifs.ko
> dpkg -l "*cifs*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-=================-============-=====================================
ii cifs-utils 2:6.14-1ubuntu0.1 amd64 Common Internet File System utilities