Re: [PATCH] KEYS: fix parsing invalid pkey info string

2018-12-06 Thread Eric Biggers
On Wed, Nov 28, 2018 at 03:20:20PM -0800, Eric Biggers wrote: > On Sat, Nov 03, 2018 at 10:30:35AM -0700, Eric Biggers wrote: > > From: Eric Biggers > > > > We need to check the return value of match_token() for Opt_err (-1) > > before doing anything with it. > > > > Reported-by:

Re: [PATCH] KEYS: fix parsing invalid pkey info string

2018-12-06 Thread Eric Biggers
On Wed, Nov 28, 2018 at 03:20:20PM -0800, Eric Biggers wrote: > On Sat, Nov 03, 2018 at 10:30:35AM -0700, Eric Biggers wrote: > > From: Eric Biggers > > > > We need to check the return value of match_token() for Opt_err (-1) > > before doing anything with it. > > > > Reported-by:

Re: [PATCH] KEYS: fix parsing invalid pkey info string

2018-11-28 Thread Eric Biggers
On Sat, Nov 03, 2018 at 10:30:35AM -0700, Eric Biggers wrote: > From: Eric Biggers > > We need to check the return value of match_token() for Opt_err (-1) > before doing anything with it. > > Reported-by: syzbot+a22e0dc07567662c5...@syzkaller.appspotmail.com > Fixes: 00d60fd3b932 ("KEYS:

Re: [PATCH] KEYS: fix parsing invalid pkey info string

2018-11-28 Thread Eric Biggers
On Sat, Nov 03, 2018 at 10:30:35AM -0700, Eric Biggers wrote: > From: Eric Biggers > > We need to check the return value of match_token() for Opt_err (-1) > before doing anything with it. > > Reported-by: syzbot+a22e0dc07567662c5...@syzkaller.appspotmail.com > Fixes: 00d60fd3b932 ("KEYS:

[PATCH] KEYS: fix parsing invalid pkey info string

2018-11-03 Thread Eric Biggers
From: Eric Biggers We need to check the return value of match_token() for Opt_err (-1) before doing anything with it. Reported-by: syzbot+a22e0dc07567662c5...@syzkaller.appspotmail.com Fixes: 00d60fd3b932 ("KEYS: Provide keyctls to drive the new key type ops for asymmetric keys [ver #2]")

[PATCH] KEYS: fix parsing invalid pkey info string

2018-11-03 Thread Eric Biggers
From: Eric Biggers We need to check the return value of match_token() for Opt_err (-1) before doing anything with it. Reported-by: syzbot+a22e0dc07567662c5...@syzkaller.appspotmail.com Fixes: 00d60fd3b932 ("KEYS: Provide keyctls to drive the new key type ops for asymmetric keys [ver #2]")