IPv6: Can't replace route, no match found IPv6: Can't replace route, no match found ================================================================== BUG: KASAN: slab-out-of-bounds in atomic_read include/asm-generic/atomic-instrumented.h:21 [inline] BUG: KASAN: slab-out-of-bounds in refcount_read include/linux/refcount.h:42 [inline] BUG: KASAN: slab-out-of-bounds in check_net include/net/net_namespace.h:236 [inline] BUG: KASAN: slab-out-of-bounds in rds_destroy_pending net/rds/rds.h:902 [inline] BUG: KASAN: slab-out-of-bounds in rds_cong_queue_updates+0x25d/0x5b0 net/rds/cong.c:226 Read of size 4 at addr ffff88019fe28144 by task syz-executor6/9211 CPU: 1 PID: 9211 Comm: syz-executor6 Not tainted 4.18.0-rc3+ #30 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 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x13e/0x1b0 mm/kasan/kasan.c:267 kasan_check_read+0x11/0x20 mm/kasan/kasan.c:272 atomic_read include/asm-generic/atomic-instrumented.h:21 [inline] refcount_read include/linux/refcount.h:42 [inline] check_net include/net/net_namespace.h:236 [inline] rds_destroy_pending net/rds/rds.h:902 [inline] rds_cong_queue_updates+0x25d/0x5b0 net/rds/cong.c:226 rds_recv_rcvbuf_delta.part.3+0x332/0x3e0 net/rds/recv.c:123 rds_recv_rcvbuf_delta net/rds/recv.c:382 [inline] rds_recv_incoming+0x85a/0x1320 net/rds/recv.c:382 rds_loop_xmit+0x16a/0x340 net/rds/loop.c:82 rds_send_xmit+0x1343/0x29c0 net/rds/send.c:355 rds_sendmsg+0x229e/0x2a40 net/rds/send.c:1243 sock_sendmsg_nosec net/socket.c:641 [inline] sock_sendmsg+0xd5/0x120 net/socket.c:651 __sys_sendto+0x3d7/0x670 net/socket.c:1797 __do_sys_sendto net/socket.c:1809 [inline] __se_sys_sendto net/socket.c:1805 [inline] __ia32_sys_sendto+0xdf/0x1a0 net/socket.c:1805 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:0xf7f37cb9 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:00000000f5f330ac EFLAGS: 00000282 ORIG_RAX: 0000000000000171 RAX: ffffffffffffffda RBX: 0000000000000013 RCX: 0000000020000000 RDX: 0000000000000481 RSI: 0000000000000000 RDI: 000000002069affb RBP: 0000000000000010 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 5369: 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 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:490 kmem_cache_alloc+0x12e/0x760 mm/slab.c:3554 getname_flags+0xd0/0x5a0 fs/namei.c:140 getname fs/namei.c:211 [inline] do_renameat2+0x307/0x1120 fs/namei.c:4555 __do_sys_rename fs/namei.c:4683 [inline] __se_sys_rename fs/namei.c:4681 [inline] __x64_sys_rename+0x5e/0x80 fs/namei.c:4681 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 5369: save_stack+0x43/0xd0 mm/kasan/kasan.c:448 set_track mm/kasan/kasan.c:460 [inline] __kasan_slab_free+0x11a/0x170 mm/kasan/kasan.c:521 kasan_slab_free+0xe/0x10 mm/kasan/kasan.c:528 __cache_free mm/slab.c:3498 [inline] kmem_cache_free+0x86/0x2d0 mm/slab.c:3756 putname+0xf2/0x130 fs/namei.c:261 do_renameat2+0x2d7/0x1120 fs/namei.c:4659 __do_sys_rename fs/namei.c:4683 [inline] __se_sys_rename fs/namei.c:4681 [inline] __x64_sys_rename+0x5e/0x80 fs/namei.c:4681 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe The buggy address belongs to the object at ffff88019fe28340 which belongs to the cache names_cache of size 4096 The buggy address is located 508 bytes to the left of 4096-byte region [ffff88019fe28340, ffff88019fe29340) The buggy address belongs to the page: page:ffffea00067f8a00 count:1 mapcount:0 mapping:ffff8801da987dc0 index:0x0 compound_mapcount: 0 flags: 0x2fffc0000008100(slab|head) raw: 02fffc0000008100 ffffea0006f42088 ffffea00067f8a88 ffff8801da987dc0 raw: 0000000000000000 ffff88019fe28340 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88019fe28000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88019fe28080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88019fe28100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88019fe28180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88019fe28200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================