Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-46984

published high CVSS 3.1 · 7.8

kyber: fix out of bounds access when preempted

Published
28 Feb 2024, 08:13:12 UTC
Updated
05 Aug 2026, 08:45:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa6088845c2bf754d6cb2572b484180680b037804 to < 0b6b4b90b74c27bea968c214d820ba4254b903a5 · a6088845c2bf754d6cb2572b484180680b037804 to < 54dbe2d2c1fcabf650c7a8b747601da355cd7f9f · a6088845c2bf754d6cb2572b484180680b037804 to < a287cd84e047045f5a4d4da793414e848de627c6 · a6088845c2bf754d6cb2572b484180680b037804 to < 2ef3c76540c49167a0bc3d5f80d00fd1fc4586df · a6088845c2bf754d6cb2572b484180680b037804 to < efed9a3337e341bd0989161b97453b52567bc59d · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.18 (affected) · 0 to < 4.18 (unaffected · semver) · 5.4.120 through 5.4.* (unaffected · semver) · 5.10.38 through 5.10.* (unaffected · semver) · 5.11.22 through 5.11.* (unaffected · semver) · 5.12.5 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-002 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2022-004 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
AlmaLinux 8 kernel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.22.1.rt7.363.el8_10 ALSA-2024:7001
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 perf Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.22.1.el8_10 ALSA-2024:7000
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.22.1.el8_10 ELSA-2024-7000
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-553.22.1.el8_10 RHSA-2024:7000

Package entries are limited to the first 100 builds and 100 linked advisories.

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/0x40 __ubsan_handle_out_of_bounds.cold.13+0x2a/0x34 queued_spin_lock_slowpath+0x476/0x480 do_raw_spin_lock+0x1c2/0x1d0 kyber_bio_merge+0x112/0x180 blk_mq_submit_bio+0x1f5/0x1100 submit_bio_noacct+0x7b0/0x870 submit_bio+0xc2/0x3a0 btrfs_map_bio+0x4f0/0x9d0 btrfs_submit_data_bio+0x24e/0x310 submit_one_bio+0x7f/0xb0 submit_extent_page+0xc4/0x440 __extent_writepage_io+0x2b8/0x5e0 __extent_writepage+0x28d/0x6e0 extent_write_cache_pages+0x4d7/0x7a0 extent_writepages+0xa2/0x110 do_writepages+0x8f/0x180 __writeback_single_inode+0x99/0x7f0 writeback_sb_inodes+0x34e/0x790 __writeback_inodes_wb+0x9e/0x120 wb_writeback+0x4d2/0x660 wb_workfn+0x64d/0xa10 process_one_work+0x53a/0xa80 worker_thread+0x69/0x5b0 kthread+0x20b/0x240 ret_from_fork+0x1f/0x30 Only Kyber uses the hctx, so fix it by passing the request_queue to ->bio_merge() instead. BFQ and mq-deadline just use that, and Kyber can map the queues itself to avoid the mismatch.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

14

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is in the Kyber block I/O scheduler on the local bio submit path (write/read → submit_bio → blk_mq_submit_bio → kyber_bio_merge), so exploitation requires local process access to issue I/O, not a network protocol handler. AC:L - An attacker controls I/O submission and can amplify the CPU-migration race via affinity bouncing, concurrent writers, and load; the race has occurred under real I/O pressure, so success does not depend on conditions beyond attacker influence. PR:L - Any unprivileged local user who can read/write files on a device using Kyber reaches the vulnerable merge path with no capabilities required; selecting Kyber via sysfs needs root but is a deployment precondition, not an attacker privilege. UI:N - Exploitation only requires the attacker’s own I/O syscalls; no separate victim action such as mounting a filesystem or opening a crafted file is needed. S:U - Impact is memory corruption within the host kernel’s block layer and does not cross a VM, IOMMU, or other distinct security authority boundary. C:H - The OOB index reads an out-of-range kyber_ctx_queue (lock and list heads) from adjacent heap memory, and the subsequent list walk dereferences those attacker-influenceable request pointers, enabling arbitrary kernel memory disclosure. I:H - spin_lock on the OOB object writes a corrupted lock word, and blk_bio_list_merge can mutate poisoned list pointers, yielding classic linked-list memory corruption suitable for arbitrary write and control-flow hijacking. A:H - Locking and walking garbage kyber_ctx_queue state causes kernel oops/panic (as in the reported qspinlock UBSAN failure in kyber_bio_merge), so availability impact is complete.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a6088845c2bf754d6cb2572b484180680b037804 to < 0b6b4b90b74c27bea968c214d820ba4254b903a5 (affected · git)a6088845c2bf754d6cb2572b484180680b037804 to < 54dbe2d2c1fcabf650c7a8b747601da355cd7f9f (affected · git)a6088845c2bf754d6cb2572b484180680b037804 to < a287cd84e047045f5a4d4da793414e848de627c6 (affected · git)a6088845c2bf754d6cb2572b484180680b037804 to < 2ef3c76540c49167a0bc3d5f80d00fd1fc4586df (affected · git)a6088845c2bf754d6cb2572b484180680b037804 to < efed9a3337e341bd0989161b97453b52567bc59d (affected · git)Default: unaffected Linux · cna
Linux Linux 4.18 (affected)0 to < 4.18 (unaffected · semver)5.4.120 through 5.4.* (unaffected · semver)5.10.38 through 5.10.* (unaffected · semver)5.11.22 through 5.11.* (unaffected · semver)5.12.5 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

kyber: fix out of bounds access when preempted

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
0a77348a2202258c71ae4e175416ba657f7d2003de5307f3dc6fc1d7da74e4a8
Ingested
23 Sep 2026, 07:57:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected