CVE-2025-21783: linux NULL Pointer Dereference
Vulnerability summary
CVE-2025-21783 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 8 · Related 9Timeline
- 27-02-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
+0.01 pp
From 0.22% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu107 products
- linux< 6.8.0-78.78
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1035.37
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 55b2395e4e92adc492c6b30ac109eb78250dcd9d, < 4d9b2b62e1136d10f661ec4c0c268140b6f74f4f | ≥ 55b2395e4e92adc492c6b30ac109eb78250dcd9d, < a7052afa9eae2239e25943baa8817a6a56e8aa68 | ≥ 55b2395e4e92adc492c6b30ac109eb78250dcd9d, < 189fb76215e479c10731baabb50f1a352d2078f5 | ≥ 55b2395e4e92adc492c6b30ac109eb78250dcd9d, < 7b4aebeecbbd5b5fe73e35fad3f62ed21aa7ef44 | 6.6
- linux_kernel≥ 6.6, < 6.6.79 | ≥ 6.7, < 6.12.16 | ≥ 6.13, < 6.13.4 | 6.14:rc1 | 6.14:rc2
Debian1 product
- linux< 6.12.16-1
3 vendors · 110 products