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 ffff888037847d40 by task syz.0.2511/17972
CPU: 0 UID: 0 PID: 17972 Comm: syz.0.2511 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_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+0xa91/0x4cc0 drivers/usb/gadget/udc/dummy_hcd.c:2023
__run_hrtimer kernel/time/hrtimer.c:2075 [inline]
__hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2132
hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2149
handle_softirqs+0x223/0x840 kernel/softirq.c:645
__do_softirq kernel/softirq.c:679 [inline]
invoke_softirq kernel/softirq.c:519 [inline]
__irq_exit_rcu+0xcb/0x220 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+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:lock_release+0x2e1/0x3c0 kernel/locking/lockdep.c:5968
Code: 95 3d 13 00 00 00 00 eb b5 e8 0b c3 61 0a f7 c3 00 02 00 00 74 b9 65 48 8b 05 73 4d 3d 13 48 3b 44 24 28 75 48 fb 48 83 c4 30 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 d0 d6 64 0a cc 48 8d 3d 38 12 1c
RSP: 0018:ffffc90003b86f08 EFLAGS: 00000282
RAX: 487bfd759a6a7d00 RBX: 0000000000000206 RCX: 0000000000000046
RDX: ffffc90003b87001 RSI: ffffffff8ea315f7 RDI: ffffffff8c8f9680
RBP: ffff88802b4dea10 R08: ffffc90003b87dd0 R09: 0000000000000000
R10: ffffc90003b87038 R11: fffff52000770e09 R12: 0000000000000004
R13: 0000000000000004 R14: ffffffff9015a260 R15: ffff88802b4dddc0
rcu_lock_release include/linux/rcupdate.h:319 [inline]
rcu_read_unlock include/linux/rcupdate.h:880 [inline]
class_rcu_destructor include/linux/rcupdate.h:1216 [inline]
unwind_next_frame+0x1baa/0x2550 arch/x86/kernel/unwind_orc.c:709
arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:57 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:78
unpoison_slab_object mm/kasan/common.c:351 [inline]
__kasan_slab_alloc+0x6c/0x80 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_noprof+0x2b4/0x600 mm/slub.c:5047
__kernfs_new_node+0xe6/0x980 fs/kernfs/dir.c:667
kernfs_new_node+0xeb/0x140 fs/kernfs/dir.c:759
__kernfs_create_file+0x4b/0x2e0 fs/kernfs/file.c:1071
sysfs_add_file_mode_ns+0x237/0x300 fs/sysfs/file.c:316
create_files fs/sysfs/group.c:82 [inline]
internal_create_group+0x679/0x1180 fs/sysfs/group.c:189
internal_create_groups fs/sysfs/group.c:229 [inline]
sysfs_create_groups+0x59/0x120 fs/sysfs/group.c:255
setup_port drivers/infiniband/core/sysfs.c:1202 [inline]
ib_setup_port_attrs+0xfd8/0x2420 drivers/infiniband/core/sysfs.c:1388
add_one_compat_dev+0x441/0x640 drivers/infiniband/core/device.c:1002
rdma_dev_init_net+0x23e/0x2f0 drivers/infiniband/core/device.c:1227
ops_init+0x35d/0x5d0 net/core/net_namespace.c:137
setup_net+0x118/0x350 net/core/net_namespace.c:443
copy_net_ns+0x536/0x770 net/core/net_namespace.c:582
create_new_namespaces+0x3f0/0x6b0 kernel/nsproxy.c:132
unshare_nsproxy_namespaces+0x144/0x190 kernel/nsproxy.c:234
ksys_unshare+0x532/0x890 kernel/fork.c:3282
__do_sys_unshare kernel/fork.c:3348 [inline]
__se_sys_unshare kernel/fork.c:3346 [inline]
__x64_sys_unshare+0x38/0x50 kernel/fork.c:3346
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa96399e1d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa9648c6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007fa963c25fa0 RCX: 00007fa96399e1d9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007fa963a35888 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa963c26038 R14: 00007fa963c25fa0 R15: 00007ffccaf425b8
Allocated by task 17972:
kasan_save_stack mm/kasan/common.c:57 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:78
unpoison_slab_object mm/kasan/common.c:351 [inline]
__kasan_slab_alloc+0x6c/0x80 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+0x34f/0x600 mm/slub.c:5105
kmalloc_reserve net/core/skbuff.c:615 [inline]
__alloc_skb+0x27a/0x7a0 net/core/skbuff.c:715
alloc_skb include/linux/skbuff.h:1384 [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+0xa91/0x4cc0 drivers/usb/gadget/udc/dummy_hcd.c:2023
__run_hrtimer kernel/time/hrtimer.c:2075 [inline]
__hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2132
hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2149
handle_softirqs+0x223/0x840 kernel/softirq.c:645
__do_softirq kernel/softirq.c:679 [inline]
invoke_softirq kernel/softirq.c:519 [inline]
__irq_exit_rcu+0xcb/0x220 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+0xa6/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 ffff888037847a80
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 [ffff888037847a80, ffff888037847d40)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x37844
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 ffff888020a9fb40 dead000000000100 dead000000000122
raw: 0000000000000000 0000000200130013 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff888020a9fb40 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 0x1d2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 45, tgid 45 (kworker/u8:2), ts 500241995412
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1854
prep_new_page mm/page_alloc.c:1862 [inline]
get_page_from_freelist+0x220f/0x2280 mm/page_alloc.c:3933
__alloc_frozen_pages_noprof+0x1fc/0x400 mm/page_alloc.c:5480
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:7539
refill_sheaf mm/slub.c:2917 [inline]
__pcs_replace_empty_main+0x2c8/0x6c0 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+0x432/0x600 mm/slub.c:5105
kmalloc_reserve net/core/skbuff.c:615 [inline]
__alloc_skb+0x27a/0x7a0 net/core/skbuff.c:715
alloc_skb include/linux/skbuff.h:1384 [inline]
ndisc_alloc_skb+0xa0/0x480 net/ipv6/ndisc.c:421
ndisc_ns_create+0x21c/0x650 net/ipv6/ndisc.c:627
ndisc_send_ns+0xba/0x160 net/ipv6/ndisc.c:669
addrconf_dad_work+0xa8d/0x15c0 net/ipv6/addrconf.c:4323
process_one_work kernel/workqueue.c:3495 [inline]
process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578
worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
page last free pid 16024 tgid 16024 ts 500206069714 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1401 [inline]
__free_frozen_pages+0xc97/0xd90 mm/page_alloc.c:2952
__slab_free+0x269/0x2c0 mm/slub.c:5926
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:361
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+0x34f/0x600 mm/slub.c:5105
__alloc_skb+0x1db/0x7a0 net/core/skbuff.c:704
netlink_sendmsg+0x577/0xae0 net/netlink/af_netlink.c:1891
sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800
__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+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff888037847c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff888037847c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888037847d00: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
^
ffff888037847d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff888037847e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
----------------
Code disassembly (best guess), 3 bytes skipped:
0: 00 00 add %al,(%rax)
2: 00 00 add %al,(%rax)
4: eb b5 jmp 0xffffffbb
6: e8 0b c3 61 0a call 0xa61c316
b: f7 c3 00 02 00 00 test $0x200,%ebx
11: 74 b9 je 0xffffffcc
13: 65 48 8b 05 73 4d 3d mov %gs:0x133d4d73(%rip),%rax # 0x133d4d8e
1a: 13
1b: 48 3b 44 24 28 cmp 0x28(%rsp),%rax
20: 75 48 jne 0x6a
22: fb sti
23: 48 83 c4 30 add $0x30,%rsp
* 27: 5b pop %rbx <-- trapping instruction
28: 41 5c pop %r12
2a: 41 5d pop %r13
2c: 41 5e pop %r14
2e: 41 5f pop %r15
30: 5d pop %rbp
31: e9 d0 d6 64 0a jmp 0xa64d706
36: cc int3
37: 48 rex.W
38: 8d .byte 0x8d
39: 3d .byte 0x3d
3a: 38 12 cmp %dl,(%rdx)
3c: 1c .byte 0x1c