CVE-2024-53138 in the critical feed json
net/mlx5e: kTLS, Fix incorrect page refcounting
published 2024-12-04 23 mo ago modified 2026-10-15 24 d ago also EUVD-2024-51810
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
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")).
Patch / fix
- Linux Linux 5.4.287, 5.10.231, 5.15.174, 6.1.119, 6.6.63, 6.11.10, 6.12
- linux Debian 12 6.1.119-1
- linux Debian 14, Debian 13 6.11.10-1
debian advisories DEBIAN-CVE-2024-53138
- linux Ubuntu 20.04 LTS 5.4.0-211.231
- linux Ubuntu 22.04 LTS 5.15.0-135.146
- linux Ubuntu 24.04 LTS 6.8.0-58.60
- linux-aws Ubuntu 20.04 LTS 5.4.0-1142.152
- linux-aws Ubuntu 22.04 LTS 5.15.0-1080.87
- linux-aws Ubuntu 24.04 LTS 6.8.0-1027.29
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1145.154
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1079.88
ubuntu advisories UBUNTU-CVE-2024-53138
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1
- kernel-default Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1
- kernel-kvmsmall Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1
- kernel-default-base Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1.21.4
- kernel-livepatch-MICRO-6-0_Update_4 Linux Micro 6.1, Linux Micro 6.0 1-1.2
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-22.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-22.1
- kernel-livepatch-MICRO-6-0-RT_Update_4 Linux Micro 6.1, Linux Micro 6.0 1-1.1
suse advisories SUSE-SU-2025:20164-1SUSE-SU-2025:20247-1SUSE-SU-2025:20163-1SUSE-SU-2025:20246-1SUSE-SU-2025:0577-1SUSE-SU-2025:0577-2
- kernel CBL-Mariner 2.0 5.15.176.3-1
- kernel Azure Linux 3.0 6.6.64.2-1
azure linux advisories AZL-54107AZL-54135
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- git.kernel.org/stable/c/a0ddb20a748b122ea86003485f7992fa5e84cc95 commit
- git.kernel.org/stable/c/ffad2ac8c859c1c1a981fe9c4f7ff925db684a43 commit
- git.kernel.org/stable/c/c7b97f9e794d8e2bbaa50e1d6c230196fd214b5e commit
- git.kernel.org/stable/c/69fbd07f17b0fdaf8970bc705f5bf115c297839d commit
- git.kernel.org/stable/c/93a14620b97c911489a5b008782f3d9b0c4aeff4 commit
- git.kernel.org/stable/c/2723e8b2cbd486cb96e5a61b22473f7fd62e18df commit
- git.kernel.org/stable/c/dd6e972cc5890d91d6749bb48e3912721c4e4b25 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-53138 updated cvss 4.4
kernel: net/mlx5e: kTLS, Fix incorrect page refcounting
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 moreaffected: workaround, no fix available
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 24 d ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/a0ddb20a748b122ea86003485f7992fa5e84cc95
- git.kernel.org /stable/c/ffad2ac8c859c1c1a981fe9c4f7ff925db684a43
- git.kernel.org /stable/c/c7b97f9e794d8e2bbaa50e1d6c230196fd214b5e
-
git.kernel.org
/stable/c/69fbd07f17b0fdaf8970bc705f5bf115c297839d
patch
-
git.kernel.org
/stable/c/93a14620b97c911489a5b008782f3d9b0c4aeff4
patch
-
git.kernel.org
/stable/c/2723e8b2cbd486cb96e5a61b22473f7fd62e18df
patch
-
git.kernel.org
/stable/c/dd6e972cc5890d91d6749bb48e3912721c4e4b25
patch
- lists.debian.org /debian-lts-announce/2025/03/msg00002.html
- lists.debian.org /debian-lts-announce/2025/01/msg00001.html
Sources
- CVE List CVE-2024-53138
- NVD CVE-2024-53138
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.