In the Linux kernel, the following vulnerability has been resolved:
smb: client: add NULL check in automount_fullpath
page is checked for null in __buildpathfromdentryoptionalprefix when tcon->originfullpath is not set. However, the check is missing when it is set. Add a check to prevent a potential NULL pointer dereference.