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 ffff8880698169c0 by task syz.2.196/6456
CPU: 0 UID: 0 PID: 6456 Comm: syz.2.196 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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+0xa9a/0x4ce0 drivers/usb/gadget/udc/dummy_hcd.c:2051
__run_hrtimer kernel/time/hrtimer.c:2079 [inline]
__hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2136
hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2153
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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:211 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80 kernel/locking/spinlock.c:221
Code: f7 e8 6d cb 79 f5 f7 c3 00 02 00 00 74 05 e8 e0 94 a6 f5 9c 58 a9 00 02 00 00 75 29 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 24 b5 6a f5 65 48 8b 05 2c ea e2 08 48 85 c0 74 18 5b 41 5e c3
RSP: 0018:ffffc900015e7ce8 EFLAGS: 00000206
RAX: 0000000000000006 RBX: 0000000000000296 RCX: 8000000000000001
RDX: 0000000000000000 RSI: ffffffff8e9f7202 RDI: 0000000000000001
RBP: ffffc900015e7e10 R08: ffffffff91e18cbf R09: 1ffffffff23c3197
R10: dffffc0000000000 R11: fffffbfff23c3198 R12: 0000000000000000
R13: ffffc900015e7d40 R14: ffffffff9c409f50 R15: 1ffff920002bcfa4
debug_hrtimer_init_on_stack kernel/time/hrtimer.c:481 [inline]
debug_setup_on_stack kernel/time/hrtimer.c:523 [inline]
hrtimer_setup_sleeper_on_stack kernel/time/hrtimer.c:2412 [inline]
hrtimer_nanosleep+0xca/0x3a0 kernel/time/hrtimer.c:2489
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1419 [inline]
__se_sys_clock_nanosleep+0x35b/0x3b0 kernel/time/posix-timers.c:1396
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
RIP: 0033:0x00007f36a6569d0e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f36a74e3f38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 00007f36a74e56c0 RCX: 00007f36a6569d0e
RDX: 00007f36a74e3f90 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000220
R13: 0000000000000000 R14: 00007f36a6825fa0 R15: 00007fffbebe2918
Allocated by task 6456:
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:2079 [inline]
__hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2136
hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2153
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 ffff888069816700
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 [ffff888069816700, ffff8880698169c0)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x69814
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 ffff888020eb9dc0 dead000000000100 dead000000000122
raw: 0000000000000000 0000000200130013 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff888020eb9dc0 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 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 6151, tgid 6151 (cmp), ts 94013445238
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 include/linux/skbuff.h:1395 [inline]
ndisc_alloc_skb+0xa0/0x480 net/ipv6/ndisc.c:421
ndisc_ns_create+0x21c/0x650 net/ipv6/ndisc.c:627
ndisc_send_ns net/ipv6/ndisc.c:669 [inline]
ndisc_solicit+0x350/0x670 net/ipv6/ndisc.c:763
neigh_probe net/core/neighbour.c:1096 [inline]
neigh_timer_handler+0xbaf/0x12b0 net/core/neighbour.c:1191
call_timer_fn+0x18d/0x5f0 kernel/time/timer.c:1749
expire_timers kernel/time/timer.c:1800 [inline]
__run_timers kernel/time/timer.c:2375 [inline]
__run_timer_base+0x652/0x8b0 kernel/time/timer.c:2387
run_timer_base kernel/time/timer.c:2396 [inline]
run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2406
page last free pid 6105 tgid 6105 ts 93619587006 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]
__do_kmalloc_node mm/slub.c:5528 [inline]
__kvmalloc_node_noprof+0x49a/0x820 mm/slub.c:7121
netif_alloc_rx_queues net/core/dev.c:11477 [inline]
alloc_netdev_mqs+0xb01/0x1240 net/core/dev.c:12474
__ip_tunnel_create+0x348/0x550 net/ipv4/ip_tunnel.c:261
ip_tunnel_init_net+0x2fe/0x870 net/ipv4/ip_tunnel.c:1176
ops_init+0x35d/0x5d0 net/core/net_namespace.c:137
setup_net+0x112/0x350 net/core/net_namespace.c:443
copy_net_ns+0x540/0x780 net/core/net_namespace.c:584
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:3330
__do_sys_unshare kernel/fork.c:3396 [inline]
__se_sys_unshare kernel/fork.c:3394 [inline]
__x64_sys_unshare+0x38/0x50 kernel/fork.c:3394
Memory state around the buggy address:
ffff888069816880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff888069816900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888069816980: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
^
ffff888069816a00: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
ffff888069816a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
0: f7 e8 imul %eax
2: 6d insl (%dx),%es:(%rdi)
3: cb lret
4: 79 f5 jns 0xfffffffb
6: f7 c3 00 02 00 00 test $0x200,%ebx
c: 74 05 je 0x13
e: e8 e0 94 a6 f5 call 0xf5a694f3
13: 9c pushf
14: 58 pop %rax
15: a9 00 02 00 00 test $0x200,%eax
1a: 75 29 jne 0x45
1c: f7 c3 00 02 00 00 test $0x200,%ebx
22: 74 01 je 0x25
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 24 b5 6a f5 call 0xf56ab553 <-- trapping instruction
2f: 65 48 8b 05 2c ea e2 mov %gs:0x8e2ea2c(%rip),%rax # 0x8e2ea63
36: 08
37: 48 85 c0 test %rax,%rax
3a: 74 18 je 0x54
3c: 5b pop %rbx
3d: 41 5e pop %r14
3f: c3 ret