Re: [PATCH v3] can: gw: ensure DLC boundaries after CAN frame modification

2019-01-07 Thread David Miller
From: Oliver Hartkopp Date: Mon, 7 Jan 2019 13:51:22 +0100 > the boss of Marc just send me a private mail that Marc is currently > ill. > I hope he'll get well soon. I'm sorry to hear that and hope he gets well soon as well. > Can you please take this patch directly then? Yes, I will.

Re: [PATCH v3] can: gw: ensure DLC boundaries after CAN frame modification

2019-01-07 Thread Oliver Hartkopp
Hello Dave, the boss of Marc just send me a private mail that Marc is currently ill. I hope he'll get well soon. Can you please take this patch directly then? Many thanks, Oliver On 1/7/19 1:14 PM, Oliver Hartkopp wrote: Hello Marc, On 1/5/19 11:56 AM, Marc Kleine-Budde wrote: On 1/4/19 10:

Re: [PATCH v3] can: gw: ensure DLC boundaries after CAN frame modification

2019-01-07 Thread Oliver Hartkopp
Hello Marc, On 1/5/19 11:56 AM, Marc Kleine-Budde wrote: On 1/4/19 10:41 PM, David Miller wrote: From: Marc Kleine-Budde Date: Fri, 4 Jan 2019 15:55:26 +0100 Marc, do you want me to apply this directly to my net tree? No, I'll send a pull request. Thanks, Marc I was still on vacation la

Re: [PATCH v3] can: gw: ensure DLC boundaries after CAN frame modification

2019-01-05 Thread Marc Kleine-Budde
On 1/4/19 10:41 PM, David Miller wrote: > From: Marc Kleine-Budde > Date: Fri, 4 Jan 2019 15:55:26 +0100 > >> From: Oliver Hartkopp >> >> Muyu Yu provided a POC where user root with CAP_NET_ADMIN can create a CAN >> frame modification rule that makes the data length code a higher value than >>

Re: [PATCH v3] can: gw: ensure DLC boundaries after CAN frame modification

2019-01-04 Thread David Miller
From: Marc Kleine-Budde Date: Fri, 4 Jan 2019 15:55:26 +0100 > From: Oliver Hartkopp > > Muyu Yu provided a POC where user root with CAP_NET_ADMIN can create a CAN > frame modification rule that makes the data length code a higher value than > the available CAN frame data size. In combination

[PATCH v3] can: gw: ensure DLC boundaries after CAN frame modification

2019-01-04 Thread Marc Kleine-Budde
From: Oliver Hartkopp Muyu Yu provided a POC where user root with CAP_NET_ADMIN can create a CAN frame modification rule that makes the data length code a higher value than the available CAN frame data size. In combination with a configured checksum calculation where the result is stored relative