kcm: fix strp_init() order and cleanup
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-908 and the CVSS impact.
Summary
In the Linux kernel, the following vulnerability has been resolved: kcm: fix strp_init() order and cleanup strp_init() is called just a few lines above this csk->sk_user_data check, it also initializes strp->work etc., therefore, it is unnecessary to call strp_done() to cancel the freshly initialized work. And if sk_user_data is already used by KCM, psock->strp should not be touched, particularly strp->work state, so we need to move strp_init() after the csk->sk_user_data check. This also makes a lockdep warning reported by syzbot go away.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.14.22 to before 4.14.293; 4.9.84 to before 4.10; 4.9.100 to before 4.10 | 4.14.293, 4.10 | Patch available | CNA |
| Linux | Linux | 4.15 and later | 4.14.293, 4.19.258, 5.4.213, 5.10.142, 5.15.66, 5.19.8, 6.0 | Patch available | CNA |
- Linux VendorLinux Affected 4.14.22 to before 4.14.293; 4.9.84 to before 4.10; 4.9.100 to before 4.10 Fixed in 4.14.293, 4.10 Patch available CNA
- Linux VendorLinux Affected 4.15 and later Fixed in 4.14.293, 4.19.258, 5.4.213, 5.10.142, 5.15.66, 5.19.8, 6.0 Patch available CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.9.84 to before 4.10; 4.9.100 to before 4.10; 4.14.22 to before 4.14.293; 4.14.41 to before 4.15; 4.15.1 to before 4.19.258; 4.20 to before 5.4.213; 5.5 to before 5.10.142; 5.11 to before 5.15.66; 5.16 to before 5.19.8 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:-:*:*:*:*:*:* | 4.15 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:* | 6.0 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:* | 6.0 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.0:rc3:*:*:*:*:*:* | 6.0 rc3 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.9.84 to before 4.10; 4.9.100 to before 4.10; 4.14.22 to before 4.14.293; 4.14.41 to before 4.15; 4.15.1 to before 4.19.258; 4.20 to before 5.4.213; 5.5 to before 5.10.142; 5.11 to before 5.15.66; 5.16 to before 5.19.8 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:-:*:*:*:*:*:* Versions 4.15 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:* Versions 6.0 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:* Versions 6.0 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.0:rc3:*:*:*:*:*:* Versions 6.0 rc3 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.14.293, 4.10
- Fix · CNA Linux (Linux) Fixed in 4.14.293, 4.19.258, 5.4.213, 5.10.142, 5.15.66, 5.19.8, 6.0
Vendor assessments
Red Hat
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2022-49957
- 2026-10-03 Alias added: GHSA-cp59-hf68-p4rg
References
Patch 7
- https://git.kernel.org/stable/c/473f394953216614087f4179e55cdf0cf616a13b
- https://git.kernel.org/stable/c/a8a0c321319ad64a5427d6172cd9c23b4d6ca1e8
- https://git.kernel.org/stable/c/0946ff31d1a8778787bf6708beb20f38715267cc
- https://git.kernel.org/stable/c/1b6666964ca1de93a7bf06e122bcf3616dbd33a9
- https://git.kernel.org/stable/c/55fb8c3baa8071c5d533a9ad48624e44e2a04ef5
- https://git.kernel.org/stable/c/f865976baa85915c7672f351b74d5974b93215f6
- https://git.kernel.org/stable/c/8fc29ff3910f3af08a7c40a75d436b5720efe2bf
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2022-49957 · CVE Program
- CVE-2022-49957 · NVD
- FIRST EPSS
- GHSA-cp59-hf68-p4rg · GitHub Advisory Database · CC BY 4.0
- CVE-2022-49957 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences