GSD-2021-1000475 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-1000475?

GSD-2021-1000475 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 v4.14.233 by commit f73b29819c6314c0ba8b7d5892dfb03487424bee, it was introduced in version v4.14.194 by commit 389c74c218d3b182e9cd767e98cee0e0fd0dabaa. For more details please see the references link.

Which versions are affected by GSD-2021-1000475?

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

PackageAffectedFixed in
Kernel LinuxAll versionsNone

How do I fix GSD-2021-1000475?

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

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

Sources

Is GSD-2021-1000475 in your software?

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

Check your SBOMs for free