Skip to main content
Network Thinking Solutions Logo

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 chip_*() macros to print messages.

All CVEs
CVE-2025-21783Published 2/27/2025

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.

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
2/27/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.6, < 6.6.79

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.16

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.4

Verify advisory

Source
linux kernel
linux
6.14

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 55b2395e4e92adc492c6b30ac109eb78250dcd9d, < 4d9b2b62e1136d10f661ec4c0c268140b6f74f4f

Verify advisory

Source
Linux
Linux
≥ 55b2395e4e92adc492c6b30ac109eb78250dcd9d, < a7052afa9eae2239e25943baa8817a6a56e8aa68

Verify advisory

Source
Linux
Linux
≥ 55b2395e4e92adc492c6b30ac109eb78250dcd9d, < 189fb76215e479c10731baabb50f1a352d2078f5

Verify advisory

Source
Linux
Linux
≥ 55b2395e4e92adc492c6b30ac109eb78250dcd9d, < 7b4aebeecbbd5b5fe73e35fad3f62ed21aa7ef44

Verify advisory

Source
Linux
Linux
6.6

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.