cveboard RSS feed

CVE-2022-50453

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2022
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

gpiolib: cdev: fix NULL-pointer dereferences

In the Linux kernel, the following vulnerability has been resolved: gpiolib: cdev: fix NULL-pointer dereferences There are several places where we can crash the kernel by requesting lines, unbinding the GPIO device, then calling any of the system calls relevant to the GPIO character device's annonymous file descriptors: ioctl(), read(), poll(). While I observed it with the GPIO simulator, it will also happen for any of the GPIO devices that can be hot-unplugged - for instance any HID GPIO expander (e.g. CP2112). This affects both v1 and v2 uAPI. This fixes it partially by checking if gdev->chip is not NULL but it doesn't entirely remedy the situation as we still have a race condition in which another thread can remove the device after the check.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
d7c51b47ac11e66f547b55640405c1c474642d72affectedgit6d79546622baab843172b52c3af035f83c1b21dfUnavailableNone listed
d7c51b47ac11e66f547b55640405c1c474642d72affectedgit7c755a2d6df511eeb5afba966ac28140f9ea5063UnavailableNone listed
d7c51b47ac11e66f547b55640405c1c474642d72affectedgitd66f68ac9e7ba46b6b90fbe25155723f2126088aUnavailableNone listed
d7c51b47ac11e66f547b55640405c1c474642d72affectedgitac6ce3cd7a3e10a2e37b8970bab81b4d33d5cfc3UnavailableNone listed
d7c51b47ac11e66f547b55640405c1c474642d72affectedgit533aae7c94dbc2b14301cfd68ae7e0e90f0c8438UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
4.8affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver4.8UnavailableNone listed
5.10.163unaffectedsemverUnavailable5.10.*None listed
5.15.86unaffectedsemverUnavailable5.15.*None listed
6.0.16unaffectedsemverUnavailable6.0.*None listed
6.1.2unaffectedsemverUnavailable6.1.*None listed
6.2unaffectedoriginal_commit_for_fixUnavailable*None listed