Vulnerability Details : CVE-2021-47263
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
Products affected by CVE-2021-47263
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.13:rc5:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-47263
0.03%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 7 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-47263
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST | 2025-04-30 |
References for CVE-2021-47263
-
https://git.kernel.org/stable/c/e0b518a2eb44d8a74c19e50f79a8ed393e96d634
gpio: wcd934x: Fix shift-out-of-bounds error - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/dbec64b11c65d74f31427e2b9d5746fbf17bf840
gpio: wcd934x: Fix shift-out-of-bounds error - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/dd55331d493b7ea75c5db1f24d6822946fde2862
gpio: wcd934x: Fix shift-out-of-bounds error - kernel/git/stable/linux.git - Linux kernel stable treePatch
Jump to