Menu

Star on GitHub · 3.3k

CVE-2021-46929

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: sctp: use call_rcu to free endpoint This patch is to delay the endpoint free by calling call_rcu() to fix another use-after-fre…

Published Feb 27, 2024CWE-416EPSS 0.26%

Overview

CVE-2021-46929 is a high-severity vulnerability. It was published on February 27, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

sctp: use call_rcu to free endpoint

This patch is to delay the endpoint free by calling call_rcu() to fix

another use-after-free issue in sctp_sock_dump():

BUG: KASAN: use-after-free in __lock_acquire+0x36d9/0x4c20

Call Trace:

__lock_acquire+0x36d9/0x4c20 kernel/locking/lockdep.c:3218

lock_acquire+0x1ed/0x520 kernel/locking/lockdep.c:3844

__raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]

_raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:168

spin_lock_bh include/linux/spinlock.h:334 [inline]

__lock_sock+0x203/0x350 net/core/sock.c:2253

lock_sock_nested+0xfe/0x120 net/core/sock.c:2774

lock_sock include/net/sock.h:1492 [inline]

sctp_sock_dump+0x122/0xb20 net/sctp/diag.c:324

sctp_for_each_transport+0x2b5/0x370 net/sctp/socket.c:5091

sctp_diag_dump+0x3ac/0x660 net/sctp/diag.c:527

__inet_diag_dump+0xa8/0x140 net/ipv4/inet_diag.c:1049

inet_diag_dump

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-46929?

CVE-2021-46929 is a high-severity vulnerability. It was published on February 27, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-46929?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-46929?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-46929?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-46929 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2021

View all
LiveWatch live →