7.8high
vduse: fix memory corruption in vduse_dev_ioctl()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c8a6153b6c59d95c0e091f053f6f180952ade91e before e6c67560b4341914bec32ec536e931c22062af65, from c8a6153b6c59d95c0e091f053f6f180952ade91e before ff9f9c6e74848170fcb45c8403c80d661484c8c9, 5.15 Not affected: before 5.15, from 5.15.11 up to 5.15.*, from 5.16 up to * | CVE List |
| linux linux_kernel | from 5.15 before 5.15.11, 5.16 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: vduse: corrige corrupción de memoria en vduse_dev_ioctl() El "config.offset" proviene del usuario. Es necesario realizar un control para evitar que esté fuera de los límites. Las variables "config.offset" y "dev->config_size" son ambas del tipo u32. Entonces, si el desplazamiento está fuera de los límites, entonces la resta "dev->config_size - config.offset" da como resultado un valor u32 muy alto. El desplazamiento fuera de los límites puede provocar daños en la memoria.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47605 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2021-47605 changed 2026-08-04 | Public domain |