VDB

CVE-2024-56625

CVE-2024-56625 PUBLISHED

can: dev: can_set_termination(): allow sleeping GPIOs

Reported by linux · Published December 27, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-develAmazon Linux6.1.124-134.200.amzn2023
bpftoolAmazon Linux6.1.124-134.200.amzn2023
kernel-libbpf-staticAmazon Linux6.1.124-134.200.amzn2023
linux_kernellinux6.12.5, 6.6.66, 6.1.120, 5.15.174

Affected products

VendorProductVersions
LinuxLinux6e86a1543c378f2e8837ad88f361b7bf606c80f7, 6e86a1543c378f2e8837ad88f361b7bf606c80f7, 6e86a1543c378f2e8837ad88f361b7bf606c80f7
LinuxLinux5.15, 0, 5.15.174
amazon:2023kernel-devel0
amazon:2023bpftool0
amazon:2023kernel-libbpf-static0
linuxlinux_kernel5.15, 5.15, 5.15
LinuxLinux6.13, 6e86a1543c378f2e8837ad88f361b7bf606c80f7, 6e86a1543c378f2e8837ad88f361b7bf606c80f7
amazon:2023perf0
amazon:2023kernel0
amazon:2023python3-perf0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.1.124-134.2000
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools0
amazon:2023kernel-libbpf0
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra-common0

Timeline

  • Dec 27, 2024 CVE Published
  • Dec 28, 2024 EPSS Score (30 in total, the first dated here)
  • Feb 3, 2025 Coalition ESS Score (8 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Dec 29, 2025 Security Advisory (438 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (356 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-56625
vulnetix vdb fixes CVE-2024-56625

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-56625/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›