GSD-2021-1002205 regmap: Fix possible double-free in regcache_rbtree_exit()

Not scored Published

A double-free vulnerability in the Linux kernel regmap rbtree cache exit path can lead to memory corruption and potential denial of service.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Not stated
Victim action needed
Not stated
Fix
None listed

What is GSD-2021-1002205?

GSD-2021-1002205 is an use after free vulnerability in Kernel, published on 14 Nov 2021.

Official description

regmap: Fix possible double-free in regcache_rbtree_exit()

This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.15 by commit 55e6d8037805b3400096d621091dfbf713f97e83, it was introduced in version v3.12 by commit 3f4ff561bc88b074d5e868dde4012d89cbb06c87. For more details please see the references link.

Which versions are affected by GSD-2021-1002205?

1 open source package ship an affected version, including Kernel.

PackageAffectedFixed in
Kernel LinuxAll versionsNone

How do I fix GSD-2021-1002205?

No fix has been published for GSD-2021-1002205 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is GSD-2021-1002205 being exploited?

There is no known exploitation of GSD-2021-1002205 in the wild and no public exploit code.

Sources

Is GSD-2021-1002205 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free