Read the docs
TI-2022-25728 Aliases CVE-2022-50243GHSA-2hwr-p3mh-h7f6

sctp: handle the error returned from sctp_auth_asoc_init_active_key

Priority LOW 33CWE-416Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 8 fixed, 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.

Summary

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] sctp_sendmsg_to_asoc+0xbd5/0x1a20 net/sctp/socket.c:1863 sctp_sendmsg+0x1053/0x1d50 net/sctp/socket.c:2025 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:819 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:734 This patch is to fix it by not replacing the sh_key when it returns errors from sctp_auth_asoc_init_active_key() in sctp_auth_set_key(). For sctp_auth_set_active_key(), old active_key_id will be set back to asoc->active_key_id when the same thing happens.

Why it matters now

EPSS 0.00164 5th percentileScored 2026-11-07
Fix Partial Linux (Linux): 4.19.262, 5.4.220, 5.10.150 +5Red Hat: 3 advisoriesRed Hat: 8 fixed, 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux4.19.199 to before 4.19.262; 5.4.136 to before 5.4.220; 5.10.54 to before 5.10.150; 5.13.6 to before 5.144.19.262, 5.4.220, 5.10.150, 5.14Patch availableCNA
LinuxLinux5.14 and later4.19.262, 5.4.220, 5.10.150, 5.15.75, 5.19.17, 6.0.3, 6.1Patch availableCNA
  • Linux VendorLinux Affected 4.19.199 to before 4.19.262; 5.4.136 to before 5.4.220; 5.10.54 to before 5.10.150; 5.13.6 to before 5.14 Fixed in 4.19.262, 5.4.220, 5.10.150, 5.14 Patch available CNA
  • Linux VendorLinux Affected 5.14 and later Fixed in 4.19.262, 5.4.220, 5.10.150, 5.15.75, 5.19.17, 6.0.3, 6.1 Patch available CNA

CPE configurations NVD · 7

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*4.19.199 to before 4.19.262; 5.4.136 to before 5.4.220; 5.10.54 to before 5.10.150; 5.13.6 to before 5.14; 5.14.1 to before 5.15.75; 5.16 to before 5.19.17; 6.0 to before 6.0.3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.14:-:*:*:*:*:*:*5.14VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.14:rc3:*:*:*:*:*:*5.14 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.14:rc4:*:*:*:*:*:*5.14 rc4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.14:rc5:*:*:*:*:*:*5.14 rc5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.14:rc6:*:*:*:*:*:*5.14 rc6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.14:rc7:*:*:*:*:*:*5.14 rc7VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.19.199 to before 4.19.262; 5.4.136 to before 5.4.220; 5.10.54 to before 5.10.150; 5.13.6 to before 5.14; 5.14.1 to before 5.15.75; 5.16 to before 5.19.17; 6.0 to before 6.0.3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.14:-:*:*:*:*:*:* Versions 5.14 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.14:rc3:*:*:*:*:*:* Versions 5.14 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.14:rc4:*:*:*:*:*:* Versions 5.14 rc4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.14:rc5:*:*:*:*:*:* Versions 5.14 rc5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.14:rc6:*:*:*:*:*:* Versions 5.14 rc6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.14:rc7:*:*:*:*:*:* Versions 5.14 rc7 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 4.19.262, 5.4.220, 5.10.150, 5.14
  • Fix · CNA Linux (Linux) Fixed in 4.19.262, 5.4.220, 5.10.150, 5.15.75, 5.19.17, 6.0.3, 6.1

Red Hat 3 advisories

  • RHSA-2023:7398 Released 2023-11-21 · Red Hat rating Important
    kernel security and bug fix update
    • Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-tools-libs-devel-4.18.0-372.80.1.el8_6
    • Red Hat Enterprise Linux BaseOS EUS (v.8.6) bpftool-4.18.0-372.80.1.el8_6, kernel-4.18.0-372.80.1.el8_6, kernel-abi-stablelists-4.18.0-372.80.1.el8_6 +19
    • Red Hat Virtualization 4 Hypervisor for RHEL 8 kernel-devel-4.18.0-372.80.1.el8_6, perf-4.18.0-372.80.1.el8_6
  • RHSA-2023:2951 Released 2023-05-16 · Red Hat rating Important
    kernel security, bug fix, and enhancement update
    • Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-477.10.1.el8_8, kernel-4.18.0-477.10.1.el8_8, kernel-abi-stablelists-4.18.0-477.10.1.el8_8 +19
    • Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-477.10.1.el8_8
  • RHSA-2023:2458 Released 2023-05-09 · Red Hat rating Important
    kernel security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-284.11.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.11.1.el9_2, kernel-64k-devel-5.14.0-284.11.1.el9_2 +10
    • Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.0.0-284.11.1.el9_2, kernel-5.14.0-284.11.1.el9_2, kernel-64k-5.14.0-284.11.1.el9_2 +29
    • Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-284.11.1.el9_2

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat CodeReady Linux Builder EUS (v.8.6)Fixed RHSA-2023:7398
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2023:2458
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2023:2951
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2023:2458
Red Hat Enterprise Linux BaseOS EUS (v.8.6)Fixed RHSA-2023:7398
Red Hat Enterprise Linux CRB (v. 8)Fixed RHSA-2023:2951
Red Hat Enterprise Linux CRB (v. 9)Fixed RHSA-2023:2458
Red Hat Virtualization 4 Hypervisor for RHEL 8Fixed RHSA-2023:7398
Not affected: 3 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-50243
  2. 2026-10-03 Alias added: GHSA-2hwr-p3mh-h7f6

References

  • 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
See all 15278 →

Sources