{"id":"CVE-2021-47263","details":"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","modified":"2026-03-13T05:20:39.085052Z","published":"2024-05-21T15:15:15.007Z","related":["SUSE-SU-2024:2010-1","SUSE-SU-2024:2185-1"],"references":[{"type":"FIX","url":"https://git.kernel.org/stable/c/dbec64b11c65d74f31427e2b9d5746fbf17bf840"},{"type":"FIX","url":"https://git.kernel.org/stable/c/dd55331d493b7ea75c5db1f24d6822946fde2862"},{"type":"FIX","url":"https://git.kernel.org/stable/c/e0b518a2eb44d8a74c19e50f79a8ed393e96d634"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"5.6"},{"fixed":"5.10.44"}]},{"events":[{"introduced":"5.11"},{"fixed":"5.12.11"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc1"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc2"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc3"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc4"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc5"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47263.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}