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+0xbc4/0xc60 lib/hexdump.c:194
Read of size 1 at addr ffff888036d44c80 by task syz.1.2247/15388
CPU: 0 UID: 0 PID: 15388 Comm: syz.1.2247 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
hex_dump_to_buffer+0xbc4/0xc60 lib/hexdump.c:194
print_hex_dump+0x14a/0x1f0 lib/hexdump.c:277
pn533_recv_frame+0x48e/0x6d0 drivers/nfc/pn533/pn533.c:2202
__usb_hcd_giveback_urb+0x38e/0x610 drivers/usb/core/hcd.c:1657
usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741
dummy_timer+0xdaf/0x3820 drivers/usb/gadget/udc/dummy_hcd.c:2023
__run_hrtimer kernel/time/hrtimer.c:2074 [inline]
__hrtimer_run_queues+0x462/0x9c0 kernel/time/hrtimer.c:2131
hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2148
handle_softirqs+0x1e6/0x9d0 kernel/softirq.c:645
__do_softirq kernel/softirq.c:679 [inline]
invoke_softirq kernel/softirq.c:519 [inline]
__irq_exit_rcu+0x16a/0x210 kernel/softirq.c:758
irq_exit_rcu+0x9/0x30 kernel/softirq.c:775
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:xa_entry include/linux/xarray.h:1226 [inline]
RIP: 0010:xas_descend lib/xarray.c:208 [inline]
RIP: 0010:xas_load+0x38d/0x5c0 lib/xarray.c:246
Code: ff ff e8 b6 f6 39 f6 49 8d 7e 18 be ff ff ff ff e8 88 10 02 00 31 ff 41 89 c6 89 c6 e8 0c f1 39 f6 45 85 f6 0f 85 0a fe ff ff 8e f6 39 f6 e8 09 bf 1c f6 31 ff 41 89 c6 89 c6 e8 ed f0 39 f6
RSP: 0018:ffffc90003726ba0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff888068fd4dc2 RCX: ffffffff8bd25ff4
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88805ed94b00
RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffffc90003726c00
R13: ffff888068e4a3c0 R14: 0000000000000000 R15: 0000000000000001
filemap_get_entry+0x115/0x450 mm/filemap.c:1907
shmem_get_folio_gfp+0x5ab/0x1980 mm/shmem.c:2455
shmem_get_folio mm/shmem.c:2637 [inline]
shmem_write_begin+0x1a4/0x420 mm/shmem.c:3268
generic_perform_write+0x292/0xa40 mm/filemap.c:4374
shmem_file_write_iter+0x10e/0x140 mm/shmem.c:3443
__kernel_write_iter+0x2ac/0x930 fs/read_write.c:621
dump_emit_page fs/coredump.c:1293 [inline]
dump_user_range+0x3f9/0xad0 fs/coredump.c:1367
elf_core_dump+0x2d68/0x3d20 fs/binfmt_elf.c:2106
coredump_write fs/coredump.c:1047 [inline]
do_coredump fs/coredump.c:1126 [inline]
vfs_coredump+0x281a/0x54a0 fs/coredump.c:1195
get_signal+0x1f2a/0x21e0 kernel/signal.c:3097
arch_do_signal_or_restart+0x91/0x7e0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:66 [inline]
exit_to_user_mode_loop kernel/entry/common.c:101 [inline]
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
irqentry_exit_to_user_mode_prepare include/linux/irq-entry-common.h:244 [inline]
irqentry_exit_to_user_mode include/linux/irq-entry-common.h:315 [inline]
irqentry_exit+0x402/0xa10 kernel/entry/common.c:165
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595
RIP: 0033:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 002b:0000200000000048 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007fd944025fa0 RCX: 00007fd943d9e559
RDX: 0000000000000000 RSI: 0000200000000040 RDI: 0000000000020000
RBP: 00007fd943e358b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007fd944026038 R14: 00007fd944025fa0 R15: 00007ffd0f60ded8
Allocated by task 15388:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
unpoison_slab_object mm/kasan/common.c:351 [inline]
__kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:377
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4683 [inline]
slab_alloc_node mm/slub.c:4996 [inline]
kmem_cache_alloc_node_noprof+0x282/0x6e0 mm/slub.c:5068
kmalloc_reserve+0x148/0x350 net/core/skbuff.c:615
__alloc_skb+0x185/0x710 net/core/skbuff.c:715
alloc_skb include/linux/skbuff.h:1384 [inline]
pn533_recv_response+0x100/0x200 drivers/nfc/pn533/usb.c:65
__usb_hcd_giveback_urb+0x38e/0x610 drivers/usb/core/hcd.c:1657
usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741
dummy_timer+0xdaf/0x3820 drivers/usb/gadget/udc/dummy_hcd.c:2023
__run_hrtimer kernel/time/hrtimer.c:2074 [inline]
__hrtimer_run_queues+0x462/0x9c0 kernel/time/hrtimer.c:2131
hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2148
handle_softirqs+0x1e6/0x9d0 kernel/softirq.c:645
__do_softirq kernel/softirq.c:679 [inline]
invoke_softirq kernel/softirq.c:519 [inline]
__irq_exit_rcu+0x16a/0x210 kernel/softirq.c:758
irq_exit_rcu+0x9/0x30 kernel/softirq.c:775
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
The buggy address belongs to the object at ffff888036d449c0
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 [ffff888036d449c0, ffff888036d44c80)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888036d463c0 pfn:0x36d44
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff888021aa7780 ffffea00014c5b10 ffffea000149e010
raw: ffff888036d463c0 0000000200130011 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff888021aa7780 ffffea00014c5b10 ffffea000149e010
head: ffff888036d463c0 0000000200130011 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 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 9463, tgid 9462 (syz.5.823), ts 448682187861
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7418
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
kmem_cache_alloc_node_noprof+0x4f2/0x6e0 mm/slub.c:5068
kmalloc_reserve+0x148/0x350 net/core/skbuff.c:615
__alloc_skb+0x185/0x710 net/core/skbuff.c:715
alloc_skb_fclone include/linux/skbuff.h:1434 [inline]
tipc_buf_acquire+0x26/0xe0 net/tipc/msg.c:72
tipc_msg_build+0x112/0x1100 net/tipc/msg.c:402
tipc_send_group_bcast+0x736/0xa20 net/tipc/socket.c:1127
__tipc_sendmsg+0x4a3/0x1ab0 net/tipc/socket.c:1437
tipc_sendmsg+0x4f/0x70 net/tipc/socket.c:1404
sock_sendmsg_nosec net/socket.c:800 [inline]
__sock_sendmsg net/socket.c:815 [inline]
____sys_sendmsg+0xa4d/0xbe0 net/socket.c:2713
___sys_sendmsg+0x190/0x1e0 net/socket.c:2767
page last free pid 9382 tgid 9382 ts 441776283909 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1418 [inline]
__free_frozen_pages+0x79f/0x10f0 mm/page_alloc.c:2962
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:361
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4683 [inline]
slab_alloc_node mm/slub.c:4996 [inline]
kmem_cache_alloc_noprof+0x269/0x6a0 mm/slub.c:5010
anon_vma_chain_alloc mm/rmap.c:142 [inline]
__anon_vma_prepare+0xae/0x690 mm/rmap.c:194
__vmf_anon_prepare+0x11f/0x250 mm/memory.c:3961
vmf_anon_prepare mm/internal.h:569 [inline]
do_anonymous_page+0x47d/0x2050 mm/memory.c:5478
do_pte_missing mm/memory.c:4698 [inline]
handle_pte_fault mm/memory.c:6558 [inline]
__handle_mm_fault+0x1ff3/0x2f60 mm/memory.c:6707
handle_mm_fault+0x363/0xa20 mm/memory.c:6876
do_user_addr_fault+0x59c/0x12f0 arch/x86/mm/fault.c:1343
handle_page_fault arch/x86/mm/fault.c:1483 [inline]
exc_page_fault+0x6f/0xd0 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:
ffff888036d44b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff888036d44c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888036d44c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff888036d44d00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888036d44d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess), 1 bytes skipped:
0: ff ljmp (bad)
1: e8 b6 f6 39 f6 call 0xf639f6bc
6: 49 8d 7e 18 lea 0x18(%r14),%rdi
a: be ff ff ff ff mov $0xffffffff,%esi
f: e8 88 10 02 00 call 0x2109c
14: 31 ff xor %edi,%edi
16: 41 89 c6 mov %eax,%r14d
19: 89 c6 mov %eax,%esi
1b: e8 0c f1 39 f6 call 0xf639f12c
20: 45 85 f6 test %r14d,%r14d
23: 0f 85 0a fe ff ff jne 0xfffffe33
* 29: e8 8e f6 39 f6 call 0xf639f6bc <-- trapping instruction
2e: e8 09 bf 1c f6 call 0xf61cbf3c
33: 31 ff xor %edi,%edi
35: 41 89 c6 mov %eax,%r14d
38: 89 c6 mov %eax,%esi
3a: e8 ed f0 39 f6 call 0xf639f12c