CVE-2022-48786
Last modified
CVE-2022-48786 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: vsock: remove vsock from connected table when connect is interrupted by a signal vsock_connect() expects that the socket could already be in the TCP_ESTABLISHED state when the connecting task wakes up with a signal pending. If this happens the socket will be in the connected table, and it is not removed when the socket state is reset. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: vsock: remove vsock from connected table when connect is interrupted by a signal vsock_connect() expects that the socket could already be in the TCP_ESTABLISHED state when the connecting task wakes up with a signal pending. If this happens the socket will be in the connected table, and it is not removed when the socket state is reset. In this situation it's common for the process to retry connect(), and if the connection is successful the socket will be added to the connected table a second time, corrupting the list. Prevent this by calling vsock_remove_connected() if a signal is received while waiting for a connection. This is harmless if the socket is not in the connected table, and if it is in the table then removing it will prevent list corruption from a double add. Note for backporting: this patch requires d5afa82c977e ("vsock: correct removal of socket from the list"), which is in all current stable trees except 4.9.y.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 3.9, < 4.9.303 | — |
| Linux | Linux Kernel | >= 4.10, < 4.14.268 | — |
| Linux | Linux Kernel | >= 4.15, < 4.19.231 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.181 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.102 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.25 | — |
| Linux | Linux Kernel | >= 5.16, < 5.16.11 | — |
| Linux | Linux Kernel | 5.17 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-48786?
How severe is CVE-2022-48786?
How do I fix CVE-2022-48786?
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 2022
- CVE-2022-48780In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-48781In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-48782In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-48783In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-48784In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2022-48785In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-48787In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-48788In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-48789In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-4879A vulnerability was found in Forged Alliance Forever up to 3…7.5
- CVE-2022-48790In the Linux kernel, the following vulnerability has been re…7
- CVE-2022-48791In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2022-48786?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
