CVE-2023-53426: xsk: Fix xsk_diag use-after-free error during socket cleanup
Vulnerability summary
CVE-2023-53426 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.6% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 10Timeline
- 18-09-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.15% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu111 products
- linux< 5.15.0-94.104
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1053.58
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ ad7219cd8751bd258b9d1e69ae0654ec00f71875, < 5979985f2d6b565b6cf0f79a62670a2855c0e96c | ≥ 18b1ab7aa76bde181bdb1ab19a87fa9523c32f21, < 6436973164ea5506a495f39e56be5aea375e7832 | ≥ 18b1ab7aa76bde181bdb1ab19a87fa9523c32f21, < 595931912357fa3507e522a7f8a0a76e423c23e4 | ≥ 18b1ab7aa76bde181bdb1ab19a87fa9523c32f21, < 3e019d8a05a38abb5c85d4f1e85fda964610aa14 | d1579253ffce39986e7a6ab757ac93b2680a665f | 8a2dea162b92c322f3e42eae0c4a74b8d20aa7a9 | ≥ 5.15.33, < 5.15.132 | ≥ 5.16.19, < 5.17 | ≥ 5.17.2, < 5.18 | 5.18
- linux_kernel≥ 5.15.33, < 5.15.132 | ≥ 5.16.19, < 5.17 | ≥ 5.17.2, < 6.1.54 | ≥ 6.2, < 6.5.4
Debian1 product
- linux< 6.1.55-1 | < 6.5.6-1
3 vendors · 114 products