CVE-2024-41049
filelock: fix potential use-after-free in posix_lock_inode
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.4.280, 5.10.222, 5.15.163, 6.1.100, 6.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 5.4.257 · fixed in 5.4.280; From 5.10.197 · fixed in 5.10.222; From 5.15.133 · fixed in 5.15.163; From 6.1.55 · fixed in 6.1.100; From 6.5.5 · fixed in 6.6
- Linux Linux
6.6
References 7
git.kernel.org
- stable/c/1cbbb3d9475c403ebedc327490c7c2b991398197
- stable/c/7d4c14f4b511fd4c0dc788084ae59b4656ace58b
- stable/c/02a8964260756c70b20393ad4006948510ac9967
- stable/c/5cb36e35bc10ea334810937990c2b9023dacb1b0
- stable/c/432b06b69d1d354a171f7499141116536579eb6a
- stable/c/116599f6a26906cf33f67975c59f0692ecf7e9b2
- stable/c/1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92