CVE-2026-99945

Unknown

Last modified

CVE-2026-99945 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: gpiolib: don't report -ENOMEM for a requested line without a label gpiod_request_commit() sets GPIOD_FLAG_REQUESTED, calls ->request() and only then sets the label. A line in between has no label, so gpiochip_dup_line_label() passes NULL to kstrdup() and returns ERR_PTR(-ENOMEM), which for_each_hwgpio() then passes to kfree(): BUG: unable to handle page fault for address: ffcc73074355ffc8 Call Trace: gpio_sim_dbg_show gpiolib_seq_show seq_read_iter Return NULL for such a line, as for an unrequested one. Reproduced with gpio-sim: reading /sys/kernel/debug/gpio in a loop while lines are requested and released oopses within seconds; with this change, 100000 cycles pass..

Description

In the Linux kernel, the following vulnerability has been resolved: gpiolib: don't report -ENOMEM for a requested line without a label gpiod_request_commit() sets GPIOD_FLAG_REQUESTED, calls ->request() and only then sets the label. A line in between has no label, so gpiochip_dup_line_label() passes NULL to kstrdup() and returns ERR_PTR(-ENOMEM), which for_each_hwgpio() then passes to kfree(): BUG: unable to handle page fault for address: ffcc73074355ffc8 Call Trace: gpio_sim_dbg_show gpiolib_seq_show seq_read_iter Return NULL for such a line, as for an unrequested one. Reproduced with gpio-sim: reading /sys/kernel/debug/gpio in a loop while lines are requested and released oopses within seconds; with this change, 100000 cycles pass.

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 35b545332b809a439aa1bf3fde5305e6eb243cf0, < 32eb5deaba546813b1aa59484e5150e7b44b0775; >= 35b545332b809a439aa1bf3fde5305e6eb243cf0, < 930132f707c7ea67bc9cb8099ef784195cb6ca8c; >= 35b545332b809a439aa1bf3fde5305e6eb243cf0, < ed99cc40d65a23c2294fb022b020efd57c2c8b07; >= 35b545332b809a439aa1bf3fde5305e6eb243cf0, < dae739137441667d67fbfcc4d303a0ecc6618662
LinuxLinux6.9

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-99945?
In the Linux kernel, the following vulnerability has been resolved: gpiolib: don't report -ENOMEM for a requested line without a label gpiod_request_commit() sets GPIOD_FLAG_REQUESTED, calls ->request() and only then sets the label. A line in between has no label, so gpiochip_dup_line_label() passes NULL to kstrdup() and returns ERR_PTR(-ENOMEM), which for_each_hwgpio() then passes to kfree(): BUG: unable to handle page fault for address: ffcc73074355ffc8 Call Trace: gpio_sim_dbg_show gpiolib_seq_show seq_read_iter Return NULL for such a line, as for an unrequested one. Reproduced with gpio-sim: reading /sys/kernel/debug/gpio in a loop while lines are requested and released oopses within seconds; with this change, 100000 cycles pass.
How severe is CVE-2026-99945?
Severity scoring for CVE-2026-99945 is pending analysis.
How do I fix CVE-2026-99945?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-99945?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST