PN533 RX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
PN533 RX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
PN533 RX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
PN533 RX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================
BUG: KASAN: slab-out-of-bounds in hex_dump_to_buffer+0x36c/0xd70 lib/hexdump.c:194
Read of size 1 at addr ffff8880727d2340 by task swapper/1/0
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
print_address_description+0x55/0x1e0 mm/kasan/report.c:378
print_report+0x58/0x70 mm/kasan/report.c:482
kasan_report+0x117/0x150 mm/kasan/report.c:595
hex_dump_to_buffer+0x36c/0xd70 lib/hexdump.c:194
print_hex_dump+0x16b/0x2b0 lib/hexdump.c:277
pn533_recv_frame+0x5f6/0x6d0 drivers/nfc/pn533/pn533.c:2202
__usb_hcd_giveback_urb+0x378/0x540 drivers/usb/core/hcd.c:1659
dummy_timer+0xa9a/0x4ce0 drivers/usb/gadget/udc/dummy_hcd.c:2051
__run_hrtimer kernel/time/hrtimer.c:2109 [inline]
__hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2166
hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2183
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xce/0x250 kernel/softirq.c:794
irq_exit_rcu+0x9/0x30 kernel/softirq.c:817
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1073 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1073
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:64
Code: cb 9c 02 e9 03 1f 03 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d a3 3f 15 00 fb f4 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffc900001d7e40 EFLAGS: 00000246
RAX: 00000000000e0321 RBX: ffffffff819d0e10 RCX: 8000000000000001
RDX: 0000000000000001 RSI: ffffffff8ea2f033 RDI: ffffffff8cb03180
RBP: ffffc900001d7f10 R08: ffff8880b8333edb R09: 1ffff110170667db
R10: dffffc0000000000 R11: ffffed10170667dc R12: 0000000000000000
R13: 1ffff11004057000 R14: 1ffff9200003afd0 R15: dffffc0000000000
arch_safe_halt arch/x86/kernel/process.c:767 [inline]
default_idle+0x9/0x20 arch/x86/kernel/process.c:768
default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
cpuidle_idle_call kernel/sched/idle.c:199 [inline]
do_idle+0x2e0/0x540 kernel/sched/idle.c:355
cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:458
start_secondary+0x101/0x110 arch/x86/kernel/smpboot.c:312
common_startup_64+0x13e/0x157
Allocated by task 0:
kasan_save_stack mm/kasan/common.c:57 [inline]
kasan_save_track+0x3f/0x90 mm/kasan/common.c:79
unpoison_slab_object mm/kasan/common.c:354 [inline]
__kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:380
kasan_slab_alloc include/linux/kasan.h:257 [inline]
slab_post_alloc_hook mm/slub.c:4757 [inline]
slab_alloc_node mm/slub.c:5071 [inline]
kmem_cache_alloc_node_noprof+0x353/0x620 mm/slub.c:5143
kmalloc_reserve+0x139/0x260 net/core/skbuff.c:628
__alloc_skb+0x219/0x680 net/core/skbuff.c:737
alloc_skb include/linux/skbuff.h:1398 [inline]
pn533_recv_response+0xc4/0x230 drivers/nfc/pn533/usb.c:65
__usb_hcd_giveback_urb+0x378/0x540 drivers/usb/core/hcd.c:1659
dummy_timer+0xa9a/0x4ce0 drivers/usb/gadget/udc/dummy_hcd.c:2051
__run_hrtimer kernel/time/hrtimer.c:2109 [inline]
__hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2166
hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2183
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xce/0x250 kernel/softirq.c:794
irq_exit_rcu+0x9/0x30 kernel/softirq.c:817
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1073 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1073
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
The buggy address belongs to the object at ffff8880727d2080
which belongs to the cache skbuff_small_head of size 704
The buggy address is located 0 bytes to the right of
allocated 704-byte region [ffff8880727d2080, ffff8880727d2340)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x727d0
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff8880216d4c80 dead000000000100 dead000000000122
raw: 0000000000000000 0000000200130013 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff8880216d4c80 dead000000000100 dead000000000122
head: 0000000000000000 0000000200130013 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffffffffffff01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5008, tgid 5008 (udevd), ts 111664681700
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1872
prep_new_page+0x22/0xb0 mm/page_alloc.c:1880
get_page_from_freelist+0x2487/0x24f0 mm/page_alloc.c:3970
__alloc_frozen_pages_noprof+0x211/0x450 mm/page_alloc.c:5512
alloc_slab_page mm/slub.c:3423 [inline]
allocate_slab+0x7d/0x5e0 mm/slub.c:3538
new_slab mm/slub.c:3589 [inline]
refill_objects+0x2d5/0x350 mm/slub.c:7578
refill_sheaf mm/slub.c:2953 [inline]
__pcs_replace_empty_main+0x2c8/0x6c0 mm/slub.c:4849
alloc_from_pcs mm/slub.c:4925 [inline]
slab_alloc_node mm/slub.c:5059 [inline]
kmem_cache_alloc_node_noprof+0x43d/0x620 mm/slub.c:5143
kmalloc_reserve+0x139/0x260 net/core/skbuff.c:628
__alloc_skb+0x219/0x680 net/core/skbuff.c:737
skb_copy+0x19d/0x880 net/core/skbuff.c:2280
mac80211_hwsim_tx_frame_no_nl+0x1047/0x1820 drivers/net/wireless/virtual/mac80211_hwsim_main.c:2027
mac80211_hwsim_tx_frame+0x199/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim_main.c:2440
mac80211_hwsim_beacon_tx+0x396/0x820 drivers/net/wireless/virtual/mac80211_hwsim_main.c:2516
__iterate_interfaces+0x2af/0x5a0 net/mac80211/util.c:774
ieee80211_iterate_active_interfaces_atomic+0xdb/0x180 net/mac80211/util.c:810
page last free pid 6058 tgid 6058 ts 111564613752 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1414 [inline]
__free_frozen_pages+0xd1a/0xe10 mm/page_alloc.c:2970
__slab_free+0x269/0x2c0 mm/slub.c:5964
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:364
kasan_slab_alloc include/linux/kasan.h:257 [inline]
slab_post_alloc_hook mm/slub.c:4757 [inline]
slab_alloc_node mm/slub.c:5071 [inline]
kmem_cache_alloc_noprof+0x2b4/0x600 mm/slub.c:5085
ptlock_alloc+0x20/0x70 mm/memory.c:7898
ptlock_init include/linux/mm.h:4080 [inline]
pagetable_pte_ctor include/linux/mm.h:4143 [inline]
__pte_alloc_one_noprof include/asm-generic/pgalloc.h:83 [inline]
pte_alloc_one+0x7a/0x2a0 arch/x86/mm/pgtable.c:18
__do_fault+0xd2/0x410 mm/memory.c:5712
do_shared_fault mm/memory.c:6257 [inline]
do_fault mm/memory.c:6331 [inline]
do_pte_missing+0x612/0x34d0 mm/memory.c:4803
handle_pte_fault mm/memory.c:6746 [inline]
__handle_mm_fault mm/memory.c:6898 [inline]
handle_mm_fault+0x1807/0x2f80 mm/memory.c:7065
do_user_addr_fault+0xb35/0x1480 arch/x86/mm/fault.c:1343
handle_page_fault arch/x86/mm/fault.c:1483 [inline]
exc_page_fault+0x6a/0xc0 arch/x86/mm/fault.c:1536
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595
Memory state around the buggy address:
ffff8880727d2200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff8880727d2280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff8880727d2300: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
^
ffff8880727d2380: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
ffff8880727d2400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
0: cb lret
1: 9c pushf
2: 02 e9 add %cl,%ch
4: 03 1f add (%rdi),%ebx
6: 03 00 add (%rax),%eax
8: cc int3
9: cc int3
a: cc int3
b: 90 nop
c: 90 nop
d: 90 nop
e: 90 nop
f: 90 nop
10: 90 nop
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
16: 90 nop
17: 90 nop
18: 90 nop
19: 90 nop
1a: 90 nop
1b: f3 0f 1e fa endbr64
1f: 66 90 xchg %ax,%ax
21: 0f 00 2d a3 3f 15 00 verw 0x153fa3(%rip) # 0x153fcb
28: fb sti
29: f4 hlt
* 2a: c3 ret <-- trapping instruction
2b: cc int3
2c: cc int3
2d: cc int3
2e: cc int3
2f: cc int3
30: cc int3
31: cc int3
32: cc int3
33: cc int3
34: cc int3
35: cc int3
36: cc int3
37: cc int3
38: cc int3
39: cc int3
3a: cc int3
3b: 90 nop
3c: 90 nop
3d: 90 nop
3e: 90 nop
3f: 90 nop