Back
CVE-2021-47263
gpio: wcd934x: Fix shift-out-of-bounds error
Medium5.5EPSS 0.22%
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
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
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.22% · top 87% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 59c324683400b41caa6d85b091e812ee3d5415c3 – < e0b518a2eb44d8a74c19e50f79a8ed393e96d634
- affected 59c324683400b41caa6d85b091e812ee3d5415c3 – < dd55331d493b7ea75c5db1f24d6822946fde2862
- affected 59c324683400b41caa6d85b091e812ee3d5415c3 – < dbec64b11c65d74f31427e2b9d5746fbf17bf840
- affected 5.6
- unaffected < 5.6
- unaffected 5.10.44 – ≤ 5.10.*
- unaffected 5.12.11 – ≤ 5.12.*
- unaffected 5.13 – ≤ *
References (3)
- https://git.kernel.org/stable/c/e0b518a2eb44d8a74c19e50f79a8ed393e96d634 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/dd55331d493b7ea75c5db1f24d6822946fde2862 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/dbec64b11c65d74f31427e2b9d5746fbf17bf840 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2021-47263)Record last updated .