Re: [PATCH] KEYS: fix freeing uninitialized memory in key_update()

2017-05-31 Thread Eric Biggers
On Mon, Apr 03, 2017 at 04:48:54PM +0100, David Howells wrote: > Pulled. David, where was this pulled to? It's not in keys-next at https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git. Nor did it show up in v4.12-rc1.

Re: [PATCH] KEYS: fix freeing uninitialized memory in key_update()

2017-04-03 Thread David Howells
Pulled.

[PATCH] KEYS: fix freeing uninitialized memory in key_update()

2017-04-01 Thread Eric Biggers
From: Eric Biggers key_update() freed the key_preparsed_payload even if it was not initialized first. This would cause a crash if userspace called keyctl_update() on a key with type like "asymmetric" that has a ->preparse() method but not an ->update() method. Possibly it could even be triggere