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-53426

published high CVSS 3.1 · 7.8

xsk: Fix xsk_diag use-after-free error during socket cleanup

Published
18 Sep 2025, 16:04:08 UTC
Updated
05 Aug 2026, 09:14:03 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxad7219cd8751bd258b9d1e69ae0654ec00f71875 to < 5979985f2d6b565b6cf0f79a62670a2855c0e96c · 18b1ab7aa76bde181bdb1ab19a87fa9523c32f21 to < 6436973164ea5506a495f39e56be5aea375e7832 · 18b1ab7aa76bde181bdb1ab19a87fa9523c32f21 to < 595931912357fa3507e522a7f8a0a76e423c23e4 · 18b1ab7aa76bde181bdb1ab19a87fa9523c32f21 to < 3e019d8a05a38abb5c85d4f1e85fda964610aa14 · d1579253ffce39986e7a6ab757ac93b2680a665f · 8a2dea162b92c322f3e42eae0c4a74b8d20aa7a9 · 5.15.33 to < 5.15.132 · 5.16.19 to < 5.17 · 5.17.2 to < 5.18 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 5.15.132 through 5.15.* (unaffected · semver) · 6.1.54 through 6.1.* (unaffected · semver) · 6.5.4 through 6.5.* (unaffected · semver) · 6.6 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 AL2 Release evaluationALAS2KERNEL-5.15-2023-027 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-356 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debug-uki-virtx86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreppc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-modules-cores390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-modules-corex86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-rtaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-rtx86_64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-rt-64kaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-coreaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debugaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-coreaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-debuginfoaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-develaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-modulesaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-modules-coreaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-modules-extraaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debuginfoaarch64 Advisory build 5.14.0-611.5.1.el9_7 RHSA-2025:20518

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

Description

In the Linux kernel, the following vulnerability has been resolved: xsk: Fix xsk_diag use-after-free error during socket cleanup Fix a use-after-free error that is possible if the xsk_diag interface is used after the socket has been unbound from the device. This can happen either due to the socket being closed or the device disappearing. In the early days of AF_XDP, the way we tested that a socket was not bound to a device was to simply check if the netdevice pointer in the xsk socket structure was NULL. Later, a better system was introduced by having an explicit state variable in the xsk socket struct. For example, the state of a socket that is on the way to being closed and has been unbound from the device is XSK_UNBOUND. The commit in the Fixes tag below deleted the old way of signalling that a socket is unbound, setting dev to NULL. This in the belief that all code using the old way had been exterminated. That was unfortunately not true as the xsk diagnostics code was still using the old way and thus does not work as intended when a socket is going down. Fix this by introducing a test against the state variable. If the socket is in the state XSK_UNBOUND, simply abort the diagnostic's netlink operation.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

12

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 - Exploitation requires local syscalls: create/bind an AF_XDP socket, destroy the bound netdev via rtnetlink, then dump via NETLINK_SOCK_DIAG. This is not reachable from remote network packet processing. AC:L - No uncontrolled race is required; after NETDEV_UNREGISTER sets XSK_UNBOUND and drops the final netdev ref without clearing xs->dev, a subsequent xsk_diag dump reliably dereferences the freed net_device. The attacker fully controls this sequence. PR:L - AF_XDP creation needs only ns_capable(CAP_NET_RAW), and creating/deleting a veth needs CAP_NET_ADMIN in the network namespace; both are obtainable by an unprivileged user via user namespaces. sock_diag dumps to the kernel do not require root. UI:N - The attacker creates the AF_XDP socket, removes the device, and issues the diag dump entirely on their own with no victim action. S:U - Impact is confined to the local kernel's authority (memory corruption / privilege escalation within the host kernel); it does not cross a VM, IOMMU, or other security boundary. C:H - The bug is a use-after-free read of a freed net_device (xs->dev->ifindex) whose contents can be controlled via heap reuse, enabling arbitrary kernel memory disclosure per UAF scoring guidance. I:H - UAF of a large kmalloc net_device object enables heap spraying and write primitives for control-flow hijacking, so integrity impact is High even though the immediate fault is a read. A:H - The UAF produces kernel oops/KASAN faults and can panic the system when the stale net_device pointer is accessed during diag dump.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux ad7219cd8751bd258b9d1e69ae0654ec00f71875 to < 5979985f2d6b565b6cf0f79a62670a2855c0e96c (affected · git)18b1ab7aa76bde181bdb1ab19a87fa9523c32f21 to < 6436973164ea5506a495f39e56be5aea375e7832 (affected · git)18b1ab7aa76bde181bdb1ab19a87fa9523c32f21 to < 595931912357fa3507e522a7f8a0a76e423c23e4 (affected · git)18b1ab7aa76bde181bdb1ab19a87fa9523c32f21 to < 3e019d8a05a38abb5c85d4f1e85fda964610aa14 (affected · git)d1579253ffce39986e7a6ab757ac93b2680a665f (affected · git)8a2dea162b92c322f3e42eae0c4a74b8d20aa7a9 (affected · git)5.15.33 to < 5.15.132 (affected · semver)5.16.19 to < 5.17 (affected · semver)5.17.2 to < 5.18 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.18 (affected)0 to < 5.18 (unaffected · semver)5.15.132 through 5.15.* (unaffected · semver)6.1.54 through 6.1.* (unaffected · semver)6.5.4 through 6.5.* (unaffected · semver)6.6 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

4

Provider assertions

2

Linux · cna

xsk: Fix xsk_diag use-after-free error during socket cleanup

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
1b49b61e1099eecfb14a6e8ba90eda4cc79cc6ca23ab07d500dc5e4226e1397c
Ingested
23 Sep 2026, 08:14:56 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