CVE-2022-49957 Details
Description
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.
A vulnerability in the Linux kernel's KCM (Kernel Connection Multiplexing) implementation has been addressed. The issue arose from the improper order of operations in the STRP (Stream Control Transmission Protocol) initialization process. Specifically, the function strp_init() was called before checking the user data associated with the connection, leading to unnecessary cancellation of newly initialized work. Additionally, if the user data was already in use by KCM, the STRP state should not have been modified. This vulnerability has been resolved by rearranging the initialization sequence and addressing a related lock dependency warning.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0946ff31d1a8778787bf6708beb20f38715267cc | kernel.org | Patch |
| https://git.kernel.org/stable/c/1b6666964ca1de93a7bf06e122bcf3616dbd33a9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/473f394953216614087f4179e55cdf0cf616a13b | kernel.org | Patch |
| https://git.kernel.org/stable/c/55fb8c3baa8071c5d533a9ad48624e44e2a04ef5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8fc29ff3910f3af08a7c40a75d436b5720efe2bf | kernel.org | Patch |
| https://git.kernel.org/stable/c/a8a0c321319ad64a5427d6172cd9c23b4d6ca1e8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f865976baa85915c7672f351b74d5974b93215f6 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-908 | Use of Uninitialized Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.9.84, < 4.10 >= 4.9.100, < 4.10 >= 4.14.22, < 4.14.293 >= 4.14.41, < 4.15 >= 4.15.1, < 4.19.258 >= 4.20, < 5.4.213 >= 5.5, < 5.10.142 >= 5.11, < 5.15.66 >= 5.16, < 5.19.8 4.15 - 6.0 rc1 6.0 rc2 6.0 rc3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 14, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |