Linux
gpiolib: fix invalid pointer access in debugfs
In the Linux kernel, the following vulnerability has been resolved: gpiolib: fix invalid pointer access in debugfs If the memory allocation in gpiolib_seq_start() fails, the s->private field remains uninitialized and is later dereferenced without checking in gpiolib_seq_stop(). Initialize s->private to NULL before calling kzalloc() and check it before dereferencing it.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= e348544f7994d252427ed3ae637c7081cbb90f66, < 70180a6031056096c93ed2f47c41803268bdd91c
- >= e348544f7994d252427ed3ae637c7081cbb90f66, < 3c91c8f424d3e44c8645ab765a38773e58afb07d
- >= e348544f7994d252427ed3ae637c7081cbb90f66, < 2f6115ad8864cf3f48598f26c74c7c8e5c391919
Fixed in 70180a6031056096c93ed2f47c41803268bdd91c, 3c91c8f424d3e44c8645ab765a38773e58afb07d, 2f6115ad8864cf3f48598f26c74c7c8e5c391919
- 6.9
Fixed in 0, 6.12.58, 6.17.8, 6.18
Mitigation
Upgrade Linux to 70180a6031056096c93ed2f47c41803268bdd91c or 3c91c8f424d3e44c8645ab765a38773e58afb07d or 2f6115ad8864cf3f48598f26c74c7c8e5c391919 or later.
Upgrade Linux to 0 or 6.12.58 or 6.17.8 or 6.18 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.