vduse: fix memory corruption in vduse_dev_ioctl()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s vduse_dev_ioctl() does not check whether a user-supplied config offset is out of bounds. A local user who supplies an out-of-bounds offset can cause memory corruption.
Engineers running Linux kernels with vduse should check whether their kernel includes the fix; affected versions were not provided.