
Cloud Vulnerability DB
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
CVE-2021-47263 is a vulnerability in the Linux kernel's GPIO WCD934x driver that was discovered and resolved in 2024. The issue involves a shift-out-of-bounds error in the bit-mask calculation for pins 0 to 4, where BIT(n - 1) was incorrectly used instead of BIT(n) (NVD, Kernel Commit).
The vulnerability exists in the drivers/gpio/gpio-wcd934x.c file at line 34, where the WCDPINMASK macro incorrectly calculated bit masks for GPIO pins. The original code used BIT(p - 1) which could result in undefined behavior when accessing pin 0, as detected by UBSAN (Undefined Behavior Sanitizer). The fix involved changing the macro to use BIT(p) instead, ensuring proper bit mask calculations for all pins from 0 to 4 (Kernel Commit).
The shift-out-of-bounds error could potentially lead to undefined behavior in the Linux kernel's GPIO subsystem when interacting with WCD934x hardware. This could affect systems using the WCD934x GPIO controller (NVD).
The vulnerability has been fixed through a patch that corrects the bit mask calculation in the WCD934x GPIO driver. The fix was committed to the Linux kernel and is available in updated kernel versions. Users should update their Linux kernel to a version that includes this fix (Kernel Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A comprehensive threat intelligence database of cloud security incidents, actors, tools and techniques
A step-by-step framework for modeling and improving SaaS and PaaS tenant isolation
Get a personalized demo
“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
“We know that if Wiz identifies something as critical, it actually is.”