CVE-2024-53138

net/mlx5e: kTLS, Fix incorrect page refcounting

MEDIUM
5.5
CVSS Score
Published: December 4, 2024 at 02:20 PM UTC
Updated: October 15, 2026 at 10:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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")).

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.4 ≤ v < 6.1.1196.2 ≤ v < 6.6.636.7 ≤ v < 6.11.106.126.12 rc16.12 rc26.12 rc36.12 rc46.12 rc56.12 rc66.12 rc784d1bb2b139e0184b1754aa1b5776186b475fce8
Vendor states this is fixed in 2723e8b2cbd486cb96e5a61b22473f7fd62e18df (fixed)
Vendor states this is fixed in 69fbd07f17b0fdaf8970bc705f5bf115c297839d (fixed)
Vendor states this is fixed in 93a14620b97c911489a5b008782f3d9b0c4aeff4 (fixed)
Vendor states this is fixed in a0ddb20a748b122ea86003485f7992fa5e84cc95 (fixed)
Vendor states this is fixed in c7b97f9e794d8e2bbaa50e1d6c230196fd214b5e (fixed)
Vendor states this is fixed in dd6e972cc5890d91d6749bb48e3912721c4e4b25 (fixed)
Vendor states this is fixed in ffad2ac8c859c1c1a981fe9c4f7ff925db684a43 (fixed)
Vendor states this is fixed in 5.10.231 (unaffected)
Vendor states this is fixed in 5.15.174 (unaffected)
Vendor states this is fixed in 5.4 (unaffected)
Vendor states this is fixed in 5.4.287 (unaffected)
Vendor states this is fixed in 6.1.119 (unaffected)
Vendor states this is fixed in 6.11.10 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.63 (unaffected)

References (9)

SSVC — Action Prioritization

SSVCNo known exploitAutomatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card