CVE-2024-41049: filelock: fix potential use-after-free in posix_lock_inode
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.28% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: Linux Linux 02a8964260756c70b20393ad4006948510ac9967, 116599f6a26906cf33f67975c59f0692ecf7e9b2, 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92; azl3 kernel 6.6.35.1-5 on Azure Linux 3.0 6.6.47.1-1; azl3 kernel 6.6.47.1-1 on Azure Linux 3.0 6.6.47.1-1.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 02a8964260756c70b20393ad4006948510ac9967, 116599f6a26906cf33f67975c59f0692ecf7e9b2, 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92; azl3 kernel 6.6.35.1-5 on Azure Linux 3.0 6.6.47.1-1; azl3 kernel 6.6.47.1-1 on Azure Linux 3.0 6.6.47.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 29, 2024
- Updated
- Aug 5, 2026
- EPSS
- 0.2% · 20th percentile
- CWE
- CWE-416
Report tools
Action score
28
Low priority for now.
- CVSS
- 28 / 40 · 7.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.0
- CNA · Linux
- 7.8
- 0.8 point gap
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- e75396988bb9b3b90e6e8690604d0f566cea403a, 6.6affected
- 117fb80cd1e63c419c7a221ce070becb4bfc7b6d and later · before 1cbbb3d9475c403ebedc327490c7c2b991398197affected · git
- a6f4129378ca15f62cbdde09a7d3ccc35adcf49d and later · before 7d4c14f4b511fd4c0dc788084ae59b4656ace58baffected · git
- 766e56faddbec2eaf70c9299e1c9ef74d846d32b and later · before 02a8964260756c70b20393ad4006948510ac9967affected · git
- 34bff6d850019e00001129d6de3aa4874c2cf471 and later · before 5cb36e35bc10ea334810937990c2b9023dacb1b0affected · git
- 74f6f5912693ce454384eaeec48705646a21c74f and later · before 432b06b69d1d354a171f7499141116536579eb6aaffected · git
- 74f6f5912693ce454384eaeec48705646a21c74f and later · before 116599f6a26906cf33f67975c59f0692ecf7e9b2affected · git
- 74f6f5912693ce454384eaeec48705646a21c74f and later · before 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92affected · git
- 5.4.257 and later · before 5.4.280affected · semver
- 5.10.197 and later · before 5.10.222affected · semver
Affected versions · NVD (6)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel5.4.257 and later · before 5.4.280
- linux linux kernel5.10.197 and later · before 5.10.222
- linux linux kernel5.15.133 and later · before 5.15.163
- linux linux kernel6.1.55 and later · before 6.1.100
- linux linux kernel6.6 and later · before 6.6.41
- linux linux kernel6.7 and later · before 6.9.10
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:11 | linux | before 5.10.223-1 | 5.10.223-1 |
| Debian:12 | linux | before 6.1.106-1 | 6.1.106-1 |
| Debian:13 | linux | before 6.9.10-1 | 6.9.10-1 |
| Red Hat:rhel_eus:9.2::appstream | bpftool-debuginfo | before 0:7.0.0-284.90.1.el9_2 | 0:7.0.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-64k-debug-debuginfo | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-64k-debug-devel | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-64k-debug-devel-matched | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-64k-debuginfo | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-64k-devel | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-64k-devel-matched | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-debug-debuginfo | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-debug-devel | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-debug-devel-matched | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-debuginfo | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-debuginfo-common-aarch64 | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-debuginfo-common-ppc64le | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-debuginfo-common-s390x | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-debuginfo-common-x86_64 | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-devel | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-devel-matched | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-doc | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-tools-debuginfo | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-zfcpdump-debuginfo | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | kernel-zfcpdump-devel | before 0:5.14.0-284.90.1.el9_2 | 0:5.14.0-284.90.1.el9_2 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-41044Jul 29, 2024 · ppp: reject claimed-as-LCP but actually malformed packets22Monitor
- ← EarlierCVE-2024-41047Jul 29, 2024 · i40e: Fix XDP program unloading while removing the driver22Monitor
- Later →CVE-2024-41050Jul 29, 2024 · cachefiles: cyclic allocation of msg_id to avoid reuse31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 02a8964260756c70b20393ad4006948510ac9967 | Vendor (CNA) |
| Linux Linux | 116599f6a26906cf33f67975c59f0692ecf7e9b2 | Vendor (CNA) |
| Linux Linux | 1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92 | Vendor (CNA) |
| Linux Linux | 1cbbb3d9475c403ebedc327490c7c2b991398197 | Vendor (CNA) |
| Linux Linux | 432b06b69d1d354a171f7499141116536579eb6a | Vendor (CNA) |
| Linux Linux | 5.10.222 | Vendor (CNA) |
| Linux Linux | 5.15.163 | Vendor (CNA) |
| Linux Linux | 5.4.280 | Vendor (CNA) |
| Linux Linux | 5cb36e35bc10ea334810937990c2b9023dacb1b0 | Vendor (CNA) |
| Linux Linux | 6.1.100 | Vendor (CNA) |
| Linux Linux | 6.6 | Vendor (CNA) |
| Linux Linux | 7d4c14f4b511fd4c0dc788084ae59b4656ace58b | Vendor (CNA) |
| azl3 kernel 6.6.35.1-5 on Azure Linux 3.0 | 6.6.47.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 kernel 6.6.47.1-1 on Azure Linux 3.0 | 6.6.47.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.106-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:7.3.0-427.48.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-427.48.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-427.48.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-427.48.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-427.48.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-427.48.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-427.48.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-427.48.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-427.48.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-427.48.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:5.14.0-427.48.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo-common-aarch64 | 0:5.14.0-427.48.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-1094 · Jul 30, 2024(Linux Kernel Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/116599f6a26906cf33f67975c59f0692ecf7e9b2
- git.kernel.org/stable/c/1b3ec4f7c03d4b07bad70697d7e2f4088d2cfe92
- git.kernel.org/stable/c/1cbbb3d9475c403ebedc327490c7c2b991398197
- git.kernel.org/stable/c/432b06b69d1d354a171f7499141116536579eb6a
- git.kernel.org/stable/c/5cb36e35bc10ea334810937990c2b9023dacb1b0
- git.kernel.org/stable/c/7d4c14f4b511fd4c0dc788084ae59b4656ace58b
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.