CVE-2024-56625: Linux kernel · can: dev: can_set_termination(): allow sleeping GPIOs
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:51 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix is available in the Linux kernel that replaces gpiod_set_value() with gpiod_set_value_cansleep() in the can_set_termination() function. Users should update to a Linux kernel version that includes this fix. Since no specific fixed versions are provided, check the vendor or kernel release notes for the patch. No additional mitigation is indicated.
Description
CVE-2024-56625 is a vulnerability in the Linux kernel's CAN device driver where the function can_set_termination() improperly uses gpiod_set_value() to set GPIO values. This causes warnings and potential issues on systems using sleeping GPIOs, such as those behind I2C port expanders. The issue is resolved by replacing gpiod_set_value() with gpiod_set_value_cansleep(), which supports sleeping GPIOs.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56625 (opens in a new tab)
- git.kernel.org/stable/c/1ac442f25c19953d2f33b92549628b0aeac83db6 (opens in a new tab)
- git.kernel.org/stable/c/3b0c5bb437d31a9864f633b85cbc42d2f6c51c96 (opens in a new tab)
- git.kernel.org/stable/c/46637a608fb1ee871a0ad8bf70d917d5d95ac251 (opens in a new tab)
- git.kernel.org/stable/c/ee1dfbdd8b4b6de85e96ae2059dc9c1bdb6b49b5 (opens in a new tab)
- git.kernel.org/stable/c/faa0a1975a6fbce30616775216606eb8d6388ea1 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)