[ 37.750422][ T26] audit: type=1800 audit(1551632504.411:26): pid=7671 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 37.784991][ T26] audit: type=1800 audit(1551632504.411:27): pid=7671 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [ 37.819694][ T26] audit: type=1800 audit(1551632504.421:28): pid=7671 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 38.706266][ T26] audit: type=1800 audit(1551632505.401:29): pid=7671 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.94' (ECDSA) to the list of known hosts. 2019/03/03 17:01:57 parsed 1 programs 2019/03/03 17:01:59 executed programs: 0 syzkaller login: [ 52.374999][ T7838] IPVS: ftp: loaded support on port[0] = 21 [ 52.434346][ T7838] chnl_net:caif_netlink_parms(): no params data found [ 52.464267][ T7838] bridge0: port 1(bridge_slave_0) entered blocking state [ 52.471923][ T7838] bridge0: port 1(bridge_slave_0) entered disabled state [ 52.479673][ T7838] device bridge_slave_0 entered promiscuous mode [ 52.488037][ T7838] bridge0: port 2(bridge_slave_1) entered blocking state [ 52.495331][ T7838] bridge0: port 2(bridge_slave_1) entered disabled state [ 52.503061][ T7838] device bridge_slave_1 entered promiscuous mode [ 52.518661][ T7838] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 52.528230][ T7838] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 52.545483][ T7838] team0: Port device team_slave_0 added [ 52.552318][ T7838] team0: Port device team_slave_1 added [ 52.612186][ T7838] device hsr_slave_0 entered promiscuous mode [ 52.651703][ T7838] device hsr_slave_1 entered promiscuous mode [ 52.697258][ T7838] bridge0: port 2(bridge_slave_1) entered blocking state [ 52.704568][ T7838] bridge0: port 2(bridge_slave_1) entered forwarding state [ 52.712466][ T7838] bridge0: port 1(bridge_slave_0) entered blocking state [ 52.719528][ T7838] bridge0: port 1(bridge_slave_0) entered forwarding state [ 52.748614][ T7838] 8021q: adding VLAN 0 to HW filter on device bond0 [ 52.762062][ T12] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 52.782727][ T12] bridge0: port 1(bridge_slave_0) entered disabled state [ 52.791831][ T12] bridge0: port 2(bridge_slave_1) entered disabled state [ 52.799772][ T12] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 52.812270][ T7838] 8021q: adding VLAN 0 to HW filter on device team0 [ 52.823229][ T22] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 52.831513][ T22] bridge0: port 1(bridge_slave_0) entered blocking state [ 52.838653][ T22] bridge0: port 1(bridge_slave_0) entered forwarding state [ 52.848605][ T12] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 52.857599][ T12] bridge0: port 2(bridge_slave_1) entered blocking state [ 52.864735][ T12] bridge0: port 2(bridge_slave_1) entered forwarding state [ 52.884753][ T7838] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 52.895347][ T7838] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 52.908549][ T22] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 52.917280][ T22] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 52.925725][ T22] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 52.935036][ T22] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 52.943840][ T22] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 52.951641][ T22] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 52.967325][ T7838] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 53.648900][ T7974] ================================================================== [ 53.657132][ T7974] BUG: KASAN: use-after-free in __list_add_valid+0x9a/0xa0 [ 53.664377][ T7974] Read of size 8 at addr ffff8880a7d74820 by task syz-executor.0/7974 [ 53.672507][ T7974] [ 53.674830][ T7974] CPU: 0 PID: 7974 Comm: syz-executor.0 Not tainted 5.0.0-rc8-next-20190301 #1 [ 53.683736][ T7974] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.693783][ T7974] Call Trace: [ 53.697086][ T7974] dump_stack+0x172/0x1f0 [ 53.701407][ T7974] ? __list_add_valid+0x9a/0xa0 [ 53.706244][ T7974] print_address_description.cold+0x7c/0x20d [ 53.712212][ T7974] ? __list_add_valid+0x9a/0xa0 [ 53.717047][ T7974] ? __list_add_valid+0x9a/0xa0 [ 53.721883][ T7974] kasan_report.cold+0x1b/0x40 [ 53.726647][ T7974] ? __list_add_valid+0x9a/0xa0 [ 53.731484][ T7974] __asan_report_load8_noabort+0x14/0x20 [ 53.737103][ T7974] __list_add_valid+0x9a/0xa0 [ 53.741775][ T7974] rdma_listen+0x6b7/0x970 [ 53.746201][ T7974] ucma_listen+0x14d/0x1c0 [ 53.750636][ T7974] ? ucma_notify+0x190/0x190 [ 53.755227][ T7974] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 53.761447][ T7974] ? _copy_from_user+0xdd/0x150 [ 53.766282][ T7974] ucma_write+0x2da/0x3c0 [ 53.770595][ T7974] ? ucma_notify+0x190/0x190 [ 53.775295][ T7974] ? ucma_open+0x290/0x290 [ 53.779709][ T7974] ? apparmor_file_permission+0x25/0x30 [ 53.785244][ T7974] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.791474][ T7974] ? security_file_permission+0x94/0x380 [ 53.797170][ T7974] __vfs_write+0x8d/0x110 [ 53.801494][ T7974] ? ucma_open+0x290/0x290 [ 53.805937][ T7974] vfs_write+0x20c/0x580 [ 53.810185][ T7974] ksys_write+0xea/0x1f0 [ 53.814414][ T7974] ? __ia32_sys_read+0xb0/0xb0 [ 53.819179][ T7974] ? do_syscall_64+0x26/0x610 [ 53.823839][ T7974] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.829977][ T7974] ? do_syscall_64+0x26/0x610 [ 53.834713][ T7974] __x64_sys_write+0x73/0xb0 [ 53.839299][ T7974] do_syscall_64+0x103/0x610 [ 53.843889][ T7974] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.849777][ T7974] RIP: 0033:0x457e29 [ 53.853673][ T7974] Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 53.873261][ T7974] RSP: 002b:00007efe03f10c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 53.881750][ T7974] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457e29 [ 53.889710][ T7974] RDX: 00000000ffffff3a RSI: 00000000200001c0 RDI: 0000000000000003 [ 53.897665][ T7974] RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 [ 53.905634][ T7974] R10: 0000000000000000 R11: 0000000000000246 R12: 00007efe03f116d4 [ 53.913608][ T7974] R13: 00000000004c70d9 R14: 00000000004dcb90 R15: 00000000ffffffff [ 53.921568][ T7974] [ 53.923876][ T7974] Allocated by task 7971: [ 53.928193][ T7974] save_stack+0x45/0xd0 [ 53.932331][ T7974] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 53.937948][ T7974] kasan_kmalloc+0x9/0x10 [ 53.942261][ T7974] kmem_cache_alloc_trace+0x151/0x760 [ 53.947613][ T7974] __rdma_create_id+0x5f/0x4e0 [ 53.952372][ T7974] ucma_create_id+0x1de/0x640 [ 53.957031][ T7974] ucma_write+0x2da/0x3c0 [ 53.961339][ T7974] __vfs_write+0x8d/0x110 [ 53.965651][ T7974] vfs_write+0x20c/0x580 [ 53.969871][ T7974] ksys_write+0xea/0x1f0 [ 53.974105][ T7974] __x64_sys_write+0x73/0xb0 [ 53.978689][ T7974] do_syscall_64+0x103/0x610 [ 53.983278][ T7974] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.989142][ T7974] [ 53.991457][ T7974] Freed by task 7966: [ 53.995426][ T7974] save_stack+0x45/0xd0 [ 54.000004][ T7974] __kasan_slab_free+0x102/0x150 [ 54.004944][ T7974] kasan_slab_free+0xe/0x10 [ 54.009608][ T7974] kfree+0xcf/0x230 [ 54.013410][ T7974] rdma_destroy_id+0x719/0xaa0 [ 54.018179][ T7974] ucma_close+0x115/0x320 [ 54.022583][ T7974] __fput+0x2e5/0x8d0 [ 54.026572][ T7974] ____fput+0x16/0x20 [ 54.030538][ T7974] task_work_run+0x14a/0x1c0 [ 54.035113][ T7974] exit_to_usermode_loop+0x273/0x2c0 [ 54.040377][ T7974] do_syscall_64+0x52d/0x610 [ 54.045111][ T7974] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 54.051159][ T7974] [ 54.053485][ T7974] The buggy address belongs to the object at ffff8880a7d74640 [ 54.053485][ T7974] which belongs to the cache kmalloc-2k of size 2048 [ 54.067741][ T7974] The buggy address is located 480 bytes inside of [ 54.067741][ T7974] 2048-byte region [ffff8880a7d74640, ffff8880a7d74e40) [ 54.081086][ T7974] The buggy address belongs to the page: [ 54.086724][ T7974] page:ffffea00029f5d00 count:1 mapcount:0 mapping:ffff88812c3f0c40 index:0x0 compound_mapcount: 0 [ 54.097382][ T7974] flags: 0x1fffc0000010200(slab|head) [ 54.102746][ T7974] raw: 01fffc0000010200 ffffea00022f5a88 ffffea000294c988 ffff88812c3f0c40 [ 54.111325][ T7974] raw: 0000000000000000 ffff8880a7d74640 0000000100000003 0000000000000000 [ 54.120127][ T7974] page dumped because: kasan: bad access detected [ 54.126536][ T7974] [ 54.128850][ T7974] Memory state around the buggy address: [ 54.134599][ T7974] ffff8880a7d74700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 54.142653][ T7974] ffff8880a7d74780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 54.150698][ T7974] >ffff8880a7d74800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 54.158734][ T7974] ^ [ 54.163832][ T7974] ffff8880a7d74880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 54.172029][ T7974] ffff8880a7d74900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 54.180069][ T7974] ================================================================== [ 54.188114][ T7974] Disabling lock debugging due to kernel taint [ 54.197865][ T7974] Kernel panic - not syncing: panic_on_warn set ... [ 54.204493][ T7974] CPU: 1 PID: 7974 Comm: syz-executor.0 Tainted: G B 5.0.0-rc8-next-20190301 #1 [ 54.214789][ T7974] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 54.224825][ T7974] Call Trace: [ 54.228105][ T7974] dump_stack+0x172/0x1f0 [ 54.232422][ T7974] panic+0x2cb/0x65c [ 54.236294][ T7974] ? __warn_printk+0xf3/0xf3 [ 54.240860][ T7974] ? __list_add_valid+0x9a/0xa0 [ 54.245714][ T7974] ? preempt_schedule+0x4b/0x60 [ 54.250562][ T7974] ? ___preempt_schedule+0x16/0x18 [ 54.255742][ T7974] ? trace_hardirqs_on+0x5e/0x230 [ 54.260758][ T7974] ? __list_add_valid+0x9a/0xa0 [ 54.265590][ T7974] end_report+0x47/0x4f [ 54.269729][ T7974] ? __list_add_valid+0x9a/0xa0 [ 54.274563][ T7974] kasan_report.cold+0xe/0x40 [ 54.279220][ T7974] ? __list_add_valid+0x9a/0xa0 [ 54.284055][ T7974] __asan_report_load8_noabort+0x14/0x20 [ 54.289679][ T7974] __list_add_valid+0x9a/0xa0 [ 54.294353][ T7974] rdma_listen+0x6b7/0x970 [ 54.298750][ T7974] ucma_listen+0x14d/0x1c0 [ 54.303142][ T7974] ? ucma_notify+0x190/0x190 [ 54.307721][ T7974] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 54.313946][ T7974] ? _copy_from_user+0xdd/0x150 [ 54.318784][ T7974] ucma_write+0x2da/0x3c0 [ 54.323089][ T7974] ? ucma_notify+0x190/0x190 [ 54.327652][ T7974] ? ucma_open+0x290/0x290 [ 54.332061][ T7974] ? apparmor_file_permission+0x25/0x30 [ 54.337746][ T7974] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 54.343981][ T7974] ? security_file_permission+0x94/0x380 [ 54.349594][ T7974] __vfs_write+0x8d/0x110 [ 54.353913][ T7974] ? ucma_open+0x290/0x290 [ 54.358308][ T7974] vfs_write+0x20c/0x580 [ 54.362527][ T7974] ksys_write+0xea/0x1f0 [ 54.366767][ T7974] ? __ia32_sys_read+0xb0/0xb0 [ 54.371599][ T7974] ? do_syscall_64+0x26/0x610 [ 54.376275][ T7974] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 54.382321][ T7974] ? do_syscall_64+0x26/0x610 [ 54.386981][ T7974] __x64_sys_write+0x73/0xb0 [ 54.391573][ T7974] do_syscall_64+0x103/0x610 [ 54.396143][ T7974] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 54.402045][ T7974] RIP: 0033:0x457e29 [ 54.405932][ T7974] Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 54.425524][ T7974] RSP: 002b:00007efe03f10c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 54.434009][ T7974] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457e29 [ 54.441981][ T7974] RDX: 00000000ffffff3a RSI: 00000000200001c0 RDI: 0000000000000003 [ 54.449942][ T7974] RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 [ 54.457902][ T7974] R10: 0000000000000000 R11: 0000000000000246 R12: 00007efe03f116d4 [ 54.465849][ T7974] R13: 00000000004c70d9 R14: 00000000004dcb90 R15: 00000000ffffffff [ 54.474764][ T7974] Kernel Offset: disabled [ 54.479085][ T7974] Rebooting in 86400 seconds..