CVE-2022-49957

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.

Score
CVSS 3.1 5.5 Medium
Status
Analyzed - 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-06-18
Last modified
2026-05-27
Weaknesses
CWE-908

Affected products

References