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 ffff88804fb05980 by task syz.8.6540/19540
CPU: 0 UID: 0 PID: 19540 Comm: syz.8.6540 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: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:finish_task_switch+0x413/0xc60 kernel/sched/core.c:5449
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 b7 65 95 0a e8 c2 be 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:ffffc90006157780 EFLAGS: 00000206
RAX: 0000000000000071 RBX: ffff8880b823d4e0 RCX: 8000000000000001
RDX: 0000000000000000 RSI: ffffffff8e9f86e2 RDI: ffffffff8cb01a80
RBP: ffffc900061577d0 R08: ffffffff91e199bf R09: 1ffffffff23c3337
R10: dffffc0000000000 R11: fffffbfff23c3338 R12: ffff88803be71f40
R13: ffff8880b823d4a8 R14: dffffc0000000000 R15: 1ffff11017047a9c
context_switch kernel/sched/core.c:5601 [inline]
__schedule+0x1bad/0x5f70 kernel/sched/core.c:7401
__schedule_loop kernel/sched/core.c:7478 [inline]
schedule+0x164/0x2b0 kernel/sched/core.c:7493
futex_do_wait kernel/futex/waitwake.c:387 [inline]
__futex_wait+0x1ef/0x470 kernel/futex/waitwake.c:722
futex_wait+0x121/0x390 kernel/futex/waitwake.c:750
do_futex+0x3e7/0x4e0 kernel/futex/syscalls.c:133
__do_sys_futex kernel/futex/syscalls.c:210 [inline]
__se_sys_futex+0x3a8/0x450 kernel/futex/syscalls.c:191
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:0x00007f9d973a94d9
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:00007f9d982e80e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00007f9d97626188 RCX: 00007f9d973a94d9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f9d97626188
RBP: 00007f9d97626180 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9d97626218 R14: 00007ffcbb8032d0 R15: 00007ffcbb8033b8
Allocated by task 19540:
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 ffff88804fb056c0
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 [ffff88804fb056c0, ffff88804fb05980)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88804fb06700 pfn:0x4fb04
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 ffff888140ad8dc0 ffff88801eeafe88 ffffea0001ea7f10
raw: ffff88804fb06700 0000000200130005 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff888140ad8dc0 ffff88801eeafe88 ffffea0001ea7f10
head: ffff88804fb06700 0000000200130005 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 22232, tgid 22232 (kworker/u8:16), ts 1169047858944
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
__pskb_copy_fclone+0xaf/0x13a0 net/core/skbuff.c:2305
__pskb_copy include/linux/skbuff.h:1459 [inline]
hsr_create_tagged_frame+0x24e/0xe30 net/hsr/hsr_forward.c:350
hsr_forward_do net/hsr/hsr_forward.c:-1 [inline]
hsr_forward_skb+0x1195/0x2b70 net/hsr/hsr_forward.c:777
hsr_dev_xmit+0x242/0x360 net/hsr/hsr_device.c:236
__netdev_start_xmit include/linux/netdevice.h:5459 [inline]
netdev_start_xmit include/linux/netdevice.h:5468 [inline]
xmit_one net/core/dev.c:4074 [inline]
dev_hard_start_xmit+0x2cd/0x830 net/core/dev.c:4090
__dev_queue_xmit+0x14d1/0x3920 net/core/dev.c:5110
NF_HOOK_COND include/linux/netfilter.h:314 [inline]
ip6_output+0x337/0x540 net/ipv6/ip6_output.c:248
page last free pid 31388 tgid 31388 ts 1168779842135 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]
__kmalloc_cache_noprof+0x29a/0x600 mm/slub.c:5674
_kmalloc_noprof include/linux/slab.h:991 [inline]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
kernfs_fop_open+0x38c/0xd20 fs/kernfs/file.c:648
do_dentry_open+0x80e/0x1360 fs/open.c:1000
vfs_open_consume+0x4a/0x350 fs/open.c:1131
do_open fs/namei.c:4957 [inline]
path_openat+0x1755/0x20e0 fs/namei.c:5122
do_file_open+0x23e/0x4a0 fs/namei.c:5151
do_sys_openat2+0x115/0x200 fs/open.c:1492
do_sys_open fs/open.c:1498 [inline]
__do_sys_openat fs/open.c:1838 [inline]
__se_sys_openat fs/open.c:1833 [inline]
__x64_sys_openat+0x138/0x170 fs/open.c:1833
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:
ffff88804fb05880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88804fb05900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88804fb05980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff88804fb05a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88804fb05a80: 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 b7 65 95 0a call 0xa9565d6
1f: e8 c2 be 3a 00 call 0x3abee6
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