Re: [PATCH] net/smc: check for missing nlattrs in SMC_PNETID messages

2018-05-14 Thread David Miller
From: Eric Biggers Date: Sun, 13 May 2018 17:01:30 -0700 > From: Eric Biggers > > It's possible to crash the kernel in several different ways by sending > messages to the SMC_PNETID generic netlink family that are missing the > expected attributes: >

Re: [PATCH] net/smc: check for missing nlattrs in SMC_PNETID messages

2018-05-14 Thread David Miller
From: Eric Biggers Date: Sun, 13 May 2018 17:01:30 -0700 > From: Eric Biggers > > It's possible to crash the kernel in several different ways by sending > messages to the SMC_PNETID generic netlink family that are missing the > expected attributes: > > - Missing SMC_PNETID_NAME => null

[PATCH] net/smc: check for missing nlattrs in SMC_PNETID messages

2018-05-13 Thread Eric Biggers
From: Eric Biggers It's possible to crash the kernel in several different ways by sending messages to the SMC_PNETID generic netlink family that are missing the expected attributes: - Missing SMC_PNETID_NAME => null pointer dereference when comparing names. - Missing

[PATCH] net/smc: check for missing nlattrs in SMC_PNETID messages

2018-05-13 Thread Eric Biggers
From: Eric Biggers It's possible to crash the kernel in several different ways by sending messages to the SMC_PNETID generic netlink family that are missing the expected attributes: - Missing SMC_PNETID_NAME => null pointer dereference when comparing names. - Missing SMC_PNETID_ETHNAME =>