ci2 starts bisection 2023-11-12 13:30:23.583764388 +0000 UTC m=+96783.360145067
bisecting fixing commit since ea586874d2f9e501ef84b7e55036fc8965397d5d
building syzkaller on 0b6a67ac4b0dc26f43030c5edd01c9175f13b784
ensuring issue is reproducible on original commit ea586874d2f9e501ef84b7e55036fc8965397d5d
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 2c67998b1c1130b38c7cc7d649cd9511a8dfdade3c1f06420dd01e48adf42111
all runs: crashed: KASAN: use-after-free Read in consume_skb
representative crash: KASAN: use-after-free Read in consume_skb, types: [KASAN]
check whether we can drop unnecessary instrumentation
disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: c5ee16cc7b5e2e47f27105119d1e310c020201081dc58f7ed1204bac9a6fa3f6
all runs: crashed: KASAN: use-after-free Read in consume_skb
representative crash: KASAN: use-after-free Read in consume_skb, types: [KASAN]
the bug reproduces without the instrumentation
disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed
kconfig minimization: base=4920 full=6163 leaves diff=241
split chunks (needed=false): <241>
split chunk #0 of len 241 into 5 parts
testing without sub-chunk 1/5
disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 1b5662a7b5dfaf764a79e9131241addf369dd769df890f21bba354c1aa6e9ea5
all runs: crashed: KASAN: use-after-free Read in consume_skb
representative crash: KASAN: use-after-free Read in consume_skb, types: [KASAN]
the chunk can be dropped
testing without sub-chunk 2/5
disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: c9885f8dbb3ebb357e3b5ee4adb1b71a5016eef61ee80299e2fb6dff1b0631fa
all runs: crashed: KASAN: use-after-free Read in consume_skb
representative crash: KASAN: use-after-free Read in consume_skb, types: [KASAN]
the chunk can be dropped
testing without sub-chunk 3/5
disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 01532d59f155a3560278b052090749effd863a9d5afce6984c2d85d957be5dc0
all runs: crashed: KASAN: use-after-free Read in consume_skb
representative crash: KASAN: use-after-free Read in consume_skb, types: [KASAN]
the chunk can be dropped
testing without sub-chunk 4/5
disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: b4024802bb39ec0ecd1b4a3980d0b3a25be7ba2a51bacbe1473c6e313f061088
all runs: crashed: KASAN: use-after-free Read in consume_skb
representative crash: KASAN: use-after-free Read in consume_skb, types: [KASAN]
the chunk can be dropped
testing without sub-chunk 5/5
disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed
testing commit ea586874d2f9e501ef84b7e55036fc8965397d5d gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
failed building ea586874d2f9e501ef84b7e55036fc8965397d5d: net/socket.c:1172: undefined reference to `wext_handle_ioctl'
net/socket.c:3366: undefined reference to `compat_wext_handle_ioctl'
net/core/net-procfs.c:343: undefined reference to `wext_proc_exit'
net/core/net-procfs.c:327: undefined reference to `wext_proc_init'
minimized to 45 configs; suspects: [HID_ZEROPLUS USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD USB_OHCI_HCD_PCI USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_PRINTER USB_SERIAL USB_SERIAL_FTDI_SIO USB_SERIAL_GENERIC USB_SERIAL_PL2303 USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_TRANCEVIBRATOR USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_WDM WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_ZYDAS X86_X32 ZEROPLUS_FF]
disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed
testing current HEAD 61cfd264993d07540f60a5c53d77a14c818e54a9
testing commit 61cfd264993d07540f60a5c53d77a14c818e54a9 gcc
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: b0aeecd3e5839adf2020110b12ce8ff121095fabe27cc8ea864fd6a5c50fdd5b
all runs: crashed: KASAN: use-after-free Read in consume_skb
representative crash: KASAN: use-after-free Read in consume_skb, types: [KASAN]
crash still not fixed/happens on the oldest tested release
revisions tested: 7, total time: 38m9.486465743s (build: 16m9.037874328s, test: 20m3.859158897s)
crash still not fixed or there were kernel test errors
commit msg: Revert "ipv4/fib: send notify when delete source address routes"
crash: KASAN: use-after-free Read in consume_skb
==================================================================
BUG: KASAN: use-after-free in instrument_atomic_read include/linux/instrumented.h:71 [inline]
BUG: KASAN: use-after-free in atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline]
BUG: KASAN: use-after-free in refcount_read include/linux/refcount.h:147 [inline]
BUG: KASAN: use-after-free in skb_unref include/linux/skbuff.h:1131 [inline]
BUG: KASAN: use-after-free in consume_skb+0x28/0x1d0 net/core/skbuff.c:926
Read of size 4 at addr ffff888121845ae4 by task syz-executor.0/360
CPU: 0 PID: 360 Comm: syz-executor.0 Not tainted 5.15.137-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106
print_address_description.constprop.0+0x24/0x160 mm/kasan/report.c:248
__kasan_report mm/kasan/report.c:427 [inline]
kasan_report.cold+0x82/0xdb mm/kasan/report.c:444
check_region_inline mm/kasan/generic.c:183 [inline]
kasan_check_range+0x148/0x190 mm/kasan/generic.c:189
__kasan_check_read+0x11/0x20 mm/kasan/shadow.c:31
instrument_atomic_read include/linux/instrumented.h:71 [inline]
atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline]
refcount_read include/linux/refcount.h:147 [inline]
skb_unref include/linux/skbuff.h:1131 [inline]
consume_skb+0x28/0x1d0 net/core/skbuff.c:926
__sk_msg_free+0x267/0x4e0 net/core/skmsg.c:205
sk_msg_free net/core/skmsg.c:218 [inline]
__sk_psock_purge_ingress_msg net/core/skmsg.c:768 [inline]
__sk_psock_zap_ingress net/core/skmsg.c:786 [inline]
sk_psock_stop+0x3e4/0x600 net/core/skmsg.c:804
sock_map_close+0x253/0x310 net/core/sock_map.c:1548
unix_release+0x73/0xe0 net/unix/af_unix.c:949
__sock_release+0xc2/0x270 net/socket.c:649
sock_close+0x10/0x20 net/socket.c:1334
__fput+0x317/0x960 fs/file_table.c:280
____fput+0x9/0x10 fs/file_table.c:308
task_work_run+0xc2/0x150 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x140/0x150 kernel/entry/common.c:208
__syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fef516329da
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24
RSP: 002b:00007ffef5871750 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fef516329da
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fef51754980 R08: 0000001b31e60000 R09: 00007ffef58cc080
R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000a005
R13: ffffffffffffffff R14: 00007fef511b7000 R15: 0000000000009cc4
Allocated by task 362:
kasan_save_stack+0x26/0x50 mm/kasan/common.c:38
kasan_set_track mm/kasan/common.c:45 [inline]
set_alloc_info mm/kasan/common.c:433 [inline]
__kasan_slab_alloc+0x94/0xc0 mm/kasan/common.c:466
kasan_slab_alloc include/linux/kasan.h:217 [inline]
slab_post_alloc_hook mm/slab.h:550 [inline]
slab_alloc_node mm/slub.c:3240 [inline]
slab_alloc mm/slub.c:3248 [inline]
kmem_cache_alloc+0x197/0x480 mm/slub.c:3253
skb_clone+0x131/0x310 net/core/skbuff.c:1547
sk_psock_verdict_recv+0x4a/0x9e0 net/core/skmsg.c:1182
unix_read_sock+0xd8/0x200 net/unix/af_unix.c:2433
sk_psock_verdict_data_ready+0x104/0x170 net/core/skmsg.c:1225
unix_dgram_sendmsg+0xc13/0x16d0 net/unix/af_unix.c:1949
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg+0xb5/0xf0 net/socket.c:716
____sys_sendmsg+0x3f3/0x990 net/socket.c:2429
___sys_sendmsg+0xfc/0x190 net/socket.c:2483
__sys_sendmmsg+0x160/0x340 net/socket.c:2569
__do_sys_sendmmsg net/socket.c:2598 [inline]
__se_sys_sendmmsg net/socket.c:2595 [inline]
__x64_sys_sendmmsg+0x98/0xf0 net/socket.c:2595
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
Freed by task 38:
kasan_save_stack+0x26/0x50 mm/kasan/common.c:38
kasan_set_track+0x25/0x30 mm/kasan/common.c:45
kasan_set_free_info+0x24/0x40 mm/kasan/generic.c:370
____kasan_slab_free mm/kasan/common.c:365 [inline]
____kasan_slab_free mm/kasan/common.c:327 [inline]
__kasan_slab_free+0x111/0x150 mm/kasan/common.c:373
kasan_slab_free include/linux/kasan.h:193 [inline]
slab_free_hook mm/slub.c:1723 [inline]
slab_free_freelist_hook+0x94/0x1a0 mm/slub.c:1749
slab_free mm/slub.c:3519 [inline]
kmem_cache_free+0x105/0x250 mm/slub.c:3535
kfree_skbmem+0x95/0x140 net/core/skbuff.c:701
__kfree_skb net/core/skbuff.c:758 [inline]
kfree_skb_reason net/core/skbuff.c:778 [inline]
kfree_skb_reason+0xbb/0x2b0 net/core/skbuff.c:771
kfree_skb+0xb/0x10 net/core/skbuff.c:792
sock_drop include/linux/skmsg.h:312 [inline]
sk_psock_backlog+0x694/0xd00 net/core/skmsg.c:681
process_one_work+0x62c/0xec0 kernel/workqueue.c:2317
worker_thread+0x48e/0xdb0 kernel/workqueue.c:2464
kthread+0x324/0x3e0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
The buggy address belongs to the object at ffff888121845a00
which belongs to the cache skbuff_head_cache of size 240
The buggy address is located 228 bytes inside of
240-byte region [ffff888121845a00, ffff888121845af0)
The buggy address belongs to the page:
page:ffffea0004861140 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x121845
flags: 0x4000000000000200(slab|zone=1)
raw: 4000000000000200 0000000000000000 dead000000000122 ffff888107f89080
raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112cc0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY), pid 306, ts 40158859914, free_ts 0
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook mm/page_alloc.c:2602 [inline]
prep_new_page+0x1a2/0x310 mm/page_alloc.c:2608
get_page_from_freelist+0x1ce2/0x30a0 mm/page_alloc.c:4482
__alloc_pages+0x217/0x2330 mm/page_alloc.c:5773
__alloc_pages_node include/linux/gfp.h:591 [inline]
alloc_pages_node include/linux/gfp.h:605 [inline]
alloc_pages include/linux/gfp.h:618 [inline]
alloc_slab_page mm/slub.c:1793 [inline]
allocate_slab+0x39d/0x530 mm/slub.c:1932
new_slab mm/slub.c:1995 [inline]
___slab_alloc.constprop.0+0x3ca/0x890 mm/slub.c:3028
__slab_alloc.constprop.0+0x42/0x80 mm/slub.c:3115
slab_alloc_node mm/slub.c:3206 [inline]
slab_alloc mm/slub.c:3248 [inline]
kmem_cache_alloc+0x440/0x480 mm/slub.c:3253
kmem_cache_alloc_node include/linux/slab.h:474 [inline]
__alloc_skb+0x14b/0x250 net/core/skbuff.c:416
alloc_skb include/linux/skbuff.h:1183 [inline]
alloc_skb_with_frags+0x76/0x4a0 net/core/skbuff.c:6156
sock_alloc_send_pskb+0x68b/0x840 net/core/sock.c:2518
sock_alloc_send_skb+0x13/0x20 net/core/sock.c:2535
mld_newpack.isra.0+0x1ae/0x8f0 net/ipv6/mcast.c:1748
add_grhead+0x265/0x350 net/ipv6/mcast.c:1851
add_grec+0xb4d/0xdf0 net/ipv6/mcast.c:1989
mld_send_cr net/ipv6/mcast.c:2115 [inline]
mld_ifc_work+0x43e/0xc10 net/ipv6/mcast.c:2653
process_one_work+0x62c/0xec0 kernel/workqueue.c:2317
page_owner free stack trace missing
Memory state around the buggy address:
ffff888121845980: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc
ffff888121845a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff888121845a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc
^
ffff888121845b00: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
ffff888121845b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
==================================================================
BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3519 [inline]
BUG: KASAN: double-free or invalid-free in kmem_cache_free+0x105/0x250 mm/slub.c:3535
CPU: 0 PID: 360 Comm: syz-executor.0 Tainted: G B 5.15.137-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106
print_address_description.constprop.0+0x24/0x160 mm/kasan/report.c:248
kasan_report_invalid_free+0x75/0xa0 mm/kasan/report.c:370
____kasan_slab_free mm/kasan/common.c:345 [inline]
__kasan_slab_free+0x134/0x150 mm/kasan/common.c:373
kasan_slab_free include/linux/kasan.h:193 [inline]
slab_free_hook mm/slub.c:1723 [inline]
slab_free_freelist_hook+0x94/0x1a0 mm/slub.c:1749
slab_free mm/slub.c:3519 [inline]
kmem_cache_free+0x105/0x250 mm/slub.c:3535
kfree_skbmem+0x95/0x140 net/core/skbuff.c:701
__kfree_skb net/core/skbuff.c:758 [inline]
consume_skb net/core/skbuff.c:930 [inline]
consume_skb+0xab/0x1d0 net/core/skbuff.c:924
__sk_msg_free+0x267/0x4e0 net/core/skmsg.c:205
sk_msg_free net/core/skmsg.c:218 [inline]
__sk_psock_purge_ingress_msg net/core/skmsg.c:768 [inline]
__sk_psock_zap_ingress net/core/skmsg.c:786 [inline]
sk_psock_stop+0x3e4/0x600 net/core/skmsg.c:804
sock_map_close+0x253/0x310 net/core/sock_map.c:1548
unix_release+0x73/0xe0 net/unix/af_unix.c:949
__sock_release+0xc2/0x270 net/socket.c:649
sock_close+0x10/0x20 net/socket.c:1334
__fput+0x317/0x960 fs/file_table.c:280
____fput+0x9/0x10 fs/file_table.c:308
task_work_run+0xc2/0x150 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x140/0x150 kernel/entry/common.c:208
__syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:301
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fef516329da
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24
RSP: 002b:00007ffef5871750 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fef516329da
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fef51754980 R08: 0000001b31e60000 R09: 00007ffef58cc080
R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000a005
R13: ffffffffffffffff R14: 00007fef511b7000 R15: 0000000000009cc4
Allocated by task 362:
kasan_save_stack+0x26/0x50 mm/kasan/common.c:38
kasan_set_track mm/kasan/common.c:45 [inline]
set_alloc_info mm/kasan/common.c:433 [inline]
__kasan_slab_alloc+0x94/0xc0 mm/kasan/common.c:466
kasan_slab_alloc include/linux/kasan.h:217 [inline]
slab_post_alloc_hook mm/slab.h:550 [inline]
slab_alloc_node mm/slub.c:3240 [inline]
slab_alloc mm/slub.c:3248 [inline]
kmem_cache_alloc+0x197/0x480 mm/slub.c:3253
skb_clone+0x131/0x310 net/core/skbuff.c:1547
sk_psock_verdict_recv+0x4a/0x9e0 net/core/skmsg.c:1182
unix_read_sock+0xd8/0x200 net/unix/af_unix.c:2433
sk_psock_verdict_data_ready+0x104/0x170 net/core/skmsg.c:1225
unix_dgram_sendmsg+0xc13/0x16d0 net/unix/af_unix.c:1949
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg+0xb5/0xf0 net/socket.c:716
____sys_sendmsg+0x3f3/0x990 net/socket.c:2429
___sys_sendmsg+0xfc/0x190 net/socket.c:2483
__sys_sendmmsg+0x160/0x340 net/socket.c:2569
__do_sys_sendmmsg net/socket.c:2598 [inline]
__se_sys_sendmmsg net/socket.c:2595 [inline]
__x64_sys_sendmmsg+0x98/0xf0 net/socket.c:2595
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
Freed by task 38:
kasan_save_stack+0x26/0x50 mm/kasan/common.c:38
kasan_set_track+0x25/0x30 mm/kasan/common.c:45
kasan_set_free_info+0x24/0x40 mm/kasan/generic.c:370
____kasan_slab_free mm/kasan/common.c:365 [inline]
____kasan_slab_free mm/kasan/common.c:327 [inline]
__kasan_slab_free+0x111/0x150 mm/kasan/common.c:373
kasan_slab_free include/linux/kasan.h:193 [inline]
slab_free_hook mm/slub.c:1723 [inline]
slab_free_freelist_hook+0x94/0x1a0 mm/slub.c:1749
slab_free mm/slub.c:3519 [inline]
kmem_cache_free+0x105/0x250 mm/slub.c:3535
kfree_skbmem+0x95/0x140 net/core/skbuff.c:701
__kfree_skb net/core/skbuff.c:758 [inline]
kfree_skb_reason net/core/skbuff.c:778 [inline]
kfree_skb_reason+0xbb/0x2b0 net/core/skbuff.c:771
kfree_skb+0xb/0x10 net/core/skbuff.c:792
sock_drop include/linux/skmsg.h:312 [inline]
sk_psock_backlog+0x694/0xd00 net/core/skmsg.c:681
process_one_work+0x62c/0xec0 kernel/workqueue.c:2317
worker_thread+0x48e/0xdb0 kernel/workqueue.c:2464
kthread+0x324/0x3e0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
The buggy address belongs to the object at ffff888121845a00
which belongs to the cache skbuff_head_cache of size 240
The buggy address is located 0 bytes inside of
240-byte region [ffff888121845a00, ffff888121845af0)
The buggy address belongs to the page:
page:ffffea0004861140 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x121845
flags: 0x4000000000000200(slab|zone=1)
raw: 4000000000000200 0000000000000000 dead000000000122 ffff888107f89080
raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112cc0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY), pid 306, ts 40158859914, free_ts 0
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook mm/page_alloc.c:2602 [inline]
prep_new_page+0x1a2/0x310 mm/page_alloc.c:2608
get_page_from_freelist+0x1ce2/0x30a0 mm/page_alloc.c:4482
__alloc_pages+0x217/0x2330 mm/page_alloc.c:5773
__alloc_pages_node include/linux/gfp.h:591 [inline]
alloc_pages_node include/linux/gfp.h:605 [inline]
alloc_pages include/linux/gfp.h:618 [inline]
alloc_slab_page mm/slub.c:1793 [inline]
allocate_slab+0x39d/0x530 mm/slub.c:1932
new_slab mm/slub.c:1995 [inline]
___slab_alloc.constprop.0+0x3ca/0x890 mm/slub.c:3028
__slab_alloc.constprop.0+0x42/0x80 mm/slub.c:3115
slab_alloc_node mm/slub.c:3206 [inline]
slab_alloc mm/slub.c:3248 [inline]
kmem_cache_alloc+0x440/0x480 mm/slub.c:3253
kmem_cache_alloc_node include/linux/slab.h:474 [inline]
__alloc_skb+0x14b/0x250 net/core/skbuff.c:416
alloc_skb include/linux/skbuff.h:1183 [inline]
alloc_skb_with_frags+0x76/0x4a0 net/core/skbuff.c:6156
sock_alloc_send_pskb+0x68b/0x840 net/core/sock.c:2518
sock_alloc_send_skb+0x13/0x20 net/core/sock.c:2535
mld_newpack.isra.0+0x1ae/0x8f0 net/ipv6/mcast.c:1748
add_grhead+0x265/0x350 net/ipv6/mcast.c:1851
add_grec+0xb4d/0xdf0 net/ipv6/mcast.c:1989
mld_send_cr net/ipv6/mcast.c:2115 [inline]
mld_ifc_work+0x43e/0xc10 net/ipv6/mcast.c:2653
process_one_work+0x62c/0xec0 kernel/workqueue.c:2317
page_owner free stack trace missing
Memory state around the buggy address:
ffff888121845900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888121845980: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc
>ffff888121845a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888121845a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc
ffff888121845b00: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
==================================================================