LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47263: gpio: wcd934x: Fix shift-out-of-bounds error

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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This is a Linux kernel bug in the WCD934x GPIO driver. A wrong bit calculation can trigger a shift-out-of-bounds condition, detected by UBSAN. The provided sources do not describe business impact, remote reachability, active exploitation, or a CVSS score.

Executive priority

Treat as a targeted kernel maintenance issue unless your fleet uses affected WCD934x hardware paths. There is no supplied evidence of exploitation or broad remote exposure, but kernel safety bugs should still be resolved through normal patch cycles.

Technical view

The flaw is in drivers/gpio/gpio-wcd934x.c. Pin masks for pins 0 through 4 should use BIT(0) through BIT(4), but the code used BIT(n - 1), producing a shift-out-of-bounds error. Linux stable commits are referenced as fixes.

Likely exposure

Exposure appears limited to Linux systems running affected kernel versions with the WCD934x GPIO driver relevant to their hardware. The bundle lists Linux kernel versions including 5.6, 5.10.44, 5.12.11, and 5.13, but does not define operational prevalence.

Exploitation context

No source in the bundle reports active exploitation, public exploit use, or CISA KEV listing. The record describes a kernel correctness and safety issue found by UBSAN, not an exploitation pathway.

Researcher notes

The strongest evidence is the upstream Linux fix description and stable commit references. Missing data includes CVSS, CWE classification, exploitability analysis, and precise fixed version ranges. Avoid assuming impact beyond the documented shift-out-of-bounds condition.

Mitigation direction

  • Check Linux distribution advisories for CVE-2021-47263 coverage.
  • Update kernels to vendor releases containing the referenced stable fixes.
  • Prioritize systems using WCD934x-related hardware or enabled kernel support.
  • Track whether your distro backported the upstream stable commits.

Validation and detection

  • Inventory Linux kernel versions across managed systems.
  • Check whether WCD934x GPIO driver support is built or loaded.
  • Confirm installed kernel packages include vendor fixes for CVE-2021-47263.
  • Review kernel logs for UBSAN shift-out-of-bounds reports in gpio-wcd934x.c.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-47263 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
2ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux59c324683400b41caa6d85b091e812ee3d5415c3, 59c324683400b41caa6d85b091e812ee3d5415c3, 59c324683400b41caa6d85b091e812ee3d5415c3unaffected
LinuxLinux5.6, 0, 5.10.44, 5.12.11, 5.13affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.