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-2023-54325

published high CVSS 3.1 · 7.1

crypto: qat - fix out-of-bounds read

Published
30 Dec 2025, 12:37:09 UTC
Updated
05 Aug 2026, 09:19:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux67916c9516893528ecce060ada1f58af0ce33d93 to < 7697139d5dfd491f4c495a914a1dd68f6e827a0f · 67916c9516893528ecce060ada1f58af0ce33d93 to < dc3809f390357c8992f0a23083da934a20fef9af · 67916c9516893528ecce060ada1f58af0ce33d93 to < 2b1501f058245573a3aa6bf234d205dde1196184 · 67916c9516893528ecce060ada1f58af0ce33d93 to < f6044cc3030e139f60c281386f28bda6e3049d66 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 5.15.99 through 5.15.* (unaffected · semver) · 6.1.16 through 6.1.* (unaffected · semver) · 6.2.3 through 6.2.* (unaffected · semver) · 6.3 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 AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-477.13.1.el8_8 RHSA-2023:3349
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077

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

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: qat - fix out-of-bounds read When preparing an AER-CTR request, the driver copies the key provided by the user into a data structure that is accessible by the firmware. If the target device is QAT GEN4, the key size is rounded up by 16 since a rounded up size is expected by the device. If the key size is rounded up before the copy, the size used for copying the key might be bigger than the size of the region containing the key, causing an out-of-bounds read. Fix by doing the copy first and then update the keylen. This is to fix the following warning reported by KASAN: [ 138.150574] BUG: KASAN: global-out-of-bounds in qat_alg_skcipher_init_com.isra.0+0x197/0x250 [intel_qat] [ 138.150641] Read of size 32 at addr ffffffff88c402c0 by task cryptomgr_test/2340 [ 138.150651] CPU: 15 PID: 2340 Comm: cryptomgr_test Not tainted 6.2.0-rc1+ #45 [ 138.150659] Hardware name: Intel Corporation ArcherCity/ArcherCity, BIOS EGSDCRB1.86B.0087.D13.2208261706 08/26/2022 [ 138.150663] Call Trace: [ 138.150668] <TASK> [ 138.150922] kasan_check_range+0x13a/0x1c0 [ 138.150931] memcpy+0x1f/0x60 [ 138.150940] qat_alg_skcipher_init_com.isra.0+0x197/0x250 [intel_qat] [ 138.151006] qat_alg_skcipher_init_sessions+0xc1/0x240 [intel_qat] [ 138.151073] crypto_skcipher_setkey+0x82/0x160 [ 138.151085] ? prepare_keybuf+0xa2/0xd0 [ 138.151095] test_skcipher_vec_cfg+0x2b8/0x800

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

10

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Scenarios
en: AV:L - The vulnerable `setkey` path is entered from a local process via an AF_ALG socket (`setsockopt(ALG_SET_KEY)` on `ctr(aes)`/`qat_aes_ctr`) or any other local crypto-API consumer; no network-facing service passes attacker-chosen key lengths into this driver. AC:L - The attacker fully and deterministically controls the trigger — simply install a 24-byte (AES-192) key on a `ctr(aes)` transform, since only the 24→32 round-up overreads; no race, timing, or memory-layout condition is involved. PR:L - Any unprivileged local user can open AF_ALG and call `ALG_SET_KEY`; `crypto/af_alg.c` and `crypto/algif_skcipher.c` contain no `capable()`/`CAP_*` checks, and QAT's priority-4001 `ctr(aes)` is selected automatically. UI:N - The attacker triggers the out-of-bounds read entirely from its own process by setting a key; no victim action is required (the crypto self-test even triggers it unattended at module load). S:U - The overread and its consequences stay within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - Eight bytes of kernel memory adjacent to the key buffer — which under heap grooming can be attacker-influenced neighboring slab contents such as other keys or pointers — are read out of bounds and copied into a DMA-coherent buffer exposed to the accelerator firmware, taking kernel heap data outside the kernel's control. I:N - This is a read-only overread: the 64-byte `ucs_aes.key` destination comfortably holds the 32-byte store, so no out-of-bounds write or control-flow primitive exists, and the AES-192 key schedule ignores the stray trailing bytes. A:H - The 8-byte overread faults and oopses whenever the key buffer ends at a mapping boundary (KFENCE-guarded allocation, end of a vmapped region, or the section-end case seen in the reported `.rodata` KASAN report), and on KASAN/`panic_on_warn` kernels it is a hard crash that an unprivileged user can trigger repeatedly.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 67916c9516893528ecce060ada1f58af0ce33d93 to < 7697139d5dfd491f4c495a914a1dd68f6e827a0f (affected · git)67916c9516893528ecce060ada1f58af0ce33d93 to < dc3809f390357c8992f0a23083da934a20fef9af (affected · git)67916c9516893528ecce060ada1f58af0ce33d93 to < 2b1501f058245573a3aa6bf234d205dde1196184 (affected · git)67916c9516893528ecce060ada1f58af0ce33d93 to < f6044cc3030e139f60c281386f28bda6e3049d66 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.11 (affected)0 to < 5.11 (unaffected · semver)5.15.99 through 5.15.* (unaffected · semver)6.1.16 through 6.1.* (unaffected · semver)6.2.3 through 6.2.* (unaffected · semver)6.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

crypto: qat - fix out-of-bounds read

Provenance

Schema
5.2
Searchable
yes
Content hash
b81c106726dffa9cc3ee4f1a05a22a4f6b76d11d5cb3736ff9e179c0c3445e8d
Ingested
23 Sep 2026, 08:15:07 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