CVE-2024-26838
RDMA/irdma: Fix KASAN issue with tasklet
Check your servers for CVE-2024-26838
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26838 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
RDMA/irdma: Fix KASAN issue with tasklet
KASAN testing revealed the following issue assocated with freeing an IRQ.
[50006.466686] Call Trace: [50006.466691] <IRQ> [50006.489538] dump_stack+0x5c/0x80 [50006.493475] print_address_description.constprop.6+0x1a/0x150 [50006.499872] ? irdma_sc_process_ceq+0x483/0x790 [irdma] [50006.505742] ? irdma_sc_process_ceq+0x483/0x790 [irdma] [50006.511644] kasan_report.cold.11+0x7f/0x118 [50006.516572] ? irdma_sc_process_ceq+0x483/0x790 [irdma] [50006.522473] irdma_sc_process_ceq+0x483/0x790 [irdma] [50006.528232] irdma_process_ceq+0xb2/0x400 [irdma] [50006.533601] ? irdma_hw_flush_wqes_callback+0x370/0x370 [irdma] [50006.540298] irdma_ceq_dpc+0x44/0x100 [irdma] [50006.545306] tasklet_action_common.isra.14+0x148/0x2c0 [50006.551096] __do_softirq+0x1d0/0xaf8 [50006.555396] irq_exit_rcu+0x219/0x260 [50006.559670] irq_exit+0xa/0x20 [50006.563320] smp_apic_timer_interrupt+0x1bf/0x690 [50006.568645] apic_timer_interrupt+0xf/0x20 [50006.573341] </IRQ>
The issue is that a tasklet could be pending on another core racing the delete of the irq.
Fix by insuring any scheduled tasklet is killed after deleting the irq.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 44d9e52977a1b90b0db1c7f8b197c218e9226520, before 635d79aa477f9912e602feb5498bdd51fb9cb824 affected from 44d9e52977a1b90b0db1c7f8b197c218e9226520, before b2e4a5266e3d133b4c7f0e43bf40d13ce14fd1aa affected from 44d9e52977a1b90b0db1c7f8b197c218e9226520, before c6f1ca235f68b22b3e691b2ea87ac285e5946848 affected from 44d9e52977a1b90b0db1c7f8b197c218e9226520, before 0ae8ad0013978f7471f22bcf45b027393e87f5dc affected from 44d9e52977a1b90b0db1c7f8b197c218e9226520, before bd97cea7b18a0a553773af806dfbfac27a7c4acb
Other versions: unaffected
|
| Linux |
affected 5.14 unaffected before 5.14 unaffected from 5.15.150 up to and including 5.15.* unaffected from 6.1.80 up to and including 6.1.* unaffected from 6.6.19 up to and including 6.6.* unaffected from 6.7.7 up to and including 6.7.* unaffected 6.8 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26838 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26838
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-26838
trivy image --scanners vuln IMAGE | grep CVE-2024-26838
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/635d79aa477f9912e602feb5498bdd51fb9cb824 git.kernel.org
- https://git.kernel.org/stable/c/b2e4a5266e3d133b4c7f0e43bf40d13ce14fd1aa git.kernel.org
- https://git.kernel.org/stable/c/c6f1ca235f68b22b3e691b2ea87ac285e5946848 git.kernel.org
- https://git.kernel.org/stable/c/0ae8ad0013978f7471f22bcf45b027393e87f5dc git.kernel.org
- https://git.kernel.org/stable/c/bd97cea7b18a0a553773af806dfbfac27a7c4acb git.kernel.org
Source: the record CVE-2024-26838 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse