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+0xbc4/0xc60 lib/hexdump.c:194
Read of size 1 at addr ffff88802b5e2340 by task syz.4.2058/14297
CPU: 0 UID: 0 PID: 14297 Comm: syz.4.2058 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x13d/0x4b0 mm/kasan/report.c:482
kasan_report+0xdf/0x1c0 mm/kasan/report.c:595
hex_dump_to_buffer+0xbc4/0xc60 lib/hexdump.c:194
print_hex_dump+0x14a/0x1f0 lib/hexdump.c:277
pn533_recv_frame+0x48e/0x6d0 drivers/nfc/pn533/pn533.c:2202
__usb_hcd_giveback_urb+0x38e/0x610 drivers/usb/core/hcd.c:1657
usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741
dummy_timer+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051
__run_hrtimer kernel/time/hrtimer.c:2079 [inline]
__hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136
hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153
handle_softirqs+0x216/0xa20 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0x178/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:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:finish_task_switch.isra.0+0x2ca/0x10d0 kernel/sched/core.c:5434
Code: b6 0a 00 00 41 c7 87 20 0e 00 00 00 00 00 00 0f 1f 44 00 00 49 8d 7f 48 e8 b3 03 19 0a e8 fe 9a 3d 00 fb 48 8d bb 18 17 00 00 <48> b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84
RSP: 0018:ffffc90003377838 EFLAGS: 00000206
RAX: 000000000018f2ff RBX: ffff8880389b8000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff8e628eec RDI: ffff8880389b9718
RBP: ffffc90003377890 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: ffffffff81d925d9 R12: ffff888032972580
R13: 0000000000000000 R14: ffffffff926ada44 R15: ffff8880b803c900
context_switch kernel/sched/core.c:5586 [inline]
__schedule+0x1266/0x6990 kernel/sched/core.c:7382
__schedule_loop kernel/sched/core.c:7459 [inline]
schedule+0xdd/0x2c0 kernel/sched/core.c:7474
schedule_timeout+0x127/0x280 kernel/time/sleep_timeout.c:99
snd_rawmidi_write+0x955/0xd00 sound/core/rawmidi.c:1704
do_loop_readv_writev fs/read_write.c:851 [inline]
do_loop_readv_writev fs/read_write.c:836 [inline]
vfs_writev+0x5ed/0xdd0 fs/read_write.c:1060
do_writev+0x28a/0x340 fs/read_write.c:1104
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff31339fb19
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:00007ff3142b4028 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007ff313625fa0 RCX: 00007ff31339fb19
RDX: 0000000000000002 RSI: 00002000000031c0 RDI: 0000000000000004
RBP: 00007ff313437b70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff313626038 R14: 00007ff313625fa0 R15: 00007ffe9dd645a8
Allocated by task 14297:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
unpoison_slab_object mm/kasan/common.c:351 [inline]
__kasan_slab_alloc+0x89/0x90 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+0x282/0x6e0 mm/slub.c:5105
kmalloc_reserve+0x148/0x350 net/core/skbuff.c:616
__alloc_skb+0x185/0x710 net/core/skbuff.c:716
alloc_skb include/linux/skbuff.h:1390 [inline]
pn533_recv_response+0x100/0x200 drivers/nfc/pn533/usb.c:65
__usb_hcd_giveback_urb+0x38e/0x610 drivers/usb/core/hcd.c:1657
usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741
dummy_timer+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051
__run_hrtimer kernel/time/hrtimer.c:2079 [inline]
__hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136
hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153
handle_softirqs+0x216/0xa20 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0x178/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:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/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 ffff88802b5e2080
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 [ffff88802b5e2080, ffff88802b5e2340)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2b5e0
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 ffff8880212e38c0 dead000000000100 dead000000000122
raw: 0000000000000000 0000000200130013 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff8880212e38c0 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 0xd28c0(GFP_NOWAIT|__GFP_IO|__GFP_FS|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 5691214440
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1859
prep_new_page mm/page_alloc.c:1867 [inline]
get_page_from_freelist+0x112f/0x3640 mm/page_alloc.c:3940
__alloc_frozen_pages_noprof+0x2ad/0x31e0 mm/page_alloc.c:5464
alloc_slab_page mm/slub.c:3384 [inline]
allocate_slab mm/slub.c:3499 [inline]
new_slab+0xb1/0x6d0 mm/slub.c:3550
refill_objects+0xe3/0x410 mm/slub.c:7539
refill_sheaf mm/slub.c:2917 [inline]
__pcs_replace_empty_main+0x35e/0x650 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+0x4ed/0x6e0 mm/slub.c:5105
kmalloc_reserve+0x148/0x350 net/core/skbuff.c:616
pskb_expand_head+0x225/0x1190 net/core/skbuff.c:2318
netlink_trim+0x22d/0x2f0 net/netlink/af_netlink.c:1316
netlink_broadcast_filtered+0x6d/0xfd0 net/netlink/af_netlink.c:1538
nlmsg_multicast_filtered include/net/netlink.h:1165 [inline]
genlmsg_multicast_netns_filtered include/net/genetlink.h:497 [inline]
genlmsg_multicast_netns include/net/genetlink.h:514 [inline]
genlmsg_multicast include/net/genetlink.h:530 [inline]
hwsim_mcast_config_msg drivers/net/ieee802154/mac802154_hwsim.c:813 [inline]
hwsim_mcast_new_radio drivers/net/ieee802154/mac802154_hwsim.c:836 [inline]
hwsim_add_one+0x1143/0x13c0 drivers/net/ieee802154/mac802154_hwsim.c:984
hwsim_probe+0x4c/0x130 drivers/net/ieee802154/mac802154_hwsim.c:1026
platform_probe+0x106/0x1d0 drivers/base/platform.c:1508
call_driver_probe drivers/base/dd.c:629 [inline]
really_probe+0x241/0xa60 drivers/base/dd.c:707
__driver_probe_device+0x210/0x460 drivers/base/dd.c:869
page last free pid 1 tgid 1 ts 5689064405 stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
__free_pages_prepare mm/page_alloc.c:1403 [inline]
__free_frozen_pages+0x7b4/0x1110 mm/page_alloc.c:2957
stack_depot_save_flags+0x456/0xa10 lib/stackdepot.c:735
kasan_save_stack+0x3f/0x50 mm/kasan/common.c:58
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__kmalloc_cache_noprof+0x2f8/0x6d0 mm/slub.c:5680
_kmalloc_noprof include/linux/slab.h:991 [inline]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
call_usermodehelper_setup+0xaf/0x360 kernel/umh.c:360
kobject_uevent_env+0x17c1/0x18b0 lib/kobject_uevent.c:631
rx_queue_add_kobject net/core/net-sysfs.c:1294 [inline]
net_rx_queue_update_kobjects+0x1dd/0x760 net/core/net-sysfs.c:1336
register_queue_kobjects net/core/net-sysfs.c:2134 [inline]
netdev_register_kobject+0x2c6/0x410 net/core/net-sysfs.c:2385
register_netdevice+0x1313/0x26b0 net/core/dev.c:11720
ieee802154_if_add+0xb70/0x10e0 net/mac802154/iface.c:669
ieee802154_register_hw+0x727/0xa60 net/mac802154/main.c:251
hwsim_add_one+0x6c7/0x13c0 drivers/net/ieee802154/mac802154_hwsim.c:969
hwsim_probe+0x4c/0x130 drivers/net/ieee802154/mac802154_hwsim.c:1026
platform_probe+0x106/0x1d0 drivers/base/platform.c:1508
Memory state around the buggy address:
ffff88802b5e2200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88802b5e2280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88802b5e2300: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
^
ffff88802b5e2380: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
ffff88802b5e2400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
0: b6 0a mov $0xa,%dh
2: 00 00 add %al,(%rax)
4: 41 c7 87 20 0e 00 00 movl $0x0,0xe20(%r15)
b: 00 00 00 00
f: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
14: 49 8d 7f 48 lea 0x48(%r15),%rdi
18: e8 b3 03 19 0a call 0xa1903d0
1d: e8 fe 9a 3d 00 call 0x3d9b20
22: fb sti
23: 48 8d bb 18 17 00 00 lea 0x1718(%rbx),%rdi
* 2a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction
31: fc ff df
34: 48 89 fa mov %rdi,%rdx
37: 48 c1 ea 03 shr $0x3,%rdx
3b: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax
3f: 84 .byte 0x84