IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready ================================================================== BUG: KASAN: slab-out-of-bounds in resample_shrink+0x4fb/0x900 sound/core/oss/rate.c:160 Read of size 2 at addr ffff88808c8e8c40 by task syz-executor.2/7387 CPU: 1 PID: 7387 Comm: syz-executor.2 Not tainted 5.0.0-rc8-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+0x113/0x167 lib/dump_stack.c:113 print_address_description.cold.5+0x9/0x1ff mm/kasan/report.c:187 kasan_report.cold.6+0x1b/0x39 mm/kasan/report.c:317 __asan_report_load2_noabort+0x14/0x20 mm/kasan/generic_report.c:133 resample_shrink+0x4fb/0x900 sound/core/oss/rate.c:160 rate_transfer+0x209/0x310 sound/core/oss/rate.c:279 snd_pcm_plug_read_transfer+0x151/0x290 sound/core/oss/pcm_plugin.c:651 snd_pcm_oss_read2+0x1a9/0x470 sound/core/oss/pcm_oss.c:1475 snd_pcm_oss_read1 sound/core/oss/pcm_oss.c:1532 [inline] snd_pcm_oss_read+0x416/0x600 sound/core/oss/pcm_oss.c:2752 do_loop_readv_writev fs/read_write.c:700 [inline] do_iter_read+0x366/0x560 fs/read_write.c:921 vfs_readv+0xc9/0x130 fs/read_write.c:983 do_readv+0xda/0x260 fs/read_write.c:1016 __do_sys_readv fs/read_write.c:1103 [inline] __se_sys_readv fs/read_write.c:1100 [inline] __x64_sys_readv+0x70/0xb0 fs/read_write.c:1100 do_syscall_64+0xd0/0x4d0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c479 Code: ad b6 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 b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa448c4fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000013 RAX: ffffffffffffffda RBX: 00007fa448c506d4 RCX: 000000000045c479 RDX: 0000000000000001 RSI: 0000000020395000 RDI: 0000000000000003 RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000887 R14: 00000000004cada6 R15: 000000000076bf2c Allocated by task 7387: save_stack+0x43/0xd0 mm/kasan/common.c:73 set_track mm/kasan/common.c:85 [inline] __kasan_kmalloc.constprop.13+0xcb/0xd0 mm/kasan/common.c:495 kasan_kmalloc+0x9/0x10 mm/kasan/common.c:509 __do_kmalloc_node mm/slab.c:3678 [inline] __kmalloc_node+0x4d/0x70 mm/slab.c:3685 kmalloc_node include/linux/slab.h:588 [inline] kvmalloc_node+0x68/0x70 mm/util.c:416 kvmalloc include/linux/mm.h:604 [inline] kvzalloc include/linux/mm.h:612 [inline] snd_pcm_plugin_alloc+0x445/0x8d0 sound/core/oss/pcm_plugin.c:70 snd_pcm_plug_alloc+0x106/0x270 sound/core/oss/pcm_plugin.c:129 snd_pcm_oss_change_params_locked+0x199b/0x3160 sound/core/oss/pcm_oss.c:1039 snd_pcm_oss_change_params+0x54/0xa0 sound/core/oss/pcm_oss.c:1102 snd_pcm_oss_get_active_substream.part.28+0xdd/0x160 sound/core/oss/pcm_oss.c:1119 snd_pcm_oss_get_active_substream sound/core/oss/pcm_oss.c:1112 [inline] snd_pcm_oss_get_rate sound/core/oss/pcm_oss.c:1769 [inline] snd_pcm_oss_set_rate sound/core/oss/pcm_oss.c:1761 [inline] snd_pcm_oss_ioctl+0x1a40/0x2fb0 sound/core/oss/pcm_oss.c:2608 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x196/0x10c0 fs/ioctl.c:696 ksys_ioctl+0x62/0x90 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:718 do_syscall_64+0xd0/0x4d0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff88808c8e8a40 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 0 bytes to the right of 512-byte region [ffff88808c8e8a40, ffff88808c8e8c40) The buggy address belongs to the page: page:ffffea0002323a00 count:1 mapcount:0 mapping:ffff88812c3f6940 index:0x0 flags: 0xfffe0000000200(slab) raw: 00fffe0000000200 ffffea00022509c8 ffffea0002439608 ffff88812c3f6940 raw: 0000000000000000 ffff88808c8e8040 0000000100000006 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88808c8e8b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88808c8e8b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88808c8e8c00: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ^ ffff88808c8e8c80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ffff88808c8e8d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================