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 ffff888058497a00 by task syz-executor/5626
CPU: 0 UID: 0 PID: 5626 Comm: syz-executor Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051
__run_hrtimer kernel/time/hrtimer.c:2079 [inline]
__hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136
hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153
handle_softirqs+0x216/0xa20 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0x178/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
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:__sanitizer_cov_trace_pc+0x46/0x70 kernel/kcov.c:223
Code: 00 01 00 ff 74 1e f6 c4 01 74 44 a9 00 00 00 0f 75 3d f7 c1 00 00 00 f0 75 35 8b 82 44 17 00 00 85 c0 74 2b 8b 82 18 17 00 00 <83> f8 02 75 20 48 8b 8a 20 17 00 00 8b 92 1c 17 00 00 48 8b 01 48
RSP: 0018:ffffc90004477520 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffea00019a3980 RCX: 0000000000000002
RDX: ffff888035df2580 RSI: ffffffff826ca95a RDI: 0000000000000006
RBP: 00000000000668e6 R08: 00000000000668e6 R09: 000000000000c214
R10: ffffea00019a39b7 R11: 0000000000000001 R12: ffffea00019a3998
R13: 000000000000c214 R14: ffff88805e3a9708 R15: ffffea00019a3980
_compound_head include/linux/page-flags.h:221 [inline]
__folio_rmap_sanity_checks include/linux/rmap.h:350 [inline]
__folio_dup_file_rmap include/linux/rmap.h:498 [inline]
folio_dup_file_rmap_pte include/linux/rmap.h:544 [inline]
copy_present_ptes mm/memory.c:1237 [inline]
copy_pte_range mm/memory.c:1365 [inline]
copy_pmd_range mm/memory.c:1453 [inline]
copy_pud_range mm/memory.c:1488 [inline]
copy_p4d_range mm/memory.c:1512 [inline]
copy_page_range+0x1f8a/0x5a00 mm/memory.c:1598
dup_mmap+0x1515/0x2180 mm/mmap.c:1813
dup_mm kernel/fork.c:1549 [inline]
copy_mm kernel/fork.c:1602 [inline]
copy_process+0x7c5c/0x88e0 kernel/fork.c:2328
kernel_clone+0x176/0x9d0 kernel/fork.c:2798
__do_sys_clone+0xd9/0x120 kernel/fork.c:2940
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd2f89d51d2
Code: 89 e7 e8 b1 c7 f6 ff 45 31 c0 31 d2 31 f6 64 48 8b 04 25 10 00 00 00 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 66 89 c5 85 c0 75 3b 64 48 8b 04 25 10 00 00
RSP: 002b:00007fffb555dbc0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fffb555dbc0 RCX: 00007fd2f89d51d2
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007fffb555dd4c R08: 0000000000000000 R09: 0000000000000001
R10: 000055555a3c17d0 R11: 0000000000000246 R12: 0000000000000001
R13: 00000000000927c0 R14: 00000000000ab7c5 R15: 00007fffb555dda0
Allocated by task 5626:
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:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
kmem_cache_alloc_node_noprof+0x282/0x6e0 mm/slub.c:5105
kmalloc_reserve+0x148/0x350 net/core/skbuff.c:616
__alloc_skb+0x185/0x710 net/core/skbuff.c:716
alloc_skb include/linux/skbuff.h:1390 [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+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051
__run_hrtimer kernel/time/hrtimer.c:2079 [inline]
__hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136
hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153
handle_softirqs+0x216/0xa20 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0x178/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
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 ffff888058497740
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 [ffff888058497740, ffff888058497a00)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888058495a00 pfn:0x58494
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 ffff8880216d9a00 ffff8880216da588 ffffea00015e1410
raw: ffff888058495a00 0000000200130011 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff8880216d9a00 ffff8880216da588 ffffea00015e1410
head: ffff888058495a00 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 5626, tgid 5626 (syz-executor), ts 67095786632
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
prep_new_page mm/page_alloc.c:1868 [inline]
get_page_from_freelist+0xdae/0x2c80 mm/page_alloc.c:3950
__alloc_frozen_pages_noprof+0x2ad/0x31e0 mm/page_alloc.c:5492
alloc_slab_page mm/slub.c:3384 [inline]
allocate_slab mm/slub.c:3499 [inline]
new_slab+0xb1/0x6d0 mm/slub.c:3550
refill_objects+0xe3/0x410 mm/slub.c:7539
refill_sheaf mm/slub.c:2917 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4811
alloc_from_pcs mm/slub.c:4887 [inline]
slab_alloc_node mm/slub.c:5021 [inline]
kmem_cache_alloc_node_noprof+0x4ed/0x6e0 mm/slub.c:5105
kmalloc_reserve+0x148/0x350 net/core/skbuff.c:616
__alloc_skb+0x185/0x710 net/core/skbuff.c:716
alloc_skb include/linux/skbuff.h:1390 [inline]
alloc_uevent_skb+0x7d/0x210 lib/kobject_uevent.c:289
uevent_net_broadcast_tagged lib/kobject_uevent.c:352 [inline]
kobject_uevent_net_broadcast lib/kobject_uevent.c:415 [inline]
kobject_uevent_env+0x122c/0x18b0 lib/kobject_uevent.c:611
netdev_queue_add_kobject net/core/net-sysfs.c:2033 [inline]
netdev_queue_update_kobjects+0x1a7/0x6f0 net/core/net-sysfs.c:2076
register_queue_kobjects net/core/net-sysfs.c:2139 [inline]
netdev_register_kobject+0x2e9/0x410 net/core/net-sysfs.c:2385
register_netdevice+0x1313/0x26b0 net/core/dev.c:11740
veth_newlink+0x2b7/0xd00 drivers/net/veth.c:1878
rtnl_newlink_create net/core/rtnetlink.c:4006 [inline]
__rtnl_newlink net/core/rtnetlink.c:4135 [inline]
rtnl_newlink+0x1697/0x2620 net/core/rtnetlink.c:4252
page last free pid 1 tgid 1 ts 15114541390 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1402 [inline]
free_pages_prepare+0x586/0xe00 mm/page_alloc.c:1447
__free_contig_range_common+0x14f/0x250 mm/page_alloc.c:7123
debug_vm_pgtable_free_huge_page mm/debug_vm_pgtable.c:980 [inline]
destroy_args+0xa8/0x7a0 mm/debug_vm_pgtable.c:993
debug_vm_pgtable+0x1d69/0x3490 mm/debug_vm_pgtable.c:1368
do_one_initcall+0x11c/0x6f0 init/main.c:1419
do_initcall_level init/main.c:1481 [inline]
do_initcalls init/main.c:1497 [inline]
do_basic_setup init/main.c:1517 [inline]
kernel_init_freeable+0x6ea/0x7b0 init/main.c:1732
kernel_init+0x21/0x1e0 init/main.c:1622
ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Memory state around the buggy address:
ffff888058497900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff888058497980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888058497a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff888058497a80: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888058497b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
0: 00 01 add %al,(%rcx)
2: 00 ff add %bh,%bh
4: 74 1e je 0x24
6: f6 c4 01 test $0x1,%ah
9: 74 44 je 0x4f
b: a9 00 00 00 0f test $0xf000000,%eax
10: 75 3d jne 0x4f
12: f7 c1 00 00 00 f0 test $0xf0000000,%ecx
18: 75 35 jne 0x4f
1a: 8b 82 44 17 00 00 mov 0x1744(%rdx),%eax
20: 85 c0 test %eax,%eax
22: 74 2b je 0x4f
24: 8b 82 18 17 00 00 mov 0x1718(%rdx),%eax
* 2a: 83 f8 02 cmp $0x2,%eax <-- trapping instruction
2d: 75 20 jne 0x4f
2f: 48 8b 8a 20 17 00 00 mov 0x1720(%rdx),%rcx
36: 8b 92 1c 17 00 00 mov 0x171c(%rdx),%edx
3c: 48 8b 01 mov (%rcx),%rax
3f: 48 rex.W