Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
ima: Fix use-after-free on a dentry’s dname.name
->d_name.name can change on rename and the earlier value can be freed; there are conditions sufficient to stabilize it (->d_lock on dentry, ->d_lock on its parent, ->i_rwsem exclusive on the parent’s inode, rename_lock), but none of those are met at any of the sites. Take a stable snapshot of the name instead.
Details
- Affected product:
- AlmaLinux 9.2 ESU , CentOS 6 ELS , CentOS 7 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , CloudLinux 6 ELS , CloudLinux 7 ELS , Oracle Linux 6 ELS , Oracle Linux 7 ELS , RHEL 7 ELS , Ubuntu 16.04 ELS , Ubuntu 18.04 ELS
- Affected packages:
- kernel @ 2.6.32 (+15 more)
In the Linux kernel, the following vulnerability has been resolved:
ima: Fix use-after-free on a dentry’s dname.name
->d_name.name can change on rename and the earlier value can be freed; there are conditions sufficient to stabilize it (->d_lock on dentry, ->d_lock on its parent, ->i_rwsem exclusive on the parent’s inode, rename_lock), but none of those are met at any of the sites. Take a stable snapshot of the name instead.