crypto: qat - resolve race condition during AER recovery
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 16 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.17 and later | 4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.84, 6.6.24, 6.7.12, 6.8.3, 6.9 | Patch available | CNA |
- Linux VendorLinux Affected 3.17 and later Fixed in 4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.84, 6.6.24, 6.7.12, 6.8.3, 6.9 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 3.17 to before 4.19.312; 4.20 to before 5.4.274; 5.5 to before 5.10.215; 5.11 to before 5.15.154; 5.16 to before 6.1.84; 6.2 to before 6.6.24; 6.7 to before 6.7.12; 6.8 to before 6.8.3 | Vulnerable | Linux |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 3.17 to before 4.19.312; 4.20 to before 5.4.274; 5.5 to before 5.10.215; 5.11 to before 5.15.154; 5.16 to before 6.1.84; 6.2 to before 6.6.24; 6.7 to before 6.7.12; 6.8 to before 6.8.3 Vulnerable ·Linux
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.84, 6.6.24, 6.7.12, 6.8.3, 6.9
Red Hat 6 advisories
- RHSA-2024:6744 Released 2024-09-18 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-tools-libs-devel-5.14.0-284.84.1.el9_2
- Red Hat Enterprise Linux AppStream EUS (v.9.2) kernel-64k-debug-devel-5.14.0-284.84.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.84.1.el9_2, kernel-64k-devel-5.14.0-284.84.1.el9_2 +9
- Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool-7.0.0-284.84.1.el9_2, kernel-5.14.0-284.84.1.el9_2, kernel-64k-5.14.0-284.84.1.el9_2 +29
- RHSA-2024:6745 Released 2024-09-18 · Red Hat rating Moderatekernel-rt security update
- Red Hat Enterprise Linux Real Time EUS (v.9.2) kernel-rt-5.14.0-284.84.1.rt14.369.el9_2, kernel-rt-core-5.14.0-284.84.1.rt14.369.el9_2, kernel-rt-debug-5.14.0-284.84.1.rt14.369.el9_2 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) kernel-rt-5.14.0-284.84.1.rt14.369.el9_2, kernel-rt-core-5.14.0-284.84.1.rt14.369.el9_2, kernel-rt-debug-5.14.0-284.84.1.rt14.369.el9_2 +11
- RHSA-2024:6206 Released 2024-09-03 · Red Hat rating Importantkernel security update
- Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-tools-libs-devel-4.18.0-477.70.1.el8_8
- Red Hat Enterprise Linux BaseOS EUS (v.8.8) bpftool-4.18.0-477.70.1.el8_8, kernel-4.18.0-477.70.1.el8_8, kernel-abi-stablelists-4.18.0-477.70.1.el8_8 +19
Show 3 more Red Hat advisories
- RHSA-2024:4349 Released 2024-07-08 · Red Hat rating Moderatekernel security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-427.24.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.24.1.el9_4, kernel-64k-devel-5.14.0-427.24.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.3.0-427.24.1.el9_4, kernel-5.14.0-427.24.1.el9_4, kernel-64k-5.14.0-427.24.1.el9_4 +29
- Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-427.24.1.el9_4, libperf-5.14.0-427.24.1.el9_4
- Red Hat Enterprise Linux NFV (v. 9) kernel-rt-5.14.0-427.24.1.el9_4, kernel-rt-core-5.14.0-427.24.1.el9_4, kernel-rt-debug-5.14.0-427.24.1.el9_4 +11
- Red Hat Enterprise Linux RT (v. 9) kernel-rt-5.14.0-427.24.1.el9_4, kernel-rt-core-5.14.0-427.24.1.el9_4, kernel-rt-debug-5.14.0-427.24.1.el9_4 +9
- RHSA-2024:4352 Released 2024-07-08 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.8.1.rt7.349.el8_10, kernel-rt-core-4.18.0-553.8.1.rt7.349.el8_10, kernel-rt-debug-4.18.0-553.8.1.rt7.349.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.8.1.rt7.349.el8_10, kernel-rt-core-4.18.0-553.8.1.rt7.349.el8_10, kernel-rt-debug-4.18.0-553.8.1.rt7.349.el8_10 +7
- RHSA-2024:4211 Released 2024-07-02 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.8.1.el8_10, kernel-4.18.0-553.8.1.el8_10, kernel-abi-stablelists-4.18.0-553.8.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.8.1.el8_10
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder EUS (v.8.8) | Fixed | RHSA-2024:6206 |
| Red Hat CodeReady Linux Builder EUS (v.9.2) | Fixed | RHSA-2024:6744 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:4349 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2024:6744 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2024:4211 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2024:4349 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.8) | Fixed | RHSA-2024:6206 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.2) | Fixed | RHSA-2024:6744 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2024:4211 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2024:4349 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2024:4352 |
| Red Hat Enterprise Linux NFV (v. 9) | Fixed | RHSA-2024:4349 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2024:4352 |
| Red Hat Enterprise Linux RT (v. 9) | Fixed | RHSA-2024:4349 |
| Red Hat Enterprise Linux Real Time EUS (v.9.2) | Fixed | RHSA-2024:6745 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) | Fixed | RHSA-2024:6745 |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux AppStream EUS (v.9.2)
- Red Hat Enterprise Linux BaseOS (v. 8)
Timeline
- 2026-10-02 Threatist record created from CVE-2024-26974
- 2026-10-03 Alias added: GHSA-767c-45p6-hv5q
References
Patch 9
- https://git.kernel.org/stable/c/daba62d9eeddcc5b1081be7d348ca836c83c59d7
- https://git.kernel.org/stable/c/8e81cd58aee14a470891733181a47d123193ba81
- https://git.kernel.org/stable/c/d03092550f526a79cf1ade7f0dfa74906f39eb71
- https://git.kernel.org/stable/c/4ae5a97781ce7d6ecc9c7055396535815b64ca4f
- https://git.kernel.org/stable/c/226fc408c5fcd23cc4186f05ea3a09a7a9aef2f7
- https://git.kernel.org/stable/c/8a5a7611ccc7b1fba8d933a9f22a2e76859d94dc
- https://git.kernel.org/stable/c/0c2cf5142bfb634c0ef0a1a69cdf37950747d0be
- https://git.kernel.org/stable/c/bb279ead42263e9fb09480f02a4247b2c287d828
- https://git.kernel.org/stable/c/7d42e097607c4d246d99225bf2b195b6167a210c
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2024-26974 · CVE Program
- CVE-2024-26974 · NVD
- FIRST EPSS
- GHSA-767c-45p6-hv5q · GitHub Advisory Database · CC BY 4.0
- CVE-2024-26974 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences