CVEvulnerability

CVE-2021-47263

5.5 MEDIUM Published 2024-05-21 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-05-21
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

Affected configurations

• linux linux kernel (>= 5.6 < 5.10.44) • linux linux kernel (>= 5.11 < 5.12.11) • linux linux kernel 5.13

References