CVE-2024-26877
crypto: xilinx - call finalize with bh disabled
Check your servers for CVE-2024-26877
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-26877 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:
crypto: xilinx - call finalize with bh disabled
When calling crypto_finalize_request, BH should be disabled to avoid triggering the following calltrace:
------------[ cut here ]------------ WARNING: CPU: 2 PID: 74 at crypto/crypto_engine.c:58 crypto_finalize_request+0xa0/0x118 Modules linked in: cryptodev(O) CPU: 2 PID: 74 Comm: firmware:zynqmp Tainted: G O 6.8.0-rc1-yocto-standard #323 Hardware name: ZynqMP ZCU102 Rev1.0 (DT) pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : crypto_finalize_request+0xa0/0x118 lr : crypto_finalize_request+0x104/0x118 sp : ffffffc085353ce0 x29: ffffffc085353ce0 x28: 0000000000000000 x27: ffffff8808ea8688 x26: ffffffc081715038 x25: 0000000000000000 x24: ffffff880100db00 x23: ffffff880100da80 x22: 0000000000000000 x21: 0000000000000000 x20: ffffff8805b14000 x19: ffffff880100da80 x18: 0000000000010450 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000003 x13: 0000000000000000 x12: ffffff880100dad0 x11: 0000000000000000 x10: ffffffc0832dcd08 x9 : ffffffc0812416d8 x8 : 00000000000001f4 x7 : ffffffc0830d2830 x6 : 0000000000000001 x5 : ffffffc082091000 x4 : ffffffc082091658 x3 : 0000000000000000 x2 : ffffffc7f9653000 x1 : 0000000000000000 x0 : ffffff8802d20000 Call trace: crypto_finalize_request+0xa0/0x118 crypto_finalize_aead_request+0x18/0x30 zynqmp_handle_aes_req+0xcc/0x388 crypto_pump_work+0x168/0x2d8 kthread_worker_fn+0xfc/0x3a0 kthread+0x118/0x138 ret_from_fork+0x10/0x20 irq event stamp: 40 hardirqs last enabled at (39): [<ffffffc0812416f8>] _raw_spin_unlock_irqrestore+0x70/0xb0 hardirqs last disabled at (40): [<ffffffc08122d208>] el1_dbg+0x28/0x90 softirqs last enabled at (36): [<ffffffc080017dec>] kernel_neon_begin+0x8c/0xf0 softirqs last disabled at (34): [<ffffffc080017dc0>] kernel_neon_begin+0x60/0xf0 ---[ end trace 0000000000000000 ]---
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an 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.73%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 55.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 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 4d96f7d48131fefe30d7c1d1e2a23ef37164dbf5, before 8a01335aedc50a66d04dd39203c89f4bc8042596 affected from 4d96f7d48131fefe30d7c1d1e2a23ef37164dbf5, before 03e6d4e948432a61b35783323b6ab2be071d2619 affected from 4d96f7d48131fefe30d7c1d1e2a23ef37164dbf5, before a71f66bd5f7b9b35a8aaa49e29565eca66299399 affected from 4d96f7d48131fefe30d7c1d1e2a23ef37164dbf5, before 23bc89fdce71124cd2126fc919c7076e7cb489cf affected from 4d96f7d48131fefe30d7c1d1e2a23ef37164dbf5, before 9db89b1fb85557892e6681724b367287de5f9f20 affected from 4d96f7d48131fefe30d7c1d1e2a23ef37164dbf5, before dbf291d8ffffb70f48286176a15c6c54f0bb0743 affected from 4d96f7d48131fefe30d7c1d1e2a23ef37164dbf5, before a853450bf4c752e664abab0b2fad395b7ad7701c
Other versions: unaffected
|
| Linux |
affected 5.7 unaffected before 5.7 unaffected from 5.10.214 up to and including 5.10.* unaffected from 5.15.153 up to and including 5.15.* unaffected from 6.1.83 up to and including 6.1.* unaffected from 6.6.23 up to and including 6.6.* unaffected from 6.7.11 up to and including 6.7.* unaffected from 6.8.2 up to and including 6.8.* unaffected 6.9 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-26877 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26877
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-26877
trivy image --scanners vuln IMAGE | grep CVE-2024-26877
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/8a01335aedc50a66d04dd39203c89f4bc8042596 git.kernel.org
- https://git.kernel.org/stable/c/03e6d4e948432a61b35783323b6ab2be071d2619 git.kernel.org
- https://git.kernel.org/stable/c/a71f66bd5f7b9b35a8aaa49e29565eca66299399 git.kernel.org
- https://git.kernel.org/stable/c/23bc89fdce71124cd2126fc919c7076e7cb489cf git.kernel.org
- https://git.kernel.org/stable/c/9db89b1fb85557892e6681724b367287de5f9f20 git.kernel.org
- https://git.kernel.org/stable/c/dbf291d8ffffb70f48286176a15c6c54f0bb0743 git.kernel.org
- https://git.kernel.org/stable/c/a853450bf4c752e664abab0b2fad395b7ad7701c git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
Source: the record CVE-2024-26877 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