vcan0: j1939_xtp_rx_abort_one: 0x0000000080cc5f74: 0x00000: (3) A timeout occurred and this is the connection abort to close the session. vcan0: j1939_xtp_rx_abort_one: 0x000000004ffccaac: 0x00000: (3) A timeout occurred and this is the connection abort to close the session. ================================================================== BUG: KASAN: slab-out-of-bounds in j1939_session_tx_dat net/can/j1939/transport.c:790 [inline] BUG: KASAN: slab-out-of-bounds in j1939_xtp_txnext_transmiter net/can/j1939/transport.c:847 [inline] BUG: KASAN: slab-out-of-bounds in j1939_tp_txtimer+0x1e64/0x3780 net/can/j1939/transport.c:1095 Read of size 7 at addr ffff88807e0a4afe by task ksoftirqd/1/16 CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.6.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1e9/0x30e lib/dump_stack.c:118 print_address_description+0x74/0x5c0 mm/kasan/report.c:374 __kasan_report+0x14b/0x1c0 mm/kasan/report.c:506 kasan_report+0x25/0x50 mm/kasan/common.c:641 check_memory_region_inline mm/kasan/generic.c:182 [inline] check_memory_region+0x2a5/0x2e0 mm/kasan/generic.c:192 memcpy+0x25/0x50 mm/kasan/common.c:127 j1939_session_tx_dat net/can/j1939/transport.c:790 [inline] j1939_xtp_txnext_transmiter net/can/j1939/transport.c:847 [inline] j1939_tp_txtimer+0x1e64/0x3780 net/can/j1939/transport.c:1095 __run_hrtimer kernel/time/hrtimer.c:1517 [inline] __hrtimer_run_queues+0x3cf/0x7d0 kernel/time/hrtimer.c:1579 hrtimer_run_softirq+0x15a/0x1b0 kernel/time/hrtimer.c:1596 __do_softirq+0x268/0x7c5 kernel/softirq.c:292 run_ksoftirqd+0x60/0xf0 kernel/softirq.c:603 smpboot_thread_fn+0x572/0x970 kernel/smpboot.c:165 kthread+0x317/0x340 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Allocated by task 8657: save_stack mm/kasan/common.c:72 [inline] set_track mm/kasan/common.c:80 [inline] __kasan_kmalloc+0x118/0x1c0 mm/kasan/common.c:515 __do_kmalloc mm/slab.c:3656 [inline] __kmalloc+0x24b/0x330 mm/slab.c:3665 kmalloc include/linux/slab.h:560 [inline] kzalloc+0x1d/0x40 include/linux/slab.h:669 fib6_info_alloc+0x26/0xd0 net/ipv6/ip6_fib.c:154 ip6_route_info_create+0x40b/0x19a0 net/ipv6/route.c:3615 addrconf_f6i_alloc+0x3dd/0x5d0 net/ipv6/route.c:4439 ipv6_add_addr+0x3ec/0x16e0 net/ipv6/addrconf.c:1087 addrconf_add_linklocal+0x253/0x960 net/ipv6/addrconf.c:3192 addrconf_addr_gen+0x32f/0xbf0 net/ipv6/addrconf.c:3319 addrconf_notify+0xb92/0x3ad0 net/ipv6/addrconf.c:3601 notifier_call_chain kernel/notifier.c:83 [inline] __raw_notifier_call_chain kernel/notifier.c:361 [inline] raw_notifier_call_chain+0xd4/0x170 kernel/notifier.c:368 __dev_notify_flags+0x253/0x4d0 net/core/dev.c:1948 dev_change_flags+0xe3/0x190 net/core/dev.c:8219 do_setlink+0xb17/0x3880 net/core/rtnetlink.c:2596 __rtnl_newlink net/core/rtnetlink.c:3252 [inline] rtnl_newlink+0x1509/0x1c00 net/core/rtnetlink.c:3377 rtnetlink_rcv_msg+0x889/0xd40 net/core/rtnetlink.c:5436 netlink_rcv_skb+0x190/0x3a0 net/netlink/af_netlink.c:2478 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x786/0x940 net/netlink/af_netlink.c:1329 netlink_sendmsg+0xa57/0xd70 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] __sys_sendto+0x3f3/0x590 net/socket.c:1998 __do_sys_sendto net/socket.c:2010 [inline] __se_sys_sendto net/socket.c:2006 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2006 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff88807e0a4a00 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 254 bytes inside of 256-byte region [ffff88807e0a4a00, ffff88807e0a4b00) The buggy address belongs to the page: page:ffffea0001f82900 refcount:1 mapcount:0 mapping:ffff8880aa4008c0 index:0x0 flags: 0xfffe0000000200(slab) raw: 00fffe0000000200 ffffea0002545d48 ffffea0001f829c8 ffff8880aa4008c0 raw: 0000000000000000 ffff88807e0a4000 0000000100000008 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88807e0a4a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88807e0a4a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88807e0a4b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88807e0a4b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807e0a4c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================