CVE-2024-57927
Last modified
CVE-2024-57927 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: nfs: Fix oops in nfs_netfs_init_request() when copying to cache When netfslib wants to copy some data that has just been read on behalf of nfs, it creates a new write request and calls nfs_netfs_init_request() to initialise it, but with a NULL file pointer. This causes nfs_file_open_context() to oops - however, we don't actually need the nfs context as we're only going to write to the cache. Fix this by just returning if we aren't given a file pointer and emit a warning if the request was for something other than copy-to-cache. Further, fix nfs_netfs_free_request() so that it doesn't try to free the context if the pointer is NULL.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: nfs: Fix oops in nfs_netfs_init_request() when copying to cache When netfslib wants to copy some data that has just been read on behalf of nfs, it creates a new write request and calls nfs_netfs_init_request() to initialise it, but with a NULL file pointer. This causes nfs_file_open_context() to oops - however, we don't actually need the nfs context as we're only going to write to the cache. Fix this by just returning if we aren't given a file pointer and emit a warning if the request was for something other than copy-to-cache. Further, fix nfs_netfs_free_request() so that it doesn't try to free the context if the pointer is NULL.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.12, < 6.12.10 | — |
| Linux | Linux Kernel | 6.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-57927?
How severe is CVE-2024-57927?
How do I fix CVE-2024-57927?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-57921In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57922In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57923In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57924In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57925In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-57926In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57928In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-57929In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-5793The Houzez Theme - Functionality plugin for WordPress is vul…8.8
- CVE-2024-57930In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57931In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57932In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-57927?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
