CVE-2022-48786 json
vsock: remove vsock from connected table when connect is interrupted by a signal
published 2024-07-16 2 y ago modified 2026-08-05 3 mo ago also EUVD-2022-53665
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.9.303, 4.14.268, 4.19.231, 5.4.181, 5.10.102, 5.15.25, 5.16.11, 5.17
- linux Debian 14, Debian 13, Debian 12 5.16.11-1
debian advisories DEBIAN-CVE-2022-48786
- linux Ubuntu 18.04 LTS 4.15.0-177.186
- linux Ubuntu 20.04 LTS 5.4.0-110.124
- linux-aws Ubuntu 18.04 LTS 4.15.0-1128.137
- linux-aws Ubuntu 20.04 LTS 5.4.0-1073.78
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1073.78
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1021.23
- linux-iot Ubuntu 20.04 LTS 5.4.0-1004.6
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1114.117
ubuntu advisories UBUNTU-CVE-2022-48786
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 9 5.14.0-162.6.1.el9_1
- perf RHEL 9 5.14.0-162.6.1.el9_1
- bpftool RHEL 9 5.14.0-162.6.1.el9_1
- kernel-core RHEL 9 5.14.0-162.6.1.el9_1
- kernel-tools RHEL 9 5.14.0-162.6.1.el9_1
- python3-perf RHEL 9 5.14.0-162.6.1.el9_1
- kernel-modules RHEL 9 5.14.0-162.6.1.el9_1
- kernel-zfcpdump RHEL 9 5.14.0-162.6.1.el9_1
red hat advisories RHSA-2024:10273RHSA-2024:6991RHSA-2024:6990RHSA-2022:8267RHSA-2022:7683
- kernel-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.197.1
- kernel-syms-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.197.1
- kernel-source-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.197.1
- kernel-syms SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.228.1
- kernel-source SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.228.1
- kernel-default SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +2 more 4.12.14-122.228.1
- kernel-obs-build SLE Software Development Kit 12 SP5 4.12.14-122.228.2
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.200.1
suse advisories SUSE-SU-2024:3252-1SUSE-SU-2024:3251-1SUSE-SU-2024:3189-1SUSE-SU-2024:2947-1SUSE-SU-2024:2939-1SUSE-SU-2024:2929-1
- git.kernel.org/stable/c/0bb88f3f7e8d506f3efe46d694964117e20efbfc commit
- git.kernel.org/stable/c/e3b3939fd137aab6d00d54bee0ee9244b286a608 commit
- git.kernel.org/stable/c/2910bcb9f67551a45397735e47b6d456eb8cd549 commit
- git.kernel.org/stable/c/5f326fe2aef411a6575628f92bd861463ea91df7 commit
- git.kernel.org/stable/c/87cd1bbd6677411e17369cd4b7389ab1e1fdba44 commit
- git.kernel.org/stable/c/787468ee7a435777521d33399d012fd591ae2f94 commit
- git.kernel.org/stable/c/addd62a8cb6fa90aa322365c62487da61f6baab8 commit
- git.kernel.org/stable/c/b9208492fcaecff8f43915529ae34b3bcb03877c commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-48786 updated cvss 4.4
kernel: vsock: remove vsock from connected table when connect is interrupted by a signal
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 moreaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 moreaffected: no fix available
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-425.3.1.el8, kernel-debuginfo-common-aarch64 4.18.0-425.3.1.el8, kernel-debuginfo-common-ppc64le 4.18.0-425.3.1.el8fixed: vendor fix RHSA-2022:7683
-
Red Hat CodeReady Linux Builder (v. 9) kernel-debuginfo-common-s390x 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-x86_64 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-aarch64 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-ppc64le 5.14.0-162.6.1.el9_1 Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-162.6.1.el9_1, kernel-devel-matched 5.14.0-162.6.1.el9_1, kernel-debug-devel-matched 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-s390x 5.14.0-162.6.1.el9_1, kernel-zfcpdump-devel-matched 5.14.0-162.6.1.el9_1, kernel-debuginfo-common-x86_64 5.14.0-162.6.1.el9_1, +2 morefixed: vendor fix RHSA-2022:8267
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.117.1.el9_0, kernel-devel-matched 5.14.0-70.117.1.el9_0, kernel-debug-devel-matched 5.14.0-70.117.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.117.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.117.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.117.1.el9_0, +2 morefixed: vendor fix RHSA-2024:6991
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-425.3.1.el8, kernel 4.18.0-425.3.1.el8, bpftool 4.18.0-425.3.1.el8, kernel-core 4.18.0-425.3.1.el8, kernel-tools 4.18.0-425.3.1.el8, python3-perf 4.18.0-425.3.1.el8, +15 morefixed: vendor fix RHSA-2022:7683
-
Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-162.6.1.el9_1, bpftool 5.14.0-162.6.1.el9_1, kernel-core 5.14.0-162.6.1.el9_1, kernel-tools 5.14.0-162.6.1.el9_1, python3-perf 5.14.0-162.6.1.el9_1, kernel-modules 5.14.0-162.6.1.el9_1, +14 morefixed: vendor fix RHSA-2022:8267
show 5 moreshow fewer
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.131.1.el8_6, kernel 4.18.0-372.131.1.el8_6, bpftool 4.18.0-372.131.1.el8_6, kernel-core 4.18.0-372.131.1.el8_6, kernel-tools 4.18.0-372.131.1.el8_6, python3-perf 4.18.0-372.131.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.131.1.el8_6, kernel 4.18.0-372.131.1.el8_6, bpftool 4.18.0-372.131.1.el8_6, kernel-core 4.18.0-372.131.1.el8_6, kernel-tools 4.18.0-372.131.1.el8_6, python3-perf 4.18.0-372.131.1.el8_6, +15 morefixed: vendor fix RHSA-2024:10273
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.117.1.el9_0, bpftool 5.14.0-70.117.1.el9_0, kernel-core 5.14.0-70.117.1.el9_0, kernel-tools 5.14.0-70.117.1.el9_0, python3-perf 5.14.0-70.117.1.el9_0, kernel-modules 5.14.0-70.117.1.el9_0, +14 morefixed: vendor fix RHSA-2024:6991
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.131.1.el8_6, kernel 4.18.0-372.131.1.el8_6, bpftool 4.18.0-372.131.1.el8_6, kernel-core 4.18.0-372.131.1.el8_6, kernel-tools 4.18.0-372.131.1.el8_6, python3-perf 4.18.0-372.131.1.el8_6, +8 morefixed: vendor fix RHSA-2024:10273
-
Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.117.1.rt21.189.el9_0, kernel-rt-kvm 5.14.0-70.117.1.rt21.189.el9_0, kernel-rt-core 5.14.0-70.117.1.rt21.189.el9_0, kernel-rt-modules 5.14.0-70.117.1.rt21.189.el9_0, kernel-rt-debug-kvm 5.14.0-70.117.1.rt21.189.el9_0, kernel-rt-debug-core 5.14.0-70.117.1.rt21.189.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.117.1.rt21.189.el9_0, kernel-rt-core 5.14.0-70.117.1.rt21.189.el9_0, kernel-rt-modules 5.14.0-70.117.1.rt21.189.el9_0, kernel-rt-debug-core 5.14.0-70.117.1.rt21.189.el9_0, kernel-rt-debug-modules 5.14.0-70.117.1.rt21.189.el9_0, kernel-rt-modules-extra 5.14.0-70.117.1.rt21.189.el9_0, +2 morefixed: vendor fix RHSA-2024:6990
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/0bb88f3f7e8d506f3efe46d694964117e20efbfc
patch
-
git.kernel.org
/stable/c/e3b3939fd137aab6d00d54bee0ee9244b286a608
patch
-
git.kernel.org
/stable/c/2910bcb9f67551a45397735e47b6d456eb8cd549
patch
-
git.kernel.org
/stable/c/5f326fe2aef411a6575628f92bd861463ea91df7
patch
-
git.kernel.org
/stable/c/87cd1bbd6677411e17369cd4b7389ab1e1fdba44
patch
-
git.kernel.org
/stable/c/787468ee7a435777521d33399d012fd591ae2f94
patch
-
git.kernel.org
/stable/c/addd62a8cb6fa90aa322365c62487da61f6baab8
patch
-
git.kernel.org
/stable/c/b9208492fcaecff8f43915529ae34b3bcb03877c
patch
Sources
- CVE List CVE-2022-48786
- NVD CVE-2022-48786
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.