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. "> 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. "> SecuritySpace - CVE-2021-47605
 
 
 Vulnerability   
Search   
    Search 324607 CVE descriptions
and 145615 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

CVE ID:CVE-2021-47605
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.
Test IDs: None available
Cross References: Common Vulnerability Exposure (CVE) ID: CVE-2021-47605
https://git.kernel.org/stable/c/e6c67560b4341914bec32ec536e931c22062af65
https://git.kernel.org/stable/c/e6c67560b4341914bec32ec536e931c22062af65
https://git.kernel.org/stable/c/ff9f9c6e74848170fcb45c8403c80d661484c8c9
https://git.kernel.org/stable/c/ff9f9c6e74848170fcb45c8403c80d661484c8c9




© 1998-2025 E-Soft Inc. All rights reserved.