CVE-2025-21783: gpiolib: Fix crash on error in gpiochip_get_ngpios()

Published Feb 27, 2025
·
Updated

gpiolib: Fix crash on error in gpiochipgetngpios()

Affected Software

8 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=6.6<6.6.79
Linux Linux kernel>=6.7<6.12.16
Linux Linux kernel>=6.13<6.13.4
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Microsoft azl3 kernel 6.6.78.1-3<6.6.79.1-1
6.6.79.1-1
Microsoft azl3 kernel 6.6.79.1-1<6.6.79.1-1
6.6.79.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.79.1-1

Event History

Feb 27, 2025
CVE Published
via MITRE·02:18 AM
Data Sourced
via MITRE·02:18 AM
Description
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 9, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Description
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-21783?

CVE-2025-21783 is classified as a medium severity vulnerability in the Linux kernel.

2

What causes CVE-2025-21783?

CVE-2025-21783 is caused by a crash that occurs when an error is encountered in the gpiochip_get_ngpios() function due to uninitialized gpiodev.

3

How do I fix CVE-2025-21783?

To fix CVE-2025-21783, users should update to the latest version of the Linux kernel where the vulnerability has been patched.

4

Is my system affected by CVE-2025-21783?

Any systems running an affected version of the Linux kernel that utilizes gpiolib could potentially be affected by CVE-2025-21783.

5

What are the implications of CVE-2025-21783 for system stability?

CVE-2025-21783 can lead to system instability, resulting in crashes during operations involving GPIO chip access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203