Double-Free Vulnerability in regmap Package
Summary
GSD-2021-1002019: regmap: Fix possible double-free in regcache_rbtree_exit(). Affects Kernel versions >= 3f4ff561bc88b074d5e868dde4012d89cbb06c87, < 1cead23c1c0bc766dacb900a3b0269f651ad596f. 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 regmap package is widely used in Linux-based systems to interact with hardware peripherals and manage their configurations.
Vulnerability Detail
The identified vulnerability, with ID GSD-2021-1002019, is a possible double-free issue in the regcache_rbtree_exit() function of the regmap package. This vulnerability was introduced in version v3.12 of the Linux Kernel by commit 3f4ff561bc88b074d5e868dde4012d89cbb06c87 and affects all versions until v5.4.157, where it was fixed by commit 1cead23c1c0bc766dacb900a3b0269f651ad596f. The impact and attack plausibility of this vulnerability have not been proven yet. However, if successfully exploited, it could lead to various security risks, including potential privilege escalation or denial of service attacks.
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
No specific workaround has been provided for this vulnerability. It is advised to apply the recommended fix by updating the Linux Kernel to the patched version.
Conclusion
The double-free vulnerability in the regmap package of the Linux Kernel can be mitigated by updating to version v5.4.157 or later. It is crucial to promptly apply this fix to prevent potential security risks. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The regmap package is a component of the Linux Kernel that manages register maps for hardware devices.
If successfully exploited, this vulnerability could lead to potential privilege escalation or denial of service attacks.
To fix this vulnerability, update the Linux Kernel to version v5.4.157 or later.
No specific workaround has been provided. It is recommended to apply the fix by updating the Linux Kernel.
For more details, refer to the vulnerability ID GSD-2021-1002019 in the GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002019.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.