CyberRota Analysis
AI-GeneratedThe vulnerability in the Linux kernel affects the ksmbd component, allowing unauthorized deletion of files due to improper handling of user credentials during delete-on-close operations. This flaw can lead to bypassing filesystem permission checks, potentially allowing malicious users to delete files they should not have access to. Organizations using Linux systems with ksmbd should prioritize patching this critical vulnerability to protect sensitive data and maintain system integrity.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: use opener credentials for delete-on-close Delete-on-close can be completed by deferred or durable handle teardown, where no request work is available. Both the base-file unlink and the ADS xattr removal consequently run with the ksmbd worker credentials and can bypass filesystem permission checks. Run both operations with the credentials captured in struct file when the handle was opened. This preserves the authenticated user's fsuid, fsgid, supplementary groups and capability restrictions at final close.