CVE-2024-41049
filelock: fix potential use-after-free in posix_lock_inode
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
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.
Ziming Zhang discovered that the DRM driver for VMware Virtual GPU did not properly handle certain error conditions, leading to a NULL pointer dereference. A local attacker could possibly trigger this vulnerability to cause a denial of service. Gui-Dong Han discovered that the software RAID driver in the Linux kernel contained a race condition, leading to an integer overflow vulnerability. A privileged attacker could possibly use this to cause a denial of service.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2024-07-12 CVE Reserved
- 2024-07-29 CVE Published
- 2024-12-19 CVE Updated
- 2025-03-18 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-416: Use After Free
CAPEC
References (15)
URL | Tag | Source |
---|---|---|
https://git.kernel.org/stable/c/117fb80cd1e63c419c7a221ce070becb4bfc7b6d | Vuln. Introduced | |
https://git.kernel.org/stable/c/a6f4129378ca15f62cbdde09a7d3ccc35adcf49d | Vuln. Introduced | |
https://git.kernel.org/stable/c/766e56faddbec2eaf70c9299e1c9ef74d846d32b | Vuln. Introduced | |
https://git.kernel.org/stable/c/34bff6d850019e00001129d6de3aa4874c2cf471 | Vuln. Introduced | |
https://git.kernel.org/stable/c/74f6f5912693ce454384eaeec48705646a21c74f | Vuln. Introduced | |
https://git.kernel.org/stable/c/e75396988bb9b3b90e6e8690604d0f566cea403a | Vuln. Introduced |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2024-41049 | 2024-11-12 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2300422 | 2024-11-12 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.4.257 < 5.4.280 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.4.257 < 5.4.280" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.10.197 < 5.10.222 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.10.197 < 5.10.222" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.15.133 < 5.15.163 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.15.133 < 5.15.163" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 6.1.55 < 6.1.100 Search vendor "Linux" for product "Linux Kernel" and version " >= 6.1.55 < 6.1.100" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 6.6 < 6.6.41 Search vendor "Linux" for product "Linux Kernel" and version " >= 6.6 < 6.6.41" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 6.6 < 6.9.10 Search vendor "Linux" for product "Linux Kernel" and version " >= 6.6 < 6.9.10" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 6.6 < 6.10 Search vendor "Linux" for product "Linux Kernel" and version " >= 6.6 < 6.10" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 6.5.5 Search vendor "Linux" for product "Linux Kernel" and version "6.5.5" | en |
Affected
|