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 ffff8880321d6340 by task syz.5.684/8761 CPU: 1 UID: 0 PID: 8761 Comm: syz.5.684 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: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:lock_release+0x2e1/0x3c0 kernel/locking/lockdep.c:5967 Code: d8 8f 13 00 00 00 00 eb b5 e8 fb 45 94 0a f7 c3 00 02 00 00 74 b9 65 48 8b 05 23 90 8f 13 48 3b 44 24 28 75 48 fb 48 83 c4 30 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 00 54 97 0a cc 48 8d 3d d8 77 60 RSP: 0018:ffffc9000661f508 EFLAGS: 00000282 RAX: be12d045ba1ee500 RBX: 0000000000000206 RCX: 8000000000000002 RDX: 00000000d01a2edc RSI: ffffffff8ecd2fb7 RDI: ffffffff8cb05c80 RBP: ffff88805776caa8 R08: ffffffff82695a53 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000004 R13: 0000000000000004 R14: ffff888078d372b0 R15: ffff88805776be80 __raw_spin_unlock include/linux/spinlock_api_smp.h:199 [inline] _raw_spin_unlock+0x16/0x50 kernel/locking/spinlock.c:213 spin_unlock include/linux/spinlock.h:401 [inline] dentry_unlink_inode+0x1e4/0x470 fs/dcache.c:503 dentry_kill+0x1b9/0x910 fs/dcache.c:857 shrink_kill fs/dcache.c:1318 [inline] shrink_dentry_list+0x209/0x310 fs/dcache.c:1335 prune_dcache_sb+0x119/0x180 fs/dcache.c:1417 super_cache_scan+0x362/0x4a0 fs/super.c:307 do_shrink_slab+0x6d0/0x10d0 mm/shrinker.c:452 shrink_slab+0xea4/0x1210 mm/shrinker.c:683 drop_slab_node mm/vmscan.c:374 [inline] drop_slab+0x140/0x280 mm/vmscan.c:392 drop_caches_sysctl_handler+0xc7/0x170 fs/drop_caches.c:68 proc_sys_call_handler+0x4e7/0x880 fs/proc/proc_sysctl.c:717 do_iter_readv_writev+0x612/0x8c0 fs/read_write.c:-1 vfs_writev+0x33d/0x9a0 fs/read_write.c:1093 do_writev+0x154/0x2e0 fs/read_write.c:1139 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:0x00007f4c37fa9c99 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:00007f4c38ec0028 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f4c38235fa0 RCX: 00007f4c37fa9c99 RDX: 0000000000000001 RSI: 0000200000001380 RDI: 0000000000000006 RBP: 00007f4c3803b18b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4c38236038 R14: 00007f4c38235fa0 R15: 00007ffef3410138 Allocated by task 8761: 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 ffff8880321d6080 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 [ffff8880321d6080, ffff8880321d6340) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x321d4 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 ffff88814040c000 dead000000000100 dead000000000122 raw: 0000000000000000 0000000200130013 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88814040c000 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 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5644, tgid 5644 (udevd), ts 69529254294 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page+0x22/0xb0 mm/page_alloc.c:1879 get_page_from_freelist+0x24ef/0x2530 mm/page_alloc.c:4009 __alloc_frozen_pages_noprof+0x211/0x450 mm/page_alloc.c:5555 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 netlink_sendmsg+0x5cd/0xb20 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800 __sock_sendmsg net/socket.c:818 [inline] ____sys_sendmsg+0x49f/0x790 net/socket.c:2713 ___sys_sendmsg+0x2f8/0x3d0 net/socket.c:2770 __sys_sendmsg net/socket.c:2802 [inline] __do_sys_sendmsg net/socket.c:2807 [inline] __se_sys_sendmsg net/socket.c:2805 [inline] __x64_sys_sendmsg+0x1b1/0x290 net/socket.c:2805 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 page last free pid 5646 tgid 5646 ts 69527585147 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1413 [inline] __free_frozen_pages+0xd1a/0xe10 mm/page_alloc.c:2969 __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] __do_kmalloc_node mm/slub.c:5568 [inline] __kmalloc_noprof+0x302/0x720 mm/slub.c:5594 _kmalloc_noprof include/linux/slab.h:988 [inline] tomoyo_realpath_from_path+0xf2/0x640 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x283/0x560 security/tomoyo/file.c:827 security_inode_getattr+0x12b/0x310 security/security.c:1918 vfs_getattr fs/stat.c:268 [inline] vfs_fstat fs/stat.c:290 [inline] __do_sys_newfstat fs/stat.c:569 [inline] __se_sys_newfstat+0x133/0x440 fs/stat.c:564 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: ffff8880321d6200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880321d6280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880321d6300: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ^ ffff8880321d6380: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ffff8880321d6400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ---------------- Code disassembly (best guess): 0: d8 8f 13 00 00 00 fmuls 0x13(%rdi) 6: 00 eb add %ch,%bl 8: b5 e8 mov $0xe8,%ch a: fb sti b: 45 94 rex.RB xchg %eax,%r12d d: 0a f7 or %bh,%dh f: c3 ret 10: 00 02 add %al,(%rdx) 12: 00 00 add %al,(%rax) 14: 74 b9 je 0xffffffcf 16: 65 48 8b 05 23 90 8f mov %gs:0x138f9023(%rip),%rax # 0x138f9041 1d: 13 1e: 48 3b 44 24 28 cmp 0x28(%rsp),%rax 23: 75 48 jne 0x6d 25: fb sti 26: 48 83 c4 30 add $0x30,%rsp * 2a: 5b pop %rbx <-- trapping instruction 2b: 41 5c pop %r12 2d: 41 5d pop %r13 2f: 41 5e pop %r14 31: 41 5f pop %r15 33: 5d pop %rbp 34: e9 00 54 97 0a jmp 0xa975439 39: cc int3 3a: 48 rex.W 3b: 8d .byte 0x8d 3c: 3d .byte 0x3d 3d: d8 77 60 fdivs 0x60(%rdi)