CVE-2024-41049
Description
In the Linux kernel, the following vulnerability has been resolved: filelock: fix potential use-after-free in posix_lock_inode Light Hsieh reported a KASAN UAF warning in trace_posix_lock_inode(). The request pointer had been changed earlier to point to a lock entry that was added to the inode's list. However, before the tracepoint could fire, another task raced in and freed that lock. Fix this by moving the tracepoint inside the spinlock, which should ensure that this doesn't happen.
How to fix
- linux linux_kernel5.4.280, 5.10.222, 5.15.163, 6.1.100, 6.6.41, 6.9.10 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 5.4.257 ≤ v < 5.4.280, 5.10.197 ≤ v < 5.10.222, 5.15.133 ≤ v < 5.15.163, 6.1.55 ≤ v < 6.1.100, 6.6 ≤ v < 6.6.41, 6.7 ≤ v < 6.9.10 | 5.4.280, 5.10.222, 5.15.163, 6.1.100, 6.6.41, 6.9.10 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.