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.4.269 by commit f4d28d8b9b0e7c4ae04214b8d7e0b0466ec6bcaf, it was introduced in version v4.4.233 by commit 1c9f9125892a43901438bf704ada6b7019e2a884. For more details please see the references link.