cbcvebase.
CVE-2025-21783
published 2025-02-27

CVE-2025-21783: In the Linux kernel, the following vulnerability has been resolved: gpiolib: Fix crash on error in gpiochip_get_ngpios() The gpiochip_get_ngpios() uses…

PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.22%
12.3th percentile
In the Linux kernel, the following vulnerability has been resolved: gpiolib: Fix crash on error in gpiochip_get_ngpios() The gpiochip_get_ngpios() uses chip_*() macros to print messages. However these macros rely on gpiodev to be initialised and set, which is not the case when called via bgpio_init(). In such a case the printing messages will crash on NULL pointer dereference. Replace chip_*() macros by the respective dev_*() ones to avoid such crash.

Affected

15 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.12.16-1 (forky)linux 6.12.16-1 (forky)
linuxlinux
linuxlinux>= 55b2395e4e92adc492c6b30ac109eb78250dcd9d < 4d9b2b62e1136d10f661ec4c0c268140b6f74f4f4d9b2b62e1136d10f661ec4c0c268140b6f74f4f
linuxlinux>= 55b2395e4e92adc492c6b30ac109eb78250dcd9d < a7052afa9eae2239e25943baa8817a6a56e8aa68a7052afa9eae2239e25943baa8817a6a56e8aa68
linuxlinux>= 55b2395e4e92adc492c6b30ac109eb78250dcd9d < 189fb76215e479c10731baabb50f1a352d2078f5189fb76215e479c10731baabb50f1a352d2078f5
linuxlinux>= 55b2395e4e92adc492c6b30ac109eb78250dcd9d < 7b4aebeecbbd5b5fe73e35fad3f62ed21aa7ef447b4aebeecbbd5b5fe73e35fad3f62ed21aa7ef44
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.12.16-16.12.16-1
linuxlinux_kernel>= 0 < 6.12.16-16.12.16-1
linuxlinux_kernel>= 0 < 6.8.0-78.786.8.0-78.78
linuxlinux_kernel>= 6.13 < 6.13.46.13.4
linuxlinux_kernel>= 6.6 < 6.6.796.6.79
linuxlinux_kernel>= 6.7 < 6.12.166.12.16
msrcazl3_kernel_6.6.78.1-3_on_azure_linux_3.0
msrcazl3_kernel_6.6.79.1-1_on_azure_linux_3.0

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5LOW
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.