Re: [PATCH] security: smack: fix out-of-bounds access in smk_parse_smack()

2014-11-21 Thread Casey Schaufler
On 11/8/2014 6:48 AM, Andrey Ryabinin wrote: > From: Andrey Ryabinin > > Setting smack label on file (e.g. 'attr -S -s SMACK64 -V "test" test') > triggered following spew on the kernel with KASan applied: > == > BUG:

Re: [PATCH] security: smack: fix out-of-bounds access in smk_parse_smack()

2014-11-21 Thread Casey Schaufler
On 11/8/2014 6:48 AM, Andrey Ryabinin wrote: From: Andrey Ryabinin a.ryabi...@samsung.com Setting smack label on file (e.g. 'attr -S -s SMACK64 -V test test') triggered following spew on the kernel with KASan applied: ==

[PATCH] security: smack: fix out-of-bounds access in smk_parse_smack()

2014-11-08 Thread Andrey Ryabinin
From: Andrey Ryabinin Setting smack label on file (e.g. 'attr -S -s SMACK64 -V "test" test') triggered following spew on the kernel with KASan applied: == BUG: AddressSanitizer: out of bounds access in strncpy+0x28/0x60 at

[PATCH] security: smack: fix out-of-bounds access in smk_parse_smack()

2014-11-08 Thread Andrey Ryabinin
From: Andrey Ryabinin a.ryabi...@samsung.com Setting smack label on file (e.g. 'attr -S -s SMACK64 -V test test') triggered following spew on the kernel with KASan applied: == BUG: AddressSanitizer: out of bounds access in