GSD-2021-1000290 mtd: require write permissions for locking and badblock ioctls

Not scored Published

Local attackers can modify MTD flash memory without write permissions due to missing authorization checks in locking and badblock ioctls.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is GSD-2021-1000290?

GSD-2021-1000290 is a missing authorization vulnerability in Kernel, published on 31 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

mtd: require write permissions for locking and badblock ioctls

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.12.4 by commit a08799d3e8c8088640956237c183f83463c39668, it was introduced in version v5.9 by commit f7e6b19bc76471ba03725fe58e0c218a3d6266c3. For more details please see the references link.

Which versions are affected by GSD-2021-1000290?

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

PackageAffectedFixed in
Kernel LinuxAll versionsNone

How do I fix GSD-2021-1000290?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is GSD-2021-1000290 being exploited?

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

Sources

Is GSD-2021-1000290 in your software?

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

Check your SBOMs for free