CVE-2024-56625
can: dev: can_set_termination(): allow sleeping GPIOs
Check your servers for CVE-2024-56625
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-56625 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:
can: dev: can_set_termination(): allow sleeping GPIOs
In commit 6e86a1543c37 ("can: dev: provide optional GPIO based termination support") GPIO based termination support was added.
For no particular reason that patch uses gpiod_set_value() to set the GPIO. This leads to the following warning, if the systems uses a sleeping GPIO, i.e. behind an I2C port expander:
| WARNING: CPU: 0 PID: 379 at /drivers/gpio/gpiolib.c:3496 gpiod_set_value+0x50/0x6c | CPU: 0 UID: 0 PID: 379 Comm: ip Not tainted 6.11.0-20241016-1 #1 823affae360cc91126e4d316d7a614a8bf86236c
Replace gpiod_set_value() by gpiod_set_value_cansleep() to allow the use of sleeping GPIOs.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- 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 6e86a1543c378f2e8837ad88f361b7bf606c80f7, before faa0a1975a6fbce30616775216606eb8d6388ea1 affected from 6e86a1543c378f2e8837ad88f361b7bf606c80f7, before 46637a608fb1ee871a0ad8bf70d917d5d95ac251 affected from 6e86a1543c378f2e8837ad88f361b7bf606c80f7, before 1ac442f25c19953d2f33b92549628b0aeac83db6 affected from 6e86a1543c378f2e8837ad88f361b7bf606c80f7, before 3b0c5bb437d31a9864f633b85cbc42d2f6c51c96 affected from 6e86a1543c378f2e8837ad88f361b7bf606c80f7, before ee1dfbdd8b4b6de85e96ae2059dc9c1bdb6b49b5
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 5.15.174 up to and including 5.15.* unaffected from 6.1.120 up to and including 6.1.* unaffected from 6.6.66 up to and including 6.6.* unaffected from 6.12.5 up to and including 6.12.* unaffected 6.13 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-56625 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-56625
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-56625
trivy image --scanners vuln IMAGE | grep CVE-2024-56625
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/faa0a1975a6fbce30616775216606eb8d6388ea1 git.kernel.org
- https://git.kernel.org/stable/c/46637a608fb1ee871a0ad8bf70d917d5d95ac251 git.kernel.org
- https://git.kernel.org/stable/c/1ac442f25c19953d2f33b92549628b0aeac83db6 git.kernel.org
- https://git.kernel.org/stable/c/3b0c5bb437d31a9864f633b85cbc42d2f6c51c96 git.kernel.org
- https://git.kernel.org/stable/c/ee1dfbdd8b4b6de85e96ae2059dc9c1bdb6b49b5 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html lists.debian.org
Source: the record CVE-2024-56625 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