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-2024-26974

published high CVSS 3.1 · 7.8

crypto: qat - resolve race condition during AER recovery

Published
01 May 2024, 05:20:14 UTC
Updated
15 Oct 2026, 00:39:40 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxd8cba25d2c68992a6e7c1d329b690a9ebe01167d to < daba62d9eeddcc5b1081be7d348ca836c83c59d7 · d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 8e81cd58aee14a470891733181a47d123193ba81 · d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < d03092550f526a79cf1ade7f0dfa74906f39eb71 · d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 4ae5a97781ce7d6ecc9c7055396535815b64ca4f · d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 226fc408c5fcd23cc4186f05ea3a09a7a9aef2f7 · d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 8a5a7611ccc7b1fba8d933a9f22a2e76859d94dc · d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 0c2cf5142bfb634c0ef0a1a69cdf37950747d0be · d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < bb279ead42263e9fb09480f02a4247b2c287d828 · d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 7d42e097607c4d246d99225bf2b195b6167a210c · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.17 (affected) · 0 to < 3.17 (unaffected · semver) · 4.19.312 through 4.19.* (unaffected · semver) · 5.4.274 through 5.4.* (unaffected · semver) · 5.10.215 through 5.10.* (unaffected · semver) · 5.15.154 through 5.15.* (unaffected · semver) · 6.1.84 through 6.1.* (unaffected · semver) · 6.6.24 through 6.6.* (unaffected · semver) · 6.7.12 through 6.7.* (unaffected · semver) · 6.8.3 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
Debian bullseye linux Advisory build 5.10.216-1 DSA-5681-1
AlmaLinux 8 kernel Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.8.1.rt7.349.el8_10 ALSA-2024:4352
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.8.1.rt7.349.el8_10 ALSA-2024:4352
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.8.1.rt7.349.el8_10 ALSA-2024:4352
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.8.1.rt7.349.el8_10 ALSA-2024:4352
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.8.1.rt7.349.el8_10 ALSA-2024:4352
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.8.1.rt7.349.el8_10 ALSA-2024:4352
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.8.1.rt7.349.el8_10 ALSA-2024:4352
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.8.1.rt7.349.el8_10 ALSA-2024:4352
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.8.1.rt7.349.el8_10 ALSA-2024:4352
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.8.1.rt7.349.el8_10 ALSA-2024:4352
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.8.1.rt7.349.el8_10 ALSA-2024:4352
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.8.1.rt7.349.el8_10 ALSA-2024:4352
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 perf Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.8.1.el8_10 ALSA-2024:4211
AlmaLinux 9 bpftool Advisory build 7.3.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 libperf Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 perf Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 rtla Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349
AlmaLinux 9 rv Advisory build 5.14.0-427.24.1.el9_4 ALSA-2024:4349

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 - resolve race condition during AER recovery During the PCI AER system's error recovery process, the kernel driver may encounter a race condition with freeing the reset_data structure's memory. If the device restart will take more than 10 seconds the function scheduling that restart will exit due to a timeout, and the reset_data structure will be freed. However, this data structure is used for completion notification after the restart is completed, which leads to a UAF bug. This results in a KFENCE bug notice. BUG: KFENCE: use-after-free read in adf_device_reset_worker+0x38/0xa0 [intel_qat] Use-after-free read at 0x00000000bc56fddf (in kfence-#142): adf_device_reset_worker+0x38/0xa0 [intel_qat] process_one_work+0x173/0x340 To resolve this race condition, the memory associated to the container of the work_struct is freed on the worker if the timeout expired, otherwise on the function that schedules the worker. The timeout detection can be done by checking if the caller is still waiting for completion or not by using completion_done() function.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

59

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 vulnerable `adf_slot_reset()` runs in the host kernel's PCIe AER/EEH error-recovery machinery for the local QAT accelerator; there is no network- or adjacent-network-facing path to `drivers/crypto/intel/qat/qat_common/adf_aer.c`. The attacker must be local to the host — a co-resident guest/VFIO holder of a QAT function on the same PCIe hierarchy, or a local actor able to drive AER recovery. AC:L - The attacker controls the triggering event (the PCIe error that starts recovery), and the losing side of the race is not a narrow window — a device that has just taken an uncorrectable error leaves MMIO reads returning all-ones, so `adf_dev_up()` runs every poll loop to its full timeout (5 s admin-message poll plus 3 s firmware-auth waits) and deterministically exceeds the caller's 10-second `wait_for_completion_timeout`. The UAF was observed occurring naturally in the field via KFENCE, confirming the window is routinely hit. PR:L - SR-IOV VF assignment is the mainstream QAT deployment model, and a tenant guest or VFIO-granted user holding a QAT function can make it signal an uncorrectable error; `pci_walk_bridge()` then broadcasts `slot_reset` across the port's subordinate bus, invoking the host PF's `adf_slot_reset()` — no host root needed. Unprivileged local users can additionally drive arbitrary traffic through the device via AF_ALG, which dispatches to the QAT skcipher/aead implementations. UI:N - The reset worker and the timing-out caller both run entirely within kernel context once the PCIe error is signalled; no victim action, mount, or file open is required. S:U - The freed `adf_reset_dev_data` and the corruption caused by the stale `complete()` are both host kernel heap objects under the same security authority; no hypervisor, IOMMU, or sandbox boundary is itself bypassed by the flaw. C:H - The worker performs a use-after-free read of `reset_data->mode` and dereferences `x->wait.task_list` out of the freed ~80-byte `kmalloc-96` object, a cache an attacker can reliably reoccupy with sprayed objects (msg_msg, xattr, etc.), turning the stale reference into a controlled read of kernel memory. I:H - `complete()` on the freed object writes into it — taking a raw spinlock, incrementing `x->done`, and running `swake_up_locked()` over an attacker-groomed wait list, yielding `wake_up_process()` on a controlled task pointer; because `ADF_DEV_RESET_ASYNC == 0`, a zeroed reallocation of the slot also produces a second `kfree()` on the already-freed pointer, a classic double-free route to an arbitrary write. A:H - The use-after-free and potential double free corrupt the slab allocator, producing KASAN/KFENCE splats and kernel panics (immediate under `panic_on_warn`), and the reset path additionally hits `WARN(1, "QAT: device restart failed. Device is unusable")`, leaving the crypto accelerator dead.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < daba62d9eeddcc5b1081be7d348ca836c83c59d7 (affected · git)d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 8e81cd58aee14a470891733181a47d123193ba81 (affected · git)d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < d03092550f526a79cf1ade7f0dfa74906f39eb71 (affected · git)d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 4ae5a97781ce7d6ecc9c7055396535815b64ca4f (affected · git)d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 226fc408c5fcd23cc4186f05ea3a09a7a9aef2f7 (affected · git)d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 8a5a7611ccc7b1fba8d933a9f22a2e76859d94dc (affected · git)d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 0c2cf5142bfb634c0ef0a1a69cdf37950747d0be (affected · git)d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < bb279ead42263e9fb09480f02a4247b2c287d828 (affected · git)d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 7d42e097607c4d246d99225bf2b195b6167a210c (affected · git)Default: unaffected Linux · cna
Linux Linux 3.17 (affected)0 to < 3.17 (unaffected · semver)4.19.312 through 4.19.* (unaffected · semver)5.4.274 through 5.4.* (unaffected · semver)5.10.215 through 5.10.* (unaffected · semver)5.15.154 through 5.15.* (unaffected · semver)6.1.84 through 6.1.* (unaffected · semver)6.6.24 through 6.6.* (unaffected · semver)6.7.12 through 6.7.* (unaffected · semver)6.8.3 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 to < V1.1.1 (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

12

Provider assertions

4

Linux · cna

crypto: qat - resolve race condition during AER recovery

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
6b83f2ccd0c818b38fa347823513948c4f31016ffdf8adb6f33e6dc2bd1bb28e
Ingested
15 Oct 2026, 13:09:23 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