Invalid GPIO label output via NULL dereference
Published Oct 21, 2024 · Updated May 11, 2026
NULL pointer dereference in gpiolib in Linux kernel 6.9 through 6.11.2 allows local users to obtain invalid GPIO labels through debugfs. The gpiod_get_label() function accesses label->str after srcu_dereference_check() can return NULL while the GPIO state file is being dumped. Access requires the GPIO debugfs view and an IRQ-used descriptor with a NULL label; the documented result is "(efault)," rather than a demonstrated kernel crash.
Summary
What happened
NULL pointer dereference in gpiolib in Linux kernel 6.9 through 6.11.2 allows local users to obtain invalid GPIO labels through debugfs. The gpiod_get_label() function accesses label->str after srcu_dereference_check() can return NULL while the GPIO state file is being dumped. Access requires the GPIO debugfs view and an IRQ-used descriptor with a NULL label; the documented result is "(efault)," rather than a demonstrated kernel crash.
The record
- CVE
- CVE-2024-49941
- Published
- Oct 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 21, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.9
- Affected versionversion=a86d27693066a34a29be86f394bbad847b2d1749 <7b99b5ab885993bff010ebcd93be5e511c56e28a
- Affected versionversion=a86d27693066a34a29be86f394bbad847b2d1749 <9ee4b907d7a5d7a53b4ff7727c371ff3d44ccbbb
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo