Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-46984

7.8 · HIGH
Published Feb 28, 2024 linux CWE-129 EPSS 0.26% (17th pctl)

Overview

CVE-2021-46984 is a high-severity vulnerability affecting linux linux_kernel. It was published on February 28, 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:

kyber: fix out of bounds access when preempted

__blk_mq_sched_bio_merge() gets the ctx and hctx for the current CPU and

passes the hctx to ->bio_merge(). kyber_bio_merge() then gets the ctx

for the current CPU again and uses that to get the corresponding Kyber

context in the passed hctx. However, the thread may be preempted between

the two calls to blk_mq_get_ctx(), and the ctx returned the second time

may no longer correspond to the passed hctx. This "works" accidentally

most of the time, but it can cause us to read garbage if the second ctx

came from an hctx with more ctx's than the first one (i.e., if

ctx->index_hw[hctx->type] > hctx->nr_ctx).

This manifested as this UBSAN array index out of bounds error reported

by Jakub:

UBSAN: array-index-out-of-bounds in ../kernel/locking/qspinlock.c:130:9

index 13106 is out of range for type 'long unsigned int [128]'

Call Trace:

dump_stack+0xa4/0xe5

ubsan_epilogue+0x5/0x4

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 4.18, < 5.4.120 Affected

Frequently Asked Questions

What is CVE-2021-46984?

CVE-2021-46984 is a high-severity vulnerability affecting linux linux_kernel. It was published on February 28, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-46984?

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-46984?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-46984?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-46984 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.