================================================================== BUG: KASAN: slab-out-of-bounds in atomic_read include/asm-generic/atomic-instrumented.h:26 [inline] BUG: KASAN: slab-out-of-bounds in refcount_read include/linux/refcount.h:43 [inline] BUG: KASAN: slab-out-of-bounds in check_net include/net/net_namespace.h:254 [inline] BUG: KASAN: slab-out-of-bounds in rds_destroy_pending net/rds/rds.h:951 [inline] BUG: KASAN: slab-out-of-bounds in rds_cong_queue_updates+0x209/0x4d0 net/rds/cong.c:229 Read of size 4 at addr ffff88806a674184 by task syz-executor.5/12669 CPU: 1 PID: 12669 Comm: syz-executor.5 Not tainted 5.1.0-rc2+ #115 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+0x172/0x1f0 lib/dump_stack.c:113 print_address_description.cold+0x7c/0x20d mm/kasan/report.c:187 kasan_report.cold+0x1b/0x40 mm/kasan/report.c:317 check_memory_region_inline mm/kasan/generic.c:185 [inline] check_memory_region+0x123/0x190 mm/kasan/generic.c:191 kasan_check_read+0x11/0x20 mm/kasan/common.c:102 atomic_read include/asm-generic/atomic-instrumented.h:26 [inline] refcount_read include/linux/refcount.h:43 [inline] check_net include/net/net_namespace.h:254 [inline] rds_destroy_pending net/rds/rds.h:951 [inline] rds_cong_queue_updates+0x209/0x4d0 net/rds/cong.c:229 rds_recv_rcvbuf_delta.part.0+0x34f/0x3f0 net/rds/recv.c:118 rds_recv_rcvbuf_delta net/rds/recv.c:379 [inline] rds_recv_incoming+0x789/0x11f0 net/rds/recv.c:379 rds_loop_xmit+0xf3/0x2a0 net/rds/loop.c:96 rds_send_xmit+0x1113/0x2560 net/rds/send.c:355 rds_sendmsg+0x3017/0x3550 net/rds/send.c:1369 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xdd/0x130 net/socket.c:661 __sys_sendto+0x262/0x380 net/socket.c:1932 __do_sys_sendto net/socket.c:1944 [inline] __se_sys_sendto net/socket.c:1940 [inline] __x64_sys_sendto+0xe1/0x1a0 net/socket.c:1940 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458209 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 RSP: 002b:00007f279b7f9c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000458209 RDX: 0000000000000480 RSI: 0000000020000a00 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f279b7fa6d4 R13: 00000000004c590a R14: 00000000004d9c58 R15: 00000000ffffffff Allocated by task 16: save_stack+0x45/0xd0 mm/kasan/common.c:75 set_track mm/kasan/common.c:87 [inline] __kasan_kmalloc mm/kasan/common.c:497 [inline] __kasan_kmalloc.constprop.0+0xcf/0xe0 mm/kasan/common.c:470 kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:505 slab_post_alloc_hook mm/slab.h:436 [inline] slab_alloc mm/slab.c:3392 [inline] kmem_cache_alloc+0x11a/0x6f0 mm/slab.c:3554 skb_clone+0x150/0x3b0 net/core/skbuff.c:1288 deliver_clone+0x46/0xc0 net/bridge/br_forward.c:123 br_flood+0x5fa/0x710 net/bridge/br_forward.c:238 br_handle_frame_finish+0xf4e/0x14c0 net/bridge/br_input.c:169 br_nf_hook_thresh+0x2ec/0x380 net/bridge/br_netfilter_hooks.c:1006 br_nf_pre_routing_finish_ipv6+0x700/0xdc0 net/bridge/br_netfilter_ipv6.c:210 NF_HOOK include/linux/netfilter.h:289 [inline] br_nf_pre_routing_ipv6+0x437/0x810 net/bridge/br_netfilter_ipv6.c:240 br_nf_pre_routing+0xf2e/0x14b0 net/bridge/br_netfilter_hooks.c:482 nf_hook_entry_hookfn include/linux/netfilter.h:119 [inline] nf_hook_slow+0xbf/0x1f0 net/netfilter/core.c:511 nf_hook include/linux/netfilter.h:244 [inline] NF_HOOK include/linux/netfilter.h:287 [inline] br_handle_frame+0x95b/0x1450 net/bridge/br_input.c:305 __netif_receive_skb_core+0xa96/0x3040 net/core/dev.c:4910 __netif_receive_skb_one_core+0xa8/0x1a0 net/core/dev.c:4979 __netif_receive_skb+0x2c/0x1c0 net/core/dev.c:5091 process_backlog+0x206/0x750 net/core/dev.c:5931 napi_poll net/core/dev.c:6354 [inline] net_rx_action+0x4fa/0x1070 net/core/dev.c:6420 __do_softirq+0x266/0x95a kernel/softirq.c:293 Freed by task 16: save_stack+0x45/0xd0 mm/kasan/common.c:75 set_track mm/kasan/common.c:87 [inline] __kasan_slab_free+0x102/0x150 mm/kasan/common.c:459 kasan_slab_free+0xe/0x10 mm/kasan/common.c:467 __cache_free mm/slab.c:3498 [inline] kmem_cache_free+0x86/0x260 mm/slab.c:3764 kfree_skbmem net/core/skbuff.c:591 [inline] kfree_skbmem+0xc5/0x150 net/core/skbuff.c:585 __kfree_skb net/core/skbuff.c:648 [inline] kfree_skb net/core/skbuff.c:665 [inline] kfree_skb+0xf0/0x390 net/core/skbuff.c:659 ip6_mc_input+0x9ee/0xf30 net/ipv6/ip6_input.c:540 dst_input include/net/dst.h:439 [inline] ip6_rcv_finish+0x1e7/0x320 net/ipv6/ip6_input.c:76 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ipv6_rcv+0x10e/0x420 net/ipv6/ip6_input.c:272 __netif_receive_skb_one_core+0x115/0x1a0 net/core/dev.c:4981 __netif_receive_skb+0x2c/0x1c0 net/core/dev.c:5091 process_backlog+0x206/0x750 net/core/dev.c:5931 napi_poll net/core/dev.c:6354 [inline] net_rx_action+0x4fa/0x1070 net/core/dev.c:6420 __do_softirq+0x266/0x95a kernel/softirq.c:293 The buggy address belongs to the object at ffff88806a674080 which belongs to the cache skbuff_head_cache of size 224 The buggy address is located 36 bytes to the right of 224-byte region [ffff88806a674080, ffff88806a674160) The buggy address belongs to the page: page:ffffea0001a99d00 count:1 mapcount:0 mapping:ffff8880aa3abb00 index:0x0 flags: 0x1fffc0000000200(slab) raw: 01fffc0000000200 ffffea0002258008 ffffea00012cb548 ffff8880aa3abb00 raw: 0000000000000000 ffff88806a674080 000000010000000c 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88806a674080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88806a674100: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc >ffff88806a674180: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ^ ffff88806a674200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88806a674280: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================