Linux · Linux Kernel · CVE-2021-47263
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
A shift-out-of-bounds error was found in the Linux kernel, specifically in the gpio-wcd934x driver. The bit-mask for pins 0 to 4 is incorrectly set to BIT(n - 1) instead of BIT(0) to BIT(4). This issue was caught by the UBSAN check, which reported a shift-out-of-bounds error in the drivers/gpio/gpio-wcd934x.c file at line 34, column 14.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.