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 products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 35b545332b809a439aa1bf3fde5305e6eb243cf0 to <32eb5deaba546813b1aa59484e5150e7b44b0775 [affected]; 35b545332b809a439aa1bf3fde5305e6eb243cf0 to <930132f707c7ea67bc9cb8099ef784195cb6ca8c [affected]; 35b545332b809a439aa1bf3fde5305e6eb243cf0 to <ed99cc40d65a23c2294fb022b020efd57c2c8b07 [affected]; 35b545332b809a439aa1bf3fde5305e6eb243cf0 to <dae739137441667d67fbfcc4d303a0ecc6618662 [affected] |
| Linux | Linux | 6.9 [affected]; 0 to <6.9 [unaffected]; 6.12.117 to <=6.12.* [unaffected]; 6.18.63 to <=6.18.* [unaffected]; 7.3.4 to <=7.3.* [unaffected]; 7.4-rc1 to <=* [unaffected] |
References
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 01 Dec 2026 08:04 UTC.