Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-54238

published high CVSS 3.1 · 7.8

mlx5: fix skb leak while fifo resync and push

Published
30 Dec 2025, 12:11:27 UTC
Updated
15 Oct 2026, 21:41:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux58a518948f60153e8f6cb8361d2712aa3a1af94a to < 234cffda95e1049f58e8ec136ef105c633f0ed19 · 58a518948f60153e8f6cb8361d2712aa3a1af94a to < 68504c66d08c70fb92799722e25a932d311d74fd · 58a518948f60153e8f6cb8361d2712aa3a1af94a to < e435941b1da1a0be4ff8a7ae425774c76a5ac514 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.1.18 through 6.1.* (unaffected · semver) · 6.2.5 through 6.2.* (unaffected · semver) · 6.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-toolsaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-toolsppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-toolss390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-toolsx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdumps390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-cores390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-devels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-moduless390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-modules-extras390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perfaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perfppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perfs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perfx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perf-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perf-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perf-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perf-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perfaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perfppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perfs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perfx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: mlx5: fix skb leak while fifo resync and push During ptp resync operation SKBs were poped from the fifo but were never freed neither by napi_consume nor by dev_kfree_skb_any. Add call to napi_consume_skb to properly free SKBs. Another leak was happening because mlx5e_skb_fifo_has_room() had an error in the check. Comparing free running counters works well unless C promotes the types to something wider than the counter. In this case counters are u16 but the result of the substraction is promouted to int and it causes wrong result (negative value) of the check when producer have already overlapped but consumer haven't yet. Explicit cast to u16 fixes the issue.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The defect is in the mlx5 PTP transmit/completion path, reached by locally originated packets — an unprivileged process opening a UDP socket, enabling SO_TIMESTAMPING with SOF_TIMESTAMPING_TX_HARDWARE, and sending to port 319 (or ethertype 0x88F7). A remote peer cannot set SKBTX_HW_TSTAMP on the host's outbound skbs, so the reliable trigger is a local syscall path, not received network data. AC:L - Both preconditions are entirely under the attacker's control: the u16 producer counter is advanced by the attacker's own packets, so wrapping into the broken-comparison window is deterministic after ~65536 sends, and outrunning the slower port-timestamp CQ is achieved by simply bursting traffic. No race the attacker cannot drive, no unpredictable memory layout, and the enabling tx_port_ts priv-flag is a routine runtime setting in PTP-timestamping deployments rather than a rare build option. PR:L - Neither setsockopt(SO_TIMESTAMPING) with SOF_TIMESTAMPING_TX_HARDWARE nor sending UDP to port 319 requires any capability, and mlx5e_use_ptpsq() checks only the skb tx_flags and packet classification — no hwtstamp or privilege gate. Any unprivileged local account can therefore drive skbs onto the PTP SQ and overflow the fifo. UI:N - The attacker's own packet transmission drives the fifo overflow and the corrupted TS-CQE consumption entirely; no action by any other user or administrator is needed once the interface is in its normal PTP configuration. S:U - The corruption is confined to kernel heap objects (sk_buff slab entries and the driver's skb fifo) within the same kernel security authority. There is no crossing of a VM, IOMMU, or sandbox boundary. C:H - Duplicate pops make the TS-CQ path dereference already-freed sk_buffs — mlx5e_skb_cb_get_hwts() reads freed slab memory and skb_tstamp_tx() clones the freed (and possibly reallocated) skb and delivers it to a socket's error queue, exposing kernel heap contents to userspace. The premature-free primitive is also the classic basis for a controlled arbitrary-read via heap spraying. I:H - The same duplicate consumption causes skb refcount underflow and double free of a kmem_cache object, corrupting the slab freelist, while mlx5e_skb_cb_hwtstamp_handler() writes hwtstamp values and memsets into the freed object's cb field. That combination of double-free plus write-into-freed-memory is a heap corruption primitive usable for control-flow hijack. A:H - The overflow reliably produces kernel oopses in softirq/NAPI context — NULL dereference on never-written kvzalloc'd fifo slots during the resync loop, WARN_ON_ONCE in mlx5e_skb_fifo_pop() (fatal under panic_on_warn), and double-free BUGs — taking down the machine. Independently, the unfreed skbs in the resync path leak memory without bound until OOM.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 58a518948f60153e8f6cb8361d2712aa3a1af94a to < 234cffda95e1049f58e8ec136ef105c633f0ed19 (affected · git)58a518948f60153e8f6cb8361d2712aa3a1af94a to < 68504c66d08c70fb92799722e25a932d311d74fd (affected · git)58a518948f60153e8f6cb8361d2712aa3a1af94a to < e435941b1da1a0be4ff8a7ae425774c76a5ac514 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.0 (affected)0 to < 6.0 (unaffected · semver)6.1.18 through 6.1.* (unaffected · semver)6.2.5 through 6.2.* (unaffected · semver)6.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

2

Linux · cna

mlx5: fix skb leak while fifo resync and push

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
6635d116d948fb0260b95368b97d7cc84325a17e85b191147cb7243104969a7f
Ingested
15 Oct 2026, 23:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected