CVE-2023-53426
Last modified
CVE-2023-53426 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.15.33, < 5.15.132 |
| Linux | Linux Kernel | >= 5.16.19, < 5.17 |
| Linux | Linux Kernel | >= 5.17.2, < 6.1.54 |
| Linux | Linux Kernel | >= 6.2, < 6.5.4 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-53426?
How severe is CVE-2023-53426?
How do I fix CVE-2023-53426?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-53420In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2023-53421In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53422In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53423In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53424In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53425In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53427In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53428In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53429In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-5343The Popup box WordPress plugin before 3.7.9 does not sanitis…4.8
- CVE-2023-53430In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53431In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2023-53426?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
