CVE-2024-53138
Last modified
CVE-2024-53138 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: kTLS, Fix incorrect page refcounting The kTLS tx handling code is using a mix of get_page() and page_ref_inc() APIs to increment the page reference. But on the release path (mlx5e_ktls_tx_handle_resync_dump_comp()), only put_page() is used. This is an issue when using pages from large folios: the get_page() references are stored on the folio page while the page_ref_inc() references are stored directly in the given page. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: kTLS, Fix incorrect page refcounting The kTLS tx handling code is using a mix of get_page() and page_ref_inc() APIs to increment the page reference. But on the release path (mlx5e_ktls_tx_handle_resync_dump_comp()), only put_page() is used. This is an issue when using pages from large folios: the get_page() references are stored on the folio page while the page_ref_inc() references are stored directly in the given page. On release the folio page will be dereferenced too many times. This was found while doing kTLS testing with sendfile() + ZC when the served file was read from NFS on a kernel with NFS large folios support (commit 49b29a573da8 ("nfs: add support for large folios")).
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.4, < 6.1.119 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.63 | — |
| Linux | Linux Kernel | >= 6.7, < 6.11.10 | — |
| Linux | Linux Kernel | 6.12 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-53138?
How severe is CVE-2024-53138?
How do I fix CVE-2024-53138?
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-53132In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-53133In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-53134In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-53135In the Linux kernel, the following vulnerability has been re…6.5
- CVE-2024-53136In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-53137In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-53139In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-5314Vulnerabilities in Dolibarr ERP - CRM that affect version 9.…9.1
- CVE-2024-53140In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-53141In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-53142In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-53143In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2024-53138?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
