{"id":"CVE-2021-47263","published":"2024-05-21T14:19:55Z","modified":"2026-05-11T13:51:07Z","title":"gpio: wcd934x: Fix shift-out-of-bounds error","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: wcd934x: Fix shift-out-of-bounds error\n\nbit-mask for pins 0 to 4 is BIT(0) to BIT(4) however we ended up with BIT(n - 1)\nwhich is not right, and this was caught by below usban check\n\nUBSAN: shift-out-of-bounds in drivers/gpio/gpio-wcd934x.c:34:14","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00225,"percentile":0.1345,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e0b518a2eb44d8a74c19e50f79a8ed393e96d634","tags":[]},{"url":"https://git.kernel.org/stable/c/dd55331d493b7ea75c5db1f24d6822946fde2862","tags":[]},{"url":"https://git.kernel.org/stable/c/dbec64b11c65d74f31427e2b9d5746fbf17bf840","tags":[]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":2.69}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 59c324683400b41caa6d85b091e812ee3d5415c3, < e0b518a2eb44d8a74c19e50f79a8ed393e96d634",">= 59c324683400b41caa6d85b091e812ee3d5415c3, < dd55331d493b7ea75c5db1f24d6822946fde2862",">= 59c324683400b41caa6d85b091e812ee3d5415c3, < dbec64b11c65d74f31427e2b9d5746fbf17bf840"]},{"vendor":"Linux","product":"Linux","versions":["5.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-12T15:03:36.656989Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34268","exploited":false,"provenance":"source"}}