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.19.191 by commit 75ed985bd6c8ac1d4e673e93ea9d96c9908c1d37, it was introduced in version v4.19.139 by commit ab1a602a9cea98aa37b2e6851b168d2a2633a58d. For more details please see the references link.