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.