Skip to main content

CVE-2024-26788: Vulnerability in Linux Linux

High
VulnerabilityCVE-2024-26788cvecve-2024-26788
Published: Thu Apr 04 2024 (04/04/2024, 08:20:20 UTC)
Source: CVE
Vendor/Project: Linux
Product: Linux

Description

In the Linux kernel, the following vulnerability has been resolved: dmaengine: fsl-qdma: init irq after reg initialization Initialize the qDMA irqs after the registers are configured so that interrupts that may have been pending from a primary kernel don't get processed by the irq handler before it is ready to and cause panic with the following trace: Call trace: fsl_qdma_queue_handler+0xf8/0x3e8 __handle_irq_event_percpu+0x78/0x2b0 handle_irq_event_percpu+0x1c/0x68 handle_irq_event+0x44/0x78 handle_fasteoi_irq+0xc8/0x178 generic_handle_irq+0x24/0x38 __handle_domain_irq+0x90/0x100 gic_handle_irq+0x5c/0xb8 el1_irq+0xb8/0x180 _raw_spin_unlock_irqrestore+0x14/0x40 __setup_irq+0x4bc/0x798 request_threaded_irq+0xd8/0x190 devm_request_threaded_irq+0x74/0xe8 fsl_qdma_probe+0x4d4/0xca8 platform_drv_probe+0x50/0xa0 really_probe+0xe0/0x3f8 driver_probe_device+0x64/0x130 device_driver_attach+0x6c/0x78 __driver_attach+0xbc/0x158 bus_for_each_dev+0x5c/0x98 driver_attach+0x20/0x28 bus_add_driver+0x158/0x220 driver_register+0x60/0x110 __platform_driver_register+0x44/0x50 fsl_qdma_driver_init+0x18/0x20 do_one_initcall+0x48/0x258 kernel_init_freeable+0x1a4/0x23c kernel_init+0x10/0xf8 ret_from_fork+0x10/0x18

AI-Powered Analysis

AILast updated: 06/29/2025, 18:41:38 UTC

Technical Analysis

CVE-2024-26788 is a vulnerability identified in the Linux kernel's dmaengine subsystem, specifically within the Freescale Queue Direct Memory Access (fsl-qdma) driver. The root cause of the issue lies in the improper initialization sequence of interrupt requests (IRQs) related to the qDMA hardware. The vulnerability occurs because the IRQs are initialized before the hardware registers are fully configured. This premature IRQ initialization can lead to the processing of interrupts that were pending from a primary kernel before the IRQ handler is fully prepared to handle them. As a result, this can cause a kernel panic, leading to a denial of service (DoS) condition. The provided kernel call trace illustrates the panic occurring during the handling of the qDMA queue interrupt, indicating that the irq handler is invoked prematurely, causing instability in the kernel. The fix involves reordering the initialization sequence to ensure that the qDMA IRQs are only initialized after the hardware registers have been properly set up, preventing the processing of stale or unexpected interrupts. This vulnerability affects Linux kernel versions containing the specified commit hashes, which correspond to the affected versions listed. No known exploits are currently reported in the wild, and no CVSS score has been assigned yet. However, the vulnerability is significant due to its potential to cause system crashes and service interruptions on affected systems running the vulnerable Linux kernel with the fsl-qdma driver enabled.

Potential Impact

For European organizations, the impact of CVE-2024-26788 primarily involves potential system instability and denial of service on Linux-based systems utilizing the fsl-qdma driver. This driver is typically used in embedded systems and specialized hardware platforms that rely on Freescale/NXP QDMA hardware for efficient data transfer operations. Organizations operating industrial control systems, telecommunications infrastructure, or embedded devices running vulnerable Linux kernels could experience unexpected system crashes or reboots, leading to operational disruptions. The impact on confidentiality and integrity is minimal as this vulnerability does not provide direct code execution or privilege escalation capabilities. However, the availability impact can be significant, especially for critical infrastructure or services that depend on continuous uptime. European enterprises with embedded Linux deployments in sectors such as manufacturing, automotive, or network equipment may face operational risks if patches are not applied promptly. Additionally, the lack of known exploits reduces immediate risk, but the vulnerability should be addressed proactively to avoid potential exploitation in the future.

Mitigation Recommendations

To mitigate CVE-2024-26788, European organizations should: 1) Identify all Linux systems running kernels with the vulnerable fsl-qdma driver, focusing on embedded and specialized hardware platforms. 2) Apply the official Linux kernel patches that reorder the IRQ initialization sequence to occur after register configuration, as indicated by the Linux kernel maintainers. 3) For systems where immediate patching is not feasible, consider temporarily disabling the fsl-qdma driver if it is not critical to operations, to prevent triggering the vulnerability. 4) Implement robust monitoring for kernel panics and system reboots to detect potential exploitation or instability related to this issue. 5) Coordinate with hardware vendors and Linux distribution maintainers to obtain updated kernel versions or backported patches specific to their platforms. 6) Conduct thorough regression testing after patch application to ensure system stability and compatibility. 7) Maintain an inventory of embedded devices and network equipment to ensure all affected devices are accounted for and remediated. These steps go beyond generic advice by emphasizing identification of affected embedded platforms, vendor coordination, and operational monitoring tailored to this specific kernel subsystem vulnerability.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Linux
Date Reserved
2024-02-19T14:20:24.178Z
Cisa Enriched
true
Cvss Version
null
State
PUBLISHED

Threat ID: 682d982bc4522896dcbe3bdb

Added to database: 5/21/2025, 9:08:59 AM

Last enriched: 6/29/2025, 6:41:38 PM

Last updated: 8/4/2025, 11:39:49 AM

Views: 11

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats