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 ffff88804e76e680 by task syz.7.1894/15008
CPU: 1 UID: 0 PID: 15008 Comm: syz.7.1894 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_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:1659
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+0xce/0x250 kernel/softirq.c:794
irq_exit_rcu+0x9/0x30 kernel/softirq.c:817
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:finish_task_switch+0x413/0xc60 kernel/sched/core.c:5480
Code: 04 00 00 41 c7 84 24 20 0e 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 67 b0 9f 0a e8 b2 c0 3a 00 fb 4c 8b 65 c8 <49> 8d bc 24 18 17 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0
RSP: 0018:ffffc9000360fdf0 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffff8880b833d2e0 RCX: 8000000000000001
RDX: 0000000000000000 RSI: ffffffff8ea2fdc2 RDI: ffffffff8cb03380
RBP: ffffc9000360fe40 R08: ffffffff9201a0bf R09: 1ffffffff2403417
R10: dffffc0000000000 R11: fffffbfff2403418 R12: ffff88802a05ddc0
R13: ffff88802a05ddc0 R14: dffffc0000000000 R15: 1ffff11017067a5c
schedule_tail+0x11/0xc0 kernel/sched/core.c:5551
ret_from_fork+0x83/0xb70 arch/x86/kernel/process.c:154
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Allocated by task 15008:
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:4757 [inline]
slab_alloc_node mm/slub.c:5071 [inline]
kmem_cache_alloc_node_noprof+0x353/0x620 mm/slub.c:5143
kmalloc_reserve+0x139/0x260 net/core/skbuff.c:628
__alloc_skb+0x219/0x680 net/core/skbuff.c:737
alloc_skb include/linux/skbuff.h:1398 [inline]
pn533_recv_response+0xc4/0x230 drivers/nfc/pn533/usb.c:65
__usb_hcd_giveback_urb+0x378/0x540 drivers/usb/core/hcd.c:1659
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+0xce/0x250 kernel/softirq.c:794
irq_exit_rcu+0x9/0x30 kernel/softirq.c:817
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 ffff88804e76e3c0
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 [ffff88804e76e3c0, ffff88804e76e680)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4e76c
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 ffff888140ab8dc0 dead000000000100 dead000000000122
raw: 0000000000000000 0000000200130013 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff888140ab8dc0 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 5299, tgid 5299 (dhcpcd), ts 405364097060
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+0x2506/0x2570 mm/page_alloc.c:4000
__alloc_frozen_pages_noprof+0x211/0x450 mm/page_alloc.c:5546
alloc_slab_page mm/slub.c:3423 [inline]
allocate_slab+0x7d/0x5e0 mm/slub.c:3538
new_slab mm/slub.c:3589 [inline]
refill_objects+0x2d5/0x350 mm/slub.c:7578
refill_sheaf mm/slub.c:2953 [inline]
__pcs_replace_empty_main+0x2c8/0x6c0 mm/slub.c:4849
alloc_from_pcs mm/slub.c:4925 [inline]
slab_alloc_node mm/slub.c:5059 [inline]
kmem_cache_alloc_node_noprof+0x43d/0x620 mm/slub.c:5143
kmalloc_reserve+0x139/0x260 net/core/skbuff.c:628
__alloc_skb+0x219/0x680 net/core/skbuff.c:737
alloc_skb include/linux/skbuff.h:1398 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
__inet6_rt_notify+0x172/0x470 net/ipv6/route.c:6414
fib6_del_route net/ipv6/ip6_fib.c:2080 [inline]
fib6_del+0xf21/0x1350 net/ipv6/ip6_fib.c:2116
__ip6_del_rt+0x9b/0x180 net/ipv6/route.c:3990
ip6_del_rt+0xc3/0x120 net/ipv6/route.c:4005
__ipv6_ifa_notify+0x897/0xc60 net/ipv6/addrconf.c:6393
ipv6_ifa_notify net/ipv6/addrconf.c:6405 [inline]
ipv6_del_addr+0x688/0x8b0 net/ipv6/addrconf.c:1382
page last free pid 14210 tgid 14210 ts 403969500223 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:5964
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:4757 [inline]
slab_alloc_node mm/slub.c:5071 [inline]
kmem_cache_alloc_noprof+0x2b4/0x600 mm/slub.c:5085
alloc_filename fs/namei.c:147 [inline]
do_getname+0x2e/0x250 fs/namei.c:187
class_filename_flags_constructor include/linux/fs.h:2602 [inline]
do_sys_openat2+0xce/0x200 fs/open.c:1495
do_sys_open fs/open.c:1502 [inline]
__do_sys_openat fs/open.c:1842 [inline]
__se_sys_openat fs/open.c:1837 [inline]
__x64_sys_openat+0x138/0x170 fs/open.c:1837
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:
ffff88804e76e580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804e76e600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804e76e680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff88804e76e700: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88804e76e780: 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 00 add %al,(%rax)
2: 41 c7 84 24 20 0e 00 movl $0x0,0xe20(%r12)
9: 00 00 00 00 00
e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
13: 49 83 c4 48 add $0x48,%r12
17: 4c 89 e7 mov %r12,%rdi
1a: e8 67 b0 9f 0a call 0xa9fb086
1f: e8 b2 c0 3a 00 call 0x3ac0d6
24: fb sti
25: 4c 8b 65 c8 mov -0x38(%rbp),%r12
* 29: 49 8d bc 24 18 17 00 lea 0x1718(%r12),%rdi <-- trapping instruction
30: 00
31: 48 89 f8 mov %rdi,%rax
34: 48 c1 e8 03 shr $0x3,%rax
38: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax
3d: 84 c0 test %al,%al