In the Linux kernel, the following vulnerability has been resolved:
gpio: wcd934x: Fix shift-out-of-bounds error
bit-mask for pins 0 to 4 is BIT(0) to BIT(4) however we ended up with BIT(n - 1)
which is not right, and this was caught by below usban check
UBSAN: shift-out-of-bounds in drivers/gpio/gpio-wcd934x.c:34:14
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: Linux
Published: 2024-05-21T14:19:55.318Z
Updated: 2024-11-04T12:02:33.451Z
Reserved: 2024-05-21T13:27:52.126Z
Link: CVE-2021-47263
Vulnrichment
Updated: 2024-08-04T05:32:08.118Z
NVD
Status : Awaiting Analysis
Published: 2024-05-21T15:15:15.007
Modified: 2024-05-21T16:54:26.047
Link: CVE-2021-47263
Redhat