Re: UBSAN: Undefined behaviour in net/ipv4/ip_output.c

2019-01-24 Thread Kyungtae Kim
That's my bad. Thank you for your comment and effort. Regards, Kyungtae Kim On Wed, Jan 23, 2019 at 4:34 PM Willem de Bruijn wrote: > > On Mon, Jan 21, 2019 at 2:25 PM Kyungtae Kim wrote: > > > > I'm reporting a bug in linux-5.0-rc2: "UBSAN: Undefined beha

UBSAN: Undefined behaviour in net/ipv4/ip_output.c

2019-01-21 Thread Kyungtae Kim
I'm reporting a bug in linux-5.0-rc2: "UBSAN: Undefined behaviour in net/ipv4/ip_output.c" kernel config: https://kt0755.github.io/etc/config-5.0-rc2 repro: https://kt0755.github.io/etc/repro.b6a11.c Integer overflow happened in __ip_append_data() when 2 * sk->sk_sndbuf (at line 1004) is larger t

Re: [PATCH v2] can: bcm: check timer values before ktime conversion

2019-01-16 Thread Kyungtae Kim
On Sun, Jan 13, 2019 at 1:31 PM Oliver Hartkopp wrote: > > Kyungtae Kim detected a potential integer overflow in bcm_[rx|tx]_setup() > when the conversion into ktime multiplies the given value with NSEC_PER_USEC > (1000). > > Reference: https://marc.info/?l=linux-can&m=15473

Re: UBSAN: Undefined behaviour in net/can/bcm.c

2019-01-12 Thread Kyungtae Kim
46 R12: R13: ba60 R14: 006f4b00 R15: 7f6045f44700 ========= Thanks, Kyungtae Kim

UBSAN: Undefined behaviour in net/can/bcm.c

2019-01-12 Thread Kyungtae Kim
RDX: 0048 RSI: 20c0 RDI: 0013 RBP: 0071bea0 R08: R09: R10: R11: 0246 R12: R13: ba60 R14: 006f4b00 R15: 7fc2e6feb700 ===== Thanks, Kyungtae Kim