CVE-2021-47605

vduse: fix memory corruption in vduse_dev_ioctl()

State
Published
Severity
7.8 High
Published
Jun 19, 2024
Updated
Aug 5, 2026
Reserved
May 24, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c8a6153b6c59d95c0e091f053f6f180952ade91e to before e6c67560b4341914bec32ec536e931c22062af65Affected
  • c8a6153b6c59d95c0e091f053f6f180952ade91e to before ff9f9c6e74848170fcb45c8403c80d661484c8c9Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.11 through 5.15.*Not affected
  • 5.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.