net_ratelimit: 73 callbacks suppressed
==================================================================
BUG: KASAN: slab-out-of-bounds in hex_dump_to_buffer+0x3b2/0xd60 lib/hexdump.c:193
Read of size 1 at addr ffff88805e951200 by task syz.0.865/7005
CPU: 0 PID: 7005 Comm: syz.0.865 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Call Trace:
dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
print_address_description+0x60/0x2d0 mm/kasan/report.c:248
__kasan_report mm/kasan/report.c:434 [inline]
kasan_report+0xdf/0x130 mm/kasan/report.c:451
hex_dump_to_buffer+0x3b2/0xd60 lib/hexdump.c:193
print_hex_dump+0x168/0x2b0 lib/hexdump.c:276
pn533_recv_frame+0x593/0x5f0 drivers/nfc/pn533/pn533.c:2206
__usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1674
dummy_timer+0xa47/0x34a0 drivers/usb/gadget/udc/dummy_hcd.c:2012
call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
expire_timers kernel/time/timer.c:1699 [inline]
__run_timers+0x56c/0x810 kernel/time/timer.c:1970
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
handle_softirqs+0x336/0x830 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:free_unref_page_list+0x7ad/0x830 mm/page_alloc.c:3479
Code: 24 80 00 00 00 f7 84 24 80 00 00 00 00 02 00 00 42 c6 44 28 08 f8 75 53 f7 c3 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <48> 8b 44 24 08 4a c7 04 28 00 00 00 00 4a c7 44 28 08 00 00 00 00
RSP: 0018:ffffc900035cf1e0 EFLAGS: 00000206
RAX: 1ffff920006b9e44 RBX: 0000000000000246 RCX: bbd4fc83a7d2bf00
RDX: dffffc0000000000 RSI: ffffffff8a2b2b60 RDI: ffffffff8a7a4b40
RBP: ffffc900035cf310 R08: ffffffff8e6b282f R09: 1ffffffff1cd6505
R10: dffffc0000000000 R11: fffffbfff1cd6506 R12: ffffc900035cf3a0
R13: dffffc0000000000 R14: ffffffff8be44820 R15: ffffc900035cf3a0
release_pages+0x185f/0x1bd0 mm/swap.c:963
__pagevec_release+0x6d/0xe0 mm/swap.c:983
pagevec_release include/linux/pagevec.h:81 [inline]
shmem_undo_range+0x5cd/0x19a0 mm/shmem.c:964
shmem_truncate_range mm/shmem.c:1063 [inline]
shmem_evict_inode+0x1e2/0x9a0 mm/shmem.c:1145
evict+0x4b6/0x8b0 fs/inode.c:647
__dentry_kill+0x412/0x630 fs/dcache.c:586
dentry_kill+0xb8/0x290 fs/dcache.c:-1
dput+0xd8/0x1a0 fs/dcache.c:893
__fput+0x5a5/0x8c0 fs/file_table.c:319
task_work_run+0x125/0x1a0 kernel/task_work.c:188
exit_task_work include/linux/task_work.h:33 [inline]
do_exit+0x635/0x2110 kernel/exit.c:890
do_group_exit+0x12c/0x2f0 kernel/exit.c:1004
get_signal+0x7eb/0x12e0 kernel/signal.c:2913
arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:157 [inline]
exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:217
irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:323
exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1499
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
RIP: 0033:0x7f053cf38cb7
Code: Unable to access opcode bytes at RIP 0x7f053cf38c8d.
RSP: 002b:00007f053b2bc0e0 EFLAGS: 00010202
RAX: 0000000000000000 RBX: 000000000000000b RCX: 000000006d3ff946
RDX: 00007f053b2bc100 RSI: 00007f053b2bc230 RDI: 000000000000000b
RBP: 000000007da48c6d R08: dbce39d105fdbf88 R09: ae9ea378b9c9fbc7
R10: 33740f3b8630618c R11: 2450ade207355af5 R12: 0a61688f027fb1a4
R13: 339c71c774e61334 R14: 28baed4a0483d193 R15: 7c1f9cf2b758efdc
Allocated by task 7005:
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
____kasan_kmalloc mm/kasan/common.c:513 [inline]
__kasan_kmalloc+0xaf/0xe0 mm/kasan/common.c:522
kmalloc_reserve net/core/skbuff.c:356 [inline]
__alloc_skb+0x22c/0x750 net/core/skbuff.c:427
alloc_skb include/linux/skbuff.h:1162 [inline]
pn533_recv_response+0xbc/0x230 drivers/nfc/pn533/usb.c:65
__usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1674
dummy_timer+0xa47/0x34a0 drivers/usb/gadget/udc/dummy_hcd.c:2012
call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
expire_timers kernel/time/timer.c:1699 [inline]
__run_timers+0x56c/0x810 kernel/time/timer.c:1970
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
handle_softirqs+0x336/0x830 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
The buggy address belongs to the object at ffff88805e951000
which belongs to the cache kmalloc-512 of size 512
The buggy address is located 0 bytes to the right of
512-byte region [ffff88805e951000, ffff88805e951200)
The buggy address belongs to the page:
page:ffffea00017a5400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5e950
head:ffffea00017a5400 order:2 compound_mapcount:0 compound_pincount:0
flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000010200 0000000000000000 0000000100000001 ffff888017841c80
raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4306, ts 84882401966, free_ts 84866258470
prep_new_page mm/page_alloc.c:2426 [inline]
get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192
__alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501
alloc_slab_page mm/slub.c:1780 [inline]
allocate_slab mm/slub.c:1917 [inline]
new_slab+0xc0/0x4b0 mm/slub.c:1980
___slab_alloc+0x807/0xdd0 mm/slub.c:3013
__slab_alloc mm/slub.c:3100 [inline]
slab_alloc_node mm/slub.c:3191 [inline]
slab_alloc mm/slub.c:3233 [inline]
kmem_cache_alloc_trace+0xf9/0x290 mm/slub.c:3250
kmalloc include/linux/slab.h:607 [inline]
kzalloc include/linux/slab.h:738 [inline]
kernfs_fop_open+0x3c9/0xba0 fs/kernfs/file.c:628
do_dentry_open+0x7f7/0xf90 fs/open.c:826
do_open fs/namei.c:3659 [inline]
path_openat+0x2718/0x2fb0 fs/namei.c:3793
do_filp_open+0x1df/0x400 fs/namei.c:3820
do_sys_openat2+0x14b/0x500 fs/open.c:1255
do_sys_open fs/open.c:1271 [inline]
__do_sys_openat fs/open.c:1287 [inline]
__se_sys_openat fs/open.c:1282 [inline]
__x64_sys_openat+0x135/0x160 fs/open.c:1282
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1340 [inline]
free_pcp_prepare mm/page_alloc.c:1391 [inline]
free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317
free_unref_page+0x8f/0x2a0 mm/page_alloc.c:3396
stack_depot_save+0x42f/0x460 lib/stackdepot.c:335
kasan_save_stack mm/kasan/common.c:40 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
____kasan_kmalloc mm/kasan/common.c:513 [inline]
__kasan_kmalloc+0xc6/0xe0 mm/kasan/common.c:522
kmalloc_reserve net/core/skbuff.c:356 [inline]
__alloc_skb+0x22c/0x750 net/core/skbuff.c:427
alloc_skb include/linux/skbuff.h:1162 [inline]
alloc_uevent_skb+0x7d/0x230 lib/kobject_uevent.c:290
uevent_net_broadcast_untagged lib/kobject_uevent.c:326 [inline]
kobject_uevent_net_broadcast+0x2e6/0x530 lib/kobject_uevent.c:409
kobject_uevent_env+0x550/0x890 lib/kobject_uevent.c:608
device_add+0xac2/0x1050 drivers/base/core.c:3393
device_create_groups_vargs drivers/base/core.c:4123 [inline]
device_create+0x266/0x300 drivers/base/core.c:4165
mac80211_hwsim_new_radio+0x2e3/0x4050 drivers/net/wireless/mac80211_hwsim.c:3088
hwsim_new_radio_nl+0xa7d/0xc50 drivers/net/wireless/mac80211_hwsim.c:3949
genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
genl_rcv_msg+0xd0b/0xfa0 net/netlink/genetlink.c:792
netlink_rcv_skb+0x1e9/0x430 net/netlink/af_netlink.c:2519
genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline]
netlink_unicast+0x78f/0x940 net/netlink/af_netlink.c:1340
Memory state around the buggy address:
ffff88805e951100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88805e951180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88805e951200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff88805e951280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff88805e951300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
----------------
Code disassembly (best guess):
0: 24 80 and $0x80,%al
2: 00 00 add %al,(%rax)
4: 00 f7 add %dh,%bh
6: 84 24 80 test %ah,(%rax,%rax,4)
9: 00 00 add %al,(%rax)
b: 00 00 add %al,(%rax)
d: 02 00 add (%rax),%al
f: 00 42 c6 add %al,-0x3a(%rdx)
12: 44 28 08 sub %r9b,(%rax)
15: f8 clc
16: 75 53 jne 0x6b
18: f7 c3 00 02 00 00 test $0x200,%ebx
1e: 74 01 je 0x21
20: fb sti
21: 48 c7 44 24 40 0e 36 movq $0x45e0360e,0x40(%rsp)
28: e0 45
* 2a: 48 8b 44 24 08 mov 0x8(%rsp),%rax <-- trapping instruction
2f: 4a c7 04 28 00 00 00 movq $0x0,(%rax,%r13,1)
36: 00
37: 4a c7 44 28 08 00 00 movq $0x0,0x8(%rax,%r13,1)
3e: 00 00