Double-Free Vulnerability in regmap Package
Summary
GSD-2021-1001965: regmap: Fix possible double-free in regcache_rbtree_exit(). Affects Kernel versions >= 3f4ff561bc88b074d5e868dde4012d89cbb06c87, < 758ced2c3878ff789801e6fee808e185c5cf08d6. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The regmap package is a component of the Linux Kernel, which is responsible for managing register maps for various hardware devices. It provides an abstraction layer for accessing and manipulating device registers. The regcache_rbtree_exit() function within the regmap package is susceptible to a double-free vulnerability.
Vulnerability Detail
The double-free vulnerability in regcache_rbtree_exit() can be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code. This vulnerability occurs when the function attempts to free a memory region that has already been freed, leading to memory corruption and potential system instability. The impact and attack plausibility of this vulnerability have not been proven yet.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to update to the fixed version of the Linux Kernel to mitigate the risk.
Conclusion
The double-free vulnerability in the regmap package can have severe consequences, including system instability and potential code execution. It is crucial to update the Linux Kernel to the fixed version to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
Regmap is a component of the Linux Kernel that manages register maps for hardware devices.
This vulnerability can lead to a denial-of-service (DoS) condition or potential execution of arbitrary code.
To fix this vulnerability, update the Linux Kernel to version v4.14.254 or later.
No, there is no known workaround for this vulnerability. Updating to the fixed version is necessary.
For more details, refer to the vulnerability report at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001965.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.