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

Not scored Published

A double-free vulnerability in the Linux kernel regmap subsystem could allow attackers to cause denial of service or potentially execute code.

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-1001965?

GSD-2021-1001965 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 v4.14.254 by commit 758ced2c3878ff789801e6fee808e185c5cf08d6, 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-1001965?

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

PackageAffectedFixed in
Kernel LinuxAll versionsNone

How do I fix GSD-2021-1001965?

No fix has been published for GSD-2021-1001965 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-1001965 being exploited?

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

Sources

Is GSD-2021-1001965 in your software?

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

Check your SBOMs for free