CVE-2022-50243Use After Free in Linux

Severity
7.8HIGHNVD
EPSS
0.0%
top 95.63%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 15

Description

In the Linux kernel, the following vulnerability has been resolved: sctp: handle the error returned from sctp_auth_asoc_init_active_key When it returns an error from sctp_auth_asoc_init_active_key(), the active_key is actually not updated. The old sh_key will be freeed while it's still used as active key in asoc. Then an use-after-free will be triggered when sending patckets, as found by syzbot: sctp_auth_shkey_hold+0x22/0xa0 net/sctp/auth.c:112 sctp_set_owner_w net/sctp/socket.c:132 [inline]

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages4 packages

NVDlinux/linux_kernel4.19.1994.19.262+7
Debianlinux/linux_kernel< 5.10.158-1+3
CVEListV5linux/linux50b57223da67653c61e405d0a7592355cfe4585eb8fa99a3a11bdd77fef6b4a97f1021eb30b5ba40+8
debiandebian/linux< linux 6.0.3-1 (bookworm)

Patches

🔴Vulnerability Details

2
GHSA
GHSA-2hwr-p3mh-h7f6: In the Linux kernel, the following vulnerability has been resolved: sctp: handle the error returned from sctp_auth_asoc_init_active_key When it retu2025-09-15
OSV
CVE-2022-50243: In the Linux kernel, the following vulnerability has been resolved: sctp: handle the error returned from sctp_auth_asoc_init_active_key When it return2025-09-15

📋Vendor Advisories

2
Red Hat
kernel: sctp: handle the error returned from sctp_auth_asoc_init_active_key2025-09-15
Debian
CVE-2022-50243: linux - In the Linux kernel, the following vulnerability has been resolved: sctp: handl...2022
CVE-2022-50243 — Use After Free in Linux | cvebase