IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready 8021q: adding VLAN 0 to HW filter on device team0 IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready ================================================================== BUG: KASAN: slab-out-of-bounds in predicate_parse kernel/trace/trace_events_filter.c:557 [inline] BUG: KASAN: slab-out-of-bounds in process_preds+0x3ecf/0x4160 kernel/trace/trace_events_filter.c:1509 Write of size 4 at addr ffff8801d7ebdaf0 by task syz-executor0/4828 CPU: 0 PID: 4828 Comm: syz-executor0 Not tainted 4.17.0+ #8 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+0x1c9/0x2b4 lib/dump_stack.c:113 print_address_description+0x6c/0x20b mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report.cold.7+0x242/0x2fe mm/kasan/report.c:412 __asan_report_store4_noabort+0x17/0x20 mm/kasan/report.c:437 predicate_parse kernel/trace/trace_events_filter.c:557 [inline] process_preds+0x3ecf/0x4160 kernel/trace/trace_events_filter.c:1509 create_filter+0x167/0x280 kernel/trace/trace_events_filter.c:1717 ftrace_profile_set_filter+0x135/0x2f0 kernel/trace/trace_events_filter.c:2042 perf_event_set_filter+0x251/0x1260 kernel/events/core.c:9078 _perf_ioctl+0x865/0x1600 kernel/events/core.c:5059 perf_ioctl+0x59/0x80 kernel/events/core.c:5110 perf_compat_ioctl+0x6a/0xb0 kernel/events/core.c:5132 __do_compat_sys_ioctl fs/compat_ioctl.c:1459 [inline] __se_compat_sys_ioctl fs/compat_ioctl.c:1405 [inline] __ia32_compat_sys_ioctl+0x221/0x640 fs/compat_ioctl.c:1405 do_syscall_32_irqs_on arch/x86/entry/common.c:326 [inline] do_fast_syscall_32+0x34d/0xfb2 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f4ecb9 Code: 55 08 8b 88 64 cd ff ff 8b 98 68 cd ff ff 89 c8 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 1c 24 c3 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000ffcd7f2c EFLAGS: 00000286 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000040082406 RDX: 0000000020000040 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 1: save_stack+0x43/0xd0 mm/kasan/kasan.c:448 set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xc4/0xe0 mm/kasan/kasan.c:553 __do_kmalloc mm/slab.c:3718 [inline] __kmalloc+0x14e/0x760 mm/slab.c:3727 kmalloc_array include/linux/slab.h:635 [inline] kobj_map+0x7c/0x430 drivers/base/map.c:44 cdev_add+0x91/0x100 fs/char_dev.c:489 __register_chrdev+0x14d/0x290 fs/char_dev.c:291 register_chrdev include/linux/fs.h:2563 [inline] fbmem_init+0x5b/0x128 drivers/video/fbdev/core/fbmem.c:1871 do_one_initcall+0x127/0x913 init/main.c:884 do_initcall_level init/main.c:952 [inline] do_initcalls init/main.c:960 [inline] do_basic_setup init/main.c:978 [inline] kernel_init_freeable+0x49b/0x58e init/main.c:1135 kernel_init+0x11/0x1b3 init/main.c:1061 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8801d7ebda80 which belongs to the cache kmalloc-64 of size 64 The buggy address is located 48 bytes to the right of 64-byte region [ffff8801d7ebda80, ffff8801d7ebdac0) The buggy address belongs to the page: page:ffffea00075faf40 count:1 mapcount:0 mapping:ffff8801da800340 index:0x0 flags: 0x2fffc0000000100(slab) raw: 02fffc0000000100 ffffea00075f1b88 ffffea000759dd48 ffff8801da800340 raw: 0000000000000000 ffff8801d7ebd000 0000000100000020 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8801d7ebd980: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc ffff8801d7ebda00: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc >ffff8801d7ebda80: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc ^ ffff8801d7ebdb00: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc ffff8801d7ebdb80: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ==================================================================