Local privilege escalation via stale xsk_diag device pointer
Published Sep 18, 2025 · Updated Sep 18, 2025
Use-after-free in Linux kernel AF_XDP diagnostics allows local users to escalate privileges through a stale net_device pointer. xsk_diag tests xs->dev after unbinding instead of checking the XSK_UNBOUND state, causing a diagnostic dump to dereference a freed net_device. A low-privilege user must bind an AF_XDP socket, remove its network device, and request a NETLINK_SOCK_DIAG dump; consequences include kernel memory disclosure, corruption, or panic.
Summary
What happened
Use-after-free in Linux kernel AF_XDP diagnostics allows local users to escalate privileges through a stale net_device pointer. xsk_diag tests xs->dev after unbinding instead of checking the XSK_UNBOUND state, causing a diagnostic dump to dereference a freed net_device. A low-privilege user must bind an AF_XDP socket, remove its network device, and request a NETLINK_SOCK_DIAG dump; consequences include kernel memory disclosure, corruption, or panic.
The record
- CVE
- CVE-2023-53426
- Published
- Sep 18, 2025
- Updated
- Sep 18, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 18, 2025CVE publishedPublication date reported by the CVE source.
- Sep 18, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=18b1ab7aa76bde181bdb1ab19a87fa9523c32f21 <3e019d8a05a38abb5c85d4f1e85fda964610aa14
- Affected versionversion=18b1ab7aa76bde181bdb1ab19a87fa9523c32f21 <595931912357fa3507e522a7f8a0a76e423c23e4
- Affected versionversion=18b1ab7aa76bde181bdb1ab19a87fa9523c32f21 <6436973164ea5506a495f39e56be5aea375e7832
- Affected versionversion=5.18
- Affected versionversion=8a2dea162b92c322f3e42eae0c4a74b8d20aa7a9
- Affected versionversion=ad7219cd8751bd258b9d1e69ae0654ec00f71875 <5979985f2d6b565b6cf0f79a62670a2855c0e96c
- Affected versionversion=d1579253ffce39986e7a6ab757ac93b2680a665f
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo