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 ffff88806278ad00 by task kworker/0:2/1566
CPU: 0 UID: 0 PID: 1566 Comm: kworker/0:2 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_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:1658
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+0xc6/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: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:preempt_latency_start kernel/sched/core.c:6051 [inline]
RIP: 0010:preempt_count_add+0x92/0x140 kernel/sched/core.c:6079
Code: 0e 00 85 c0 74 09 31 db 31 ff e8 e9 fe 0e 00 65 4c 8b 35 c9 85 78 13 49 81 c6 a0 15 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 e4 80 b3 00 49 89 1e 5b 41 5e 41 5f c3 cc cc cc
RSP: 0018:ffffc9000615f4e0 EFLAGS: 00000246
RAX: 1ffff1100571e69c RBX: ffffffff8c2bde4f RCX: ffffffff9c17ea00
RDX: 000000004b5c55b0 RSI: ffffffff8ec8cc59 RDI: ffffffff8c2bde4f
RBP: ffffc9000615f590 R08: ffffffff828cb284 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff2198859 R12: 1ffff92000c2bea0
R13: ffff888034a85780 R14: ffff88802b8f34e0 R15: dffffc0000000000
__down_write_common kernel/locking/rwsem.c:1345 [inline]
__down_write kernel/locking/rwsem.c:1356 [inline]
down_write+0x9f/0x200 kernel/locking/rwsem.c:1632
__kernfs_remove+0x174/0x910 fs/kernfs/dir.c:1600
kernfs_remove_by_name_ns+0xc0/0x140 fs/kernfs/dir.c:1839
sysfs_remove_file include/linux/sysfs.h:780 [inline]
device_remove_file drivers/base/core.c:3149 [inline]
device_del+0x503/0x8f0 drivers/base/core.c:3966
device_unregister+0x21/0xf0 drivers/base/core.c:4009
usb_remove_ep_devs+0x50/0x80 drivers/usb/core/endpoint.c:181
usb_disconnect+0x5da/0x9a0 drivers/usb/core/hub.c:2376
hub_port_connect drivers/usb/core/hub.c:5425 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5725 [inline]
port_event drivers/usb/core/hub.c:5889 [inline]
hub_event+0x1bbb/0x4d30 drivers/usb/core/hub.c:5971
process_one_work kernel/workqueue.c:3511 [inline]
process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3594
worker_thread+0xa47/0xfb0 kernel/workqueue.c:3675
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Allocated by task 1566:
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:4718 [inline]
slab_alloc_node mm/slub.c:5031 [inline]
kmem_cache_alloc_node_noprof+0x34f/0x600 mm/slub.c:5103
kmalloc_reserve net/core/skbuff.c:618 [inline]
__alloc_skb+0x27a/0x7a0 net/core/skbuff.c:718
alloc_skb include/linux/skbuff.h:1395 [inline]
pn533_recv_response+0xc4/0x230 drivers/nfc/pn533/usb.c:65
__usb_hcd_giveback_urb+0x378/0x540 drivers/usb/core/hcd.c:1658
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+0xc6/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: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 ffff88806278aa40
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 [ffff88806278aa40, ffff88806278ad00)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x62788
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 ffff88814043cdc0 dead000000000100 dead000000000122
raw: 0000000000000000 0000000200130013 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88814043cdc0 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 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 11967, tgid 11965 (syz.5.1381), ts 436048266100
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+0x22a1/0x22e0 mm/page_alloc.c:3962
__alloc_frozen_pages_noprof+0x211/0x450 mm/page_alloc.c:5504
alloc_slab_page mm/slub.c:3384 [inline]
allocate_slab+0x7d/0x5e0 mm/slub.c:3499
new_slab mm/slub.c:3550 [inline]
refill_objects+0x2d5/0x350 mm/slub.c:7524
refill_sheaf mm/slub.c:2917 [inline]
__pcs_replace_empty_main+0x2c8/0x6c0 mm/slub.c:4809
alloc_from_pcs mm/slub.c:4885 [inline]
slab_alloc_node mm/slub.c:5019 [inline]
kmem_cache_alloc_node_noprof+0x432/0x600 mm/slub.c:5103
kmalloc_reserve net/core/skbuff.c:618 [inline]
__alloc_skb+0x27a/0x7a0 net/core/skbuff.c:718
alloc_skb_fclone include/linux/skbuff.h:1445 [inline]
tcp_stream_alloc_skb+0x3f/0x5d0 net/ipv4/tcp.c:934
tcp_sendmsg_locked+0x140c/0x5380 net/ipv4/tcp.c:1270
tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1465
sock_sendmsg_nosec+0x10f/0x190 net/socket.c:801
__sock_sendmsg net/socket.c:818 [inline]
__sys_sendto+0x408/0x5a0 net/socket.c:2283
__do_sys_sendto net/socket.c:2290 [inline]
__se_sys_sendto net/socket.c:2286 [inline]
__x64_sys_sendto+0xde/0x100 net/socket.c:2286
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89
page last free pid 11959 tgid 11957 ts 436021075504 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:5924
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:4718 [inline]
slab_alloc_node mm/slub.c:5031 [inline]
kmem_cache_alloc_noprof+0x2b4/0x600 mm/slub.c:5045
alloc_filename fs/namei.c:147 [inline]
do_getname+0x2e/0x250 fs/namei.c:187
getname_flags fs/namei.c:230 [inline]
class_filename_flags_constructor include/linux/fs.h:2598 [inline]
user_path_at+0x2a/0x160 fs/namei.c:3691
do_mount fs/namespace.c:4467 [inline]
__do_sys_mount fs/namespace.c:4683 [inline]
__se_sys_mount+0x2dc/0x420 fs/namespace.c:4660
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff88806278ac00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88806278ac80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88806278ad00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff88806278ad80: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88806278ae00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 00 85 c0 74 09 31 add %al,0x310974c0(%rbp)
6: db 31 (bad) (%rcx)
8: ff ljmp (bad)
9: e8 e9 fe 0e 00 call 0xefef7
e: 65 4c 8b 35 c9 85 78 mov %gs:0x137885c9(%rip),%r14 # 0x137885df
15: 13
16: 49 81 c6 a0 15 00 00 add $0x15a0,%r14
1d: 4c 89 f0 mov %r14,%rax
20: 48 c1 e8 03 shr $0x3,%rax
24: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
* 29: 74 08 je 0x33 <-- trapping instruction
2b: 4c 89 f7 mov %r14,%rdi
2e: e8 e4 80 b3 00 call 0xb38117
33: 49 89 1e mov %rbx,(%r14)
36: 5b pop %rbx
37: 41 5e pop %r14
39: 41 5f pop %r15
3b: c3 ret
3c: cc int3
3d: cc int3
3e: cc int3