Vulnerability in Linux

CVE-2021-47263

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

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 13.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 59c324683400b41caa6d85b091e812ee3d5415c3, 5.6, 0
  • Linux Kernel — versions 5.13

References