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

GSD-2021-1000436 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.4.119 by commit 5880afefe0cb9b2d5e801816acd58bfe91a96981, it was introduced in version v5.4.58 by commit 9a53e8bd59d9f070505e51d3fd19606a270e6b93. For more details please see the references link.

Which versions are affected by GSD-2021-1000436?

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

PackageAffectedFixed in
Kernel LinuxAll versionsNone

How do I fix GSD-2021-1000436?

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

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

Sources

Is GSD-2021-1000436 in your software?

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

Check your SBOMs for free