Buffer overflow in Linux

CVE-2021-47605

In the Linux kernel, the following vulnerability has been resolved:

vduse: fix memory corruption in vduse_dev_ioctl()

The "config.offset" comes from the user. There needs to a check to
prevent it being out of bounds. The "config.offset" and
"dev->config_size" variables are both type u32. So if the offset if
out of bounds then the "dev->config_size - config.offset" subtraction
results in a very high u32 value. The out of bounds offset can result
in memory corruption.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

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

EPSS exploit prediction

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

Affected products

  • Linux — versions c8a6153b6c59d95c0e091f053f6f180952ade91e, 5.15, 0
  • Linux Kernel — versions 5.16

Weakness classification (CWE)

References