Skip to main content
VulnerabilityPublished Updated

CVE-2024-56625: Linux kernel · can: dev: can_set_termination(): allow sleeping GPIOs

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium.

Data as of 30 Oct 2026, 00:51 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

Community reviews

Loading reviews…