FPII-2740:KEYS: Fix short sprintf buffer in /proc/keys show function

KEYS: Fix short sprintf buffer in /proc/keys show function
The proc_keys_show function in security/keys/proc.c, in the Linux kernel through 4.8.2, when the GNU Compiler Collection (gcc) stack protector is enabled,
uses an incorrect buffer size for certain timeout data,
which allows local users to cause a potential stack memory corruption by reading the /proc/keys file.

The fix is designed to lengthen a short sprintf buffer in proc_keys_show() to prevent the potential stack memory corruption.

Change-Id: I3f6d34dcb8a940d632822fbc0210b638067b870d
1 file changed