==================================================================
BUG: KASAN: slab-out-of-bounds in hex_dump_to_buffer+0x3b2/0xd60 lib/hexdump.c:193
Read of size 1 at addr ffff88805ecec200 by task swapper/1/0
CPU: 1 PID: 0 Comm: swapper/1 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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+0xa44/0x3570 drivers/usb/gadget/udc/dummy_hcd.c:2016
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:default_idle+0xb/0x10 arch/x86/kernel/process.c:730
Code: b7 48 89 df e8 46 92 eb f7 eb ad e8 6f a7 f6 ff 00 00 cc cc 00 00 cc cc 00 00 cc cc 00 00 cc 66 90 0f 00 2d 27 ea 52 00 fb f4 0f 1f 40 00 41 57 41 56 53 49 be 00 00 00 00 00 fc ff df 65 48
RSP: 0018:ffffc90000d67d48 EFLAGS: 000002c2
RAX: 9528c1020c3e9d00 RBX: ffff88813fe28000 RCX: 9528c1020c3e9d00
RDX: 0000000000000001 RSI: ffffffff8a2b2b60 RDI: ffffffff8a7a5100
RBP: ffffc90000d67e80 R08: ffff8880b8f3b30b R09: 1ffff110171e7661
R10: dffffc0000000000 R11: ffffed10171e7662 R12: 1ffff920001acfb4
R13: dffffc0000000000 R14: 1ffff11027fc5000 R15: 0000000000000000
default_idle_call+0x81/0xc0 kernel/sched/idle.c:112
cpuidle_idle_call kernel/sched/idle.c:202 [inline]
do_idle+0x3a1/0x650 kernel/sched/idle.c:326
cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:424
start_secondary+0x32f/0x430 arch/x86/kernel/smpboot.c:281
secondary_startup_64_no_verify+0xb1/0xbb
Allocated by task 0:
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+0xa44/0x3570 drivers/usb/gadget/udc/dummy_hcd.c:2016
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 ffff88805ecec000
which belongs to the cache kmalloc-512 of size 512
The buggy address is located 0 bytes to the right of
512-byte region [ffff88805ecec000, ffff88805ecec200)
The buggy address belongs to the page:
page:ffffea00017b3b00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5ecec
head:ffffea00017b3b00 order:2 compound_mapcount:0 compound_pincount:0
flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000010200 dead000000000100 dead000000000122 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 0xd28c0(GFP_NOWAIT|__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4202, ts 56240046328, free_ts 19057268180
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]
__kmalloc_node_track_caller+0x13d/0x3a0 mm/slub.c:4963
kmalloc_reserve net/core/skbuff.c:356 [inline]
pskb_expand_head+0x128/0x1100 net/core/skbuff.c:1714
netlink_trim+0x180/0x220 net/netlink/af_netlink.c:1295
netlink_broadcast_filtered+0x69/0x1240 net/netlink/af_netlink.c:1520
netlink_broadcast net/netlink/af_netlink.c:1565 [inline]
nlmsg_multicast include/net/netlink.h:1044 [inline]
nlmsg_notify+0xdf/0x190 net/netlink/af_netlink.c:2570
fib_table_insert+0xd24/0x1b80 net/ipv4/fib_trie.c:1377
fib_magic+0x2ca/0x3b0 net/ipv4/fib_frontend.c:1113
fib_add_ifaddr+0x135/0x5c0 net/ipv4/fib_frontend.c:1135
fib_inetaddr_event+0x13c/0x1c0 net/ipv4/fib_frontend.c:1449
notifier_call_chain kernel/notifier.c:83 [inline]
blocking_notifier_call_chain+0x103/0x1b0 kernel/notifier.c:318
__inet_insert_ifa+0x9ea/0xbd0 net/ipv4/devinet.c:567
inet_rtm_newaddr+0x9cc/0x18c0 net/ipv4/devinet.c:966
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
free_contig_range+0x96/0xf0 mm/page_alloc.c:9428
destroy_args+0xef/0xa00 mm/debug_vm_pgtable.c:1018
debug_vm_pgtable+0x321/0x380 mm/debug_vm_pgtable.c:1336
do_one_initcall+0x272/0x730 init/main.c:1276
do_initcall_level+0x13d/0x1f0 init/main.c:1349
do_initcalls+0x4b/0x90 init/main.c:1365
kernel_init_freeable+0x3d5/0x560 init/main.c:1589
kernel_init+0x19/0x1b0 init/main.c:1480
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Memory state around the buggy address:
ffff88805ecec100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88805ecec180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88805ecec200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff88805ecec280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff88805ecec300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
----------------
Code disassembly (best guess):
0: b7 48 mov $0x48,%bh
2: 89 df mov %ebx,%edi
4: e8 46 92 eb f7 call 0xf7eb924f
9: eb ad jmp 0xffffffb8
b: e8 6f a7 f6 ff call 0xfff6a77f
10: 00 00 add %al,(%rax)
12: cc int3
13: cc int3
14: 00 00 add %al,(%rax)
16: cc int3
17: cc int3
18: 00 00 add %al,(%rax)
1a: cc int3
1b: cc int3
1c: 00 00 add %al,(%rax)
1e: cc int3
1f: 66 90 xchg %ax,%ax
21: 0f 00 2d 27 ea 52 00 verw 0x52ea27(%rip) # 0x52ea4f
28: fb sti
29: f4 hlt
* 2a: c3 ret <-- trapping instruction
2b: 0f 1f 40 00 nopl 0x0(%rax)
2f: 41 57 push %r15
31: 41 56 push %r14
33: 53 push %rbx
34: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14
3b: fc ff df
3e: 65 gs
3f: 48 rex.W