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 ffff88804856d980 by task kworker/1:7/11087
CPU: 1 UID: 0 PID: 11087 Comm: kworker/1:7 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: usb_hub_wq hub_event
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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:220 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:229
Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 7a 0e f7 f5 48 89 df e8 02 65 f7 f5 e8 ed 79 24 f6 fb bf 01 00 00 00 52 2b e6 f5 65 48 83 3d c1 72 c8 09 00 74 06 5b c3 cc cc cc cc
RSP: 0018:ffffc90004caec90 EFLAGS: 00000202
RAX: 00000000002271cb RBX: ffffc90004caee20 RCX: 0000000000000040
RDX: 0000000000000001 RSI: ffffffff8e628f58 RDI: 0000000000000001
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 000000000000776b R12: ffffc90004caee18
R13: 0000000000000002 R14: ffffc90004caee20 R15: ffff888033a6a580
do_wait_for_common kernel/sched/completion.c:99 [inline]
__wait_for_common+0x2d9/0x500 kernel/sched/completion.c:121
pn533_send_cmd_sync drivers/nfc/pn533/pn533.c:640 [inline]
pn533_get_firmware_version drivers/nfc/pn533/pn533.c:2537 [inline]
pn533_finalize_setup+0x120/0x190 drivers/nfc/pn533/pn533.c:2734
pn533_usb_probe+0x81b/0xd50 drivers/nfc/pn533/usb.c:572
usb_probe_interface+0x386/0x980 drivers/usb/core/driver.c:399
call_driver_probe drivers/base/dd.c:629 [inline]
really_probe+0x241/0xa60 drivers/base/dd.c:707
__driver_probe_device+0x210/0x460 drivers/base/dd.c:869
driver_probe_device+0x4a/0x140 drivers/base/dd.c:899
__device_attach_driver+0x1df/0x320 drivers/base/dd.c:1027
bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500
__device_attach+0x1e4/0x4c0 drivers/base/dd.c:1131
device_initial_probe+0xaf/0xf0 drivers/base/dd.c:1190
__bus_probe_device+0x60/0x160 drivers/base/bus.c:614
device_add+0x121d/0x1970 drivers/base/core.c:3778
usb_set_configuration+0xd97/0x1dc0 drivers/usb/core/message.c:2280
usb_generic_driver_probe+0xa1/0xe0 drivers/usb/core/generic.c:250
usb_probe_device+0xef/0x400 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:629 [inline]
really_probe+0x241/0xa60 drivers/base/dd.c:707
__driver_probe_device+0x210/0x460 drivers/base/dd.c:869
driver_probe_device+0x4a/0x140 drivers/base/dd.c:899
__device_attach_driver+0x1df/0x320 drivers/base/dd.c:1027
bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500
__device_attach+0x1e4/0x4c0 drivers/base/dd.c:1131
device_initial_probe+0xaf/0xf0 drivers/base/dd.c:1190
__bus_probe_device+0x60/0x160 drivers/base/bus.c:614
device_add+0x121d/0x1970 drivers/base/core.c:3778
usb_new_device.part.0+0xcc2/0x1686 drivers/usb/core/hub.c:2713
usb_new_device include/linux/workqueue.h:715 [inline]
hub_port_connect drivers/usb/core/hub.c:5585 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5725 [inline]
port_event drivers/usb/core/hub.c:5889 [inline]
hub_event.cold+0x1e3/0xe90 drivers/usb/core/hub.c:5971
process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495
process_scheduled_works kernel/workqueue.c:3578 [inline]
worker_thread+0x5ef/0xe50 kernel/workqueue.c:3659
kthread+0x373/0x450 kernel/kthread.c:436
ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Allocated by task 11087:
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 ffff88804856d6c0
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 [ffff88804856d6c0, ffff88804856d980)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88804856dd40 pfn:0x4856c
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 ffff888140415a00 ffff888021ad4588 ffffea000170bc10
raw: ffff88804856dd40 000000020013000c 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff888140415a00 ffff888021ad4588 ffffea000170bc10
head: ffff88804856dd40 000000020013000c 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 12550, tgid 12550 (syz-executor), ts 800191034964
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
device_add+0x1173/0x1970 drivers/base/core.c:3744
device_create_groups_vargs+0x1f8/0x270 drivers/base/core.c:4460
device_create+0xed/0x130 drivers/base/core.c:4499
ipvtap_device_event+0x301/0x3c0 drivers/net/ipvlan/ipvtap.c:176
notifier_call_chain+0x99/0x3f0 kernel/notifier.c:86
page last free pid 5607 tgid 5607 ts 781689291073 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1402 [inline]
__free_frozen_pages+0x7b1/0x10f0 mm/page_alloc.c:2958
__folio_put+0x3b4/0x5f0 mm/folio.c:106
folio_put include/linux/mm.h:2305 [inline]
put_page include/linux/mm.h:2374 [inline]
netmem_dec_ref include/net/netmem.h:444 [inline]
skb_netmem_unref include/linux/skbuff_ref.h:64 [inline]
skb_release_data+0x60c/0x860 net/core/skbuff.c:1117
skb_release_all net/core/skbuff.c:1188 [inline]
__kfree_skb+0x4f/0x70 net/core/skbuff.c:1202
tcp_wmem_free_skb include/net/tcp.h:334 [inline]
tcp_rtx_queue_unlink_and_free include/net/tcp.h:2365 [inline]
tcp_clean_rtx_queue net/ipv4/tcp_input.c:3726 [inline]
tcp_ack+0x2069/0x73d0 net/ipv4/tcp_input.c:4427
tcp_rcv_established+0x1193/0x3900 net/ipv4/tcp_input.c:6645
tcp_v4_do_rcv+0xbc8/0x1270 net/ipv4/tcp_ipv4.c:1859
sk_backlog_rcv include/net/sock.h:1194 [inline]
__release_sock+0x355/0x440 net/core/sock.c:3341
release_sock+0x1e5/0x280 net/core/sock.c:3938
tcp_sendmsg+0x38/0x50 net/ipv4/tcp.c:1463
inet_sendmsg+0xb9/0x140 net/ipv4/af_inet.c:864
sock_sendmsg_nosec net/socket.c:800 [inline]
__sock_sendmsg net/socket.c:818 [inline]
sock_write_iter+0x4fd/0x5d0 net/socket.c:1269
new_sync_write fs/read_write.c:575 [inline]
vfs_write+0x6af/0x1040 fs/read_write.c:667
ksys_write+0x1f8/0x250 fs/read_write.c:719
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
Memory state around the buggy address:
ffff88804856d880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804856d900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804856d980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff88804856da00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88804856da80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
0: 90 nop
1: f3 0f 1e fa endbr64
5: 53 push %rbx
6: 48 8b 74 24 08 mov 0x8(%rsp),%rsi
b: 48 89 fb mov %rdi,%rbx
e: 48 83 c7 18 add $0x18,%rdi
12: e8 7a 0e f7 f5 call 0xf5f70e91
17: 48 89 df mov %rbx,%rdi
1a: e8 02 65 f7 f5 call 0xf5f76521
1f: e8 ed 79 24 f6 call 0xf6247a11
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 52 2b e6 f5 call 0xf5e62b81 <-- trapping instruction
2f: 65 48 83 3d c1 72 c8 cmpq $0x0,%gs:0x9c872c1(%rip) # 0x9c872f9
36: 09 00
38: 74 06 je 0x40
3a: 5b pop %rbx
3b: c3 ret
3c: cc int3
3d: cc int3
3e: cc int3
3f: cc int3