{"id":"AZL-114839","summary":"CVE-2026-99422 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: use the pinned upper dir in ovl_fix_origin()\n\nRenames made directly on the upper filesystem during a lookup crash the\nkernel.\n\nA dentry that is passed to vfs_setxattr() must be pinned.\novl_fix_origin() passes upper-\u003ed_parent to ovl_set_impure() without a\nreference, and the lookup holds no lock of the upper directory. A\nrename on the upper filesystem changes d_parent, and only the child\npins the new parent, so a second rename and an rmdir free it.\n\nWith delays in ovl_fix_origin() and ovl_set_impure(), renaming the upper\ndirectory twice and removing the intermediate parent during the lookup\nof a merge directory without an origin xattr gave a KASAN\nuse-after-free in vfs_setxattr().\n\nFix this by passing the upper dentry that the overlay parent holds.\n\n[amir: add helper ovl_set_impure_dir()]","modified":"2026-11-20T14:17:19.039361009Z","published":"2026-11-19T15:17:55Z","upstream":["CVE-2026-99422"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99422"}],"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-114839.json"}}],"schema_version":"1.9.2"}