{"id":"AZL-115046","summary":"CVE-2026-99535 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: prevent share root removal through empty paths\n\nA FileLinkInformation request can supply \"/\" as the new link name.\nsmb2_get_name() strips the trailing slash and passes an empty string to\nksmbd_vfs_kern_path_start_removing().\n\nksmbd_vfs_path_lookup() resolves an empty pathname as the configured share\npath, without LOOKUP_BENEATH. With ReplaceIfExists set, smb2_create_link()\ncan therefore remove the share root from its parent before link creation\nfails. An authenticated client with a writable share and DELETE access to\na file can trigger this if the share root is empty and the mapped user\nhas write and search permission on its parent directory.\n\nReturn -EINVAL for empty pathnames when for_remove is set, before\nresolving the share path or acquiring removal resources. Ordinary lookups\ncontinue to accept empty pathnames for opening the share root.","modified":"2026-11-20T14:17:30.847916925Z","published":"2026-11-19T15:18:09Z","upstream":["CVE-2026-99535"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99535"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-115046.json"}}],"schema_version":"1.9.2"}