[ 67.726173][ T42] kauditd_printk_skb: 10 callbacks suppressed [ 67.730178][ T42] audit: type=1400 audit(1788524577.182:210): avc: denied { transition } for pid=5975 comm="sshd-session" path="/bin/sh" dev="sda1" ino=90 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 67.730237][ T42] audit: type=1400 audit(1788524577.182:211): avc: denied { noatsecure } for pid=5975 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 67.730273][ T42] audit: type=1400 audit(1788524577.182:212): avc: denied { rlimitinh } for pid=5975 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 67.730315][ T42] audit: type=1400 audit(1788524577.182:213): avc: denied { siginh } for pid=5975 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 70.513627][ T42] audit: type=1400 audit(1788524579.972:214): avc: denied { write } for pid=5979 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1839 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 70.582654][ T42] audit: type=1400 audit(1788524580.042:215): avc: denied { write } for pid=5982 comm="rm" name="hook-state" dev="tmpfs" ino=1839 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 71.241746][ T42] audit: type=1400 audit(1788524580.702:216): avc: denied { write } for pid=5985 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1839 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 71.301770][ T42] audit: type=1400 audit(1788524580.762:217): avc: denied { write } for pid=5988 comm="rm" name="hook-state" dev="tmpfs" ino=1839 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 71.535467][ T1444] ieee802154 phy0 wpan0: encryption failed: -22 [ 71.535575][ T1444] ieee802154 phy1 wpan1: encryption failed: -22 [ 71.572170][ T42] audit: type=1400 audit(1788524581.032:218): avc: denied { write } for pid=5991 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1839 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 71.624345][ T42] audit: type=1400 audit(1788524581.082:219): avc: denied { write } for pid=5994 comm="rm" name="hook-state" dev="tmpfs" ino=1839 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 72.918099][ T42] kauditd_printk_skb: 4 callbacks suppressed [ 72.918177][ T42] audit: type=1400 audit(1788524582.372:224): avc: denied { write } for pid=6013 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1839 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 72.978128][ T42] audit: type=1400 audit(1788524582.432:225): avc: denied { write } for pid=6016 comm="rm" name="hook-state" dev="tmpfs" ino=1839 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 73.933408][ T42] audit: type=1400 audit(1788524583.392:226): avc: denied { write } for pid=6019 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1839 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 73.987726][ T42] audit: type=1400 audit(1788524583.442:227): avc: denied { write } for pid=6022 comm="rm" name="hook-state" dev="tmpfs" ino=1839 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 74.115266][ T42] audit: type=1400 audit(1788524583.572:228): avc: denied { write } for pid=6025 comm="dhcpcd-run-hook" name="hook-state" dev="tmpfs" ino=1839 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 74.198677][ T42] audit: type=1400 audit(1788524583.652:229): avc: denied { write } for pid=6028 comm="rm" name="hook-state" dev="tmpfs" ino=1839 scontext=system_u:system_r:dhcpc_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 Warning: Permanently added '[localhost]:45553' (ED25519) to the list of known hosts. [+] mount configfs successful. [+] mkdir /sys/kernel/config/usb_gadget successful. [+] mkdir /sys/kernel/config/usb_gadget/g1 successful. [ 74.936206][ T42] audit: type=1400 audit(1788524584.392:230): avc: denied { mounton } for pid=6038 comm="syz-executor225" path="/sys/kernel/config" dev="configfs" ino=1076 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:configfs_t tclass=dir permissive=1 [+] write idVendor successful. [+] write idProduct successful. [+] mkdir /sys/kernel/config/usb_gadget/g1/functions/acm.usb0 successful. [+] Found ttyGS0 major/minor: 501:0 [+] mknod /tmp/ttyGS0 successful. [ 74.936321][ T42] audit: type=1400 audit(1788524584.392:231): avc: denied { mount } for pid=6038 comm="syz-executor225" name="/" dev="configfs" ino=1076 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:configfs_t tclass=filesystem permissive=1 [+] rmdir /sys/kernel/config/usb_gadget/g1/functions/acm.usb0 successful. [+] open_thread created. [+] rmdir_thread created. [ 74.940948][ T42] audit: type=1400 audit(1788524584.392:232): avc: denied { search } for pid=6038 comm="syz-executor225" name="/" dev="configfs" ino=1076 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:configfs_t tclass=dir permissive=1 [ 74.941014][ T42] audit: type=1400 audit(1788524584.392:233): avc: denied { search } for pid=6038 comm="syz-executor225" name="/" dev="configfs" ino=1076 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:configfs_t tclass=dir permissive=1 [ 74.956259][ T6038] printk: legacy console [ttyGS0] disabled [ 74.969021][ T6041] printk: legacy console [ttyGS0] disabled [ 74.977453][ T6041] printk: legacy console [ttyGS0] disabled [ 74.983255][ T6041] printk: legacy console [ttyGS0] disabled [ 74.988261][ T6041] printk: legacy console [ttyGS0] disabled [ 74.997128][ T6041] printk: legacy console [ttyGS0] disabled [ 75.001752][ T6041] printk: legacy console [t ** replaying previous printk message ** [ 75.001752][ T6041] printk: legacy console [ttyGS0] disabled [ 75.002184][ T6040] ================================================================== [ 75.002195][ T6040] BUG: KASAN: slab-use-after-free in release_tty+0x5a8/0x5f0 [ 75.002220][ T6040] Write of size 8 at addr ffff888059b4e128 by task syz-executor225/6040 [ 75.002228][ T6040] [ 75.002236][ T6040] CPU: 0 UID: 0 PID: 6040 Comm: syz-executor225 Not tainted syzkaller #0 PREEMPT(full) [ 75.002249][ T6040] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 75.002255][ T6040] Call Trace: [ 75.002260][ T6040] [ 75.002265][ T6040] dump_stack_lvl+0x100/0x190 [ 75.002283][ T6040] print_report+0x13d/0x4b0 [ 75.002300][ T6040] ? __virt_addr_valid+0x239/0x430 [ 75.002313][ T6040] ? release_tty+0x5a8/0x5f0 [ 75.002329][ T6040] kasan_report+0xdf/0x1c0 [ 75.002343][ T6040] ? release_tty+0x5a8/0x5f0 [ 75.002359][ T6040] release_tty+0x5a8/0x5f0 [ 75.002375][ T6040] tty_release_struct+0xb7/0xe0 [ 75.002391][ T6040] tty_release+0xd7a/0x1300 [ 75.002401][ T6040] ? ima_file_free+0xc6/0x340 [ 75.002419][ T6040] ? __pfx_tty_release+0x10/0x10 [ 75.002428][ T6040] __fput+0x3ff/0xb50 [ 75.002443][ T6040] fput_close_sync+0x118/0x250 [ 75.002457][ T6040] ? __pfx_fput_close_sync+0x10/0x10 [ 75.002472][ T6040] __x64_sys_close+0x8b/0x120 [ 75.002486][ T6040] do_syscall_64+0x123/0x790 [ 75.002501][ T6040] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.002513][ T6040] RIP: 0033:0x7fbe65d3765e [ 75.002522][ T6040] Code: 08 0f 85 f5 e2 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 90 41 57 41 56 4d 89 c6 41 55 4d 89 cd 41 54 55 53 48 83 ec 08 [ 75.002532][ T6040] RSP: 002b:00007fbe65cc81a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 75.002544][ T6040] RAX: ffffffffffffffda RBX: 00007fbe65cc86c0 RCX: 00007fbe65d3765e [ 75.002551][ T6040] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 75.002558][ T6040] RBP: 0000000000000021 R08: 0000000000000000 R09: 0000000000000000 [ 75.002564][ T6040] R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffd0 [ 75.002571][ T6040] R13: 0000000000000011 R14: 00007ffc673449c0 R15: 00007ffc67344aa8 [ 75.002580][ T6040] [ 75.002584][ T6040] [ 75.002587][ T6040] Allocated by task 6041: [ 75.002592][ T6040] kasan_save_stack+0x30/0x50 [ 75.002603][ T6040] kasan_save_track+0x14/0x30 [ 75.002612][ T6040] __kasan_kmalloc+0xaa/0xb0 [ 75.002622][ T6040] __kmalloc_cache_noprof+0x2f8/0x6d0 [ 75.002636][ T6040] gserial_alloc_line_no_console+0xac/0x710 [ 75.002656][ T6040] gserial_alloc_line+0x16/0xa0 [ 75.002670][ T6040] acm_alloc_instance+0xd9/0x160 [ 75.002679][ T6040] try_get_usb_function_instance+0x136/0x1f0 [ 75.002694][ T6040] usb_get_function_instance+0x16/0x70 [ 75.002708][ T6040] function_make+0x18c/0x3f0 [ 75.002719][ T6040] configfs_mkdir+0x525/0xd40 [ 75.002729][ T6040] vfs_mkdir+0x364/0x850 [ 75.002743][ T6040] filename_mkdirat+0x48b/0x5e0 [ 75.002755][ T6040] __x64_sys_mkdir+0x6b/0x90 [ 75.002766][ T6040] do_syscall_64+0x123/0x790 [ 75.002776][ T6040] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.002786][ T6040] [ 75.002789][ T6040] Freed by task 6041: [ 75.002793][ T6040] kasan_save_stack+0x30/0x50 [ 75.002803][ T6040] kasan_save_track+0x14/0x30 [ 75.002812][ T6040] kasan_save_free_info+0x3b/0x70 [ 75.002826][ T6040] __kasan_slab_free+0x5f/0x80 [ 75.002837][ T6040] kfree+0x22b/0x6d0 [ 75.002849][ T6040] gserial_free_port+0x146/0x2f0 [ 75.002862][ T6040] gserial_free_line+0xf8/0x1e0 [ 75.002876][ T6040] acm_free_instance+0x3b/0x60 [ 75.002885][ T6040] usb_put_function_instance+0x89/0xc0 [ 75.002898][ T6040] config_item_cleanup+0x146/0x240 [ 75.002908][ T6040] config_item_put+0x93/0xb0 [ 75.002918][ T6040] configfs_rmdir+0x5e3/0x950 [ 75.002926][ T6040] vfs_rmdir+0x328/0x8a0 [ 75.002940][ T6040] filename_rmdir+0x31a/0x5c0 [ 75.002952][ T6040] __x64_sys_rmdir+0x46/0x70 [ 75.002963][ T6040] do_syscall_64+0x123/0x790 [ 75.002973][ T6040] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.002983][ T6040] [ 75.002985][ T6040] The buggy address belongs to the object at ffff888059b4e000 [ 75.002985][ T6040] which belongs to the cache kmalloc-2k of size 2048 [ 75.002993][ T6040] The buggy address is located 296 bytes inside of [ 75.002993][ T6040] freed 2048-byte region [ffff888059b4e000, ffff888059b4e800) [ 75.003002][ T6040] [ 75.003005][ T6040] The buggy address belongs to the physical page: [ 75.003010][ T6040] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888059b4a000 pfn:0x59b48 [ 75.003020][ T6040] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 75.003028][ T6040] flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff) [ 75.003039][ T6040] page_type: f5(slab) [ 75.003048][ T6040] raw: 00fff00000000240 ffff88801c042f00 ffffea0000cf6810 ffffea0000b94010 [ 75.003057][ T6040] raw: ffff888059b4a000 0000000000080005 00000000f5000000 0000000000000000 [ 75.003066][ T6040] head: 00fff00000000240 ffff88801c042f00 ffffea0000cf6810 ffffea0000b94010 [ 75.003074][ T6040] head: ffff888059b4a000 0000000000080005 00000000f5000000 0000000000000000 [ 75.003083][ T6040] head: 00fff00000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff [ 75.003091][ T6040] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 75.003096][ T6040] page dumped because: kasan: bad access detected [ 75.003101][ T6040] page_owner tracks the page as allocated [ 75.003105][ T6040] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5859, tgid 5859 (syz-executor), ts 56318004583 [ 75.003121][ T6040] post_alloc_hook+0xfd/0x120 [ 75.003135][ T6040] get_page_from_freelist+0x110d/0x35d0 [ 75.003150][ T6040] __alloc_frozen_pages_noprof+0x2eb/0x3300 [ 75.003165][ T6040] new_slab+0xa9/0x6e0 [ 75.003201][ T6040] refill_objects+0xe3/0x410 [ 75.003219][ T6040] __pcs_replace_empty_main+0x35e/0x650 [ 75.003237][ T6040] __kmalloc_node_track_caller_noprof+0x6a8/0x870 [ 75.003250][ T6040] kmalloc_reserve+0xe8/0x350 [ 75.003266][ T6040] pskb_expand_head+0x249/0x10e0 [ 75.003277][ T6040] netlink_trim+0x22d/0x2f0 [ 75.003294][ T6040] netlink_broadcast_filtered+0x6d/0xf20 [ 75.003312][ T6040] nlmsg_notify+0xb1/0x290 [ 75.003327][ T6040] rtmsg_ifinfo+0x177/0x1b0 [ 75.003339][ T6040] __dev_notify_flags+0x362/0x4b0 [ 75.003356][ T6040] rtnl_configure_link+0x21b/0x4c0 [ 75.003371][ T6040] veth_newlink+0x3af/0xce0 [ 75.003383][ T6040] page last free pid 5806 tgid 5806 ts 54631447301 stack trace: [ 75.003391][ T6040] free_pages_prepare+0x586/0xe00 [ 75.003404][ T6040] __free_contig_range_common+0x14f/0x250 [ 75.003417][ T6040] free_pages_bulk+0x12a/0x200 [ 75.003432][ T6040] vm_area_free_pages+0xb2/0x2a0 [ 75.003448][ T6040] vfree+0xf7/0x6d0 [ 75.003458][ T6040] kcov_close+0x34/0x60 [ 75.003468][ T6040] __fput+0x3ff/0xb50 [ 75.003479][ T6040] task_work_run+0x150/0x240 [ 75.003494][ T6040] do_exit+0x951/0x2ae0 [ 75.003507][ T6040] do_group_exit+0xd5/0x2a0 [ 75.003519][ T6040] get_signal+0x1ec7/0x21e0 [ 75.003529][ T6040] arch_do_signal_or_restart+0x91/0x7e0 [ 75.003545][ T6040] exit_to_user_mode_loop+0x139/0x700 [ 75.003556][ T6040] do_syscall_64+0x661/0x790 [ 75.003566][ T6040] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.003576][ T6040] [ 75.003579][ T6040] Memory state around the buggy address: [ 75.003584][ T6040] ffff888059b4e000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 75.003591][ T6040] ffff888059b4e080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 75.003597][ T6040] >ffff888059b4e100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 75.003602][ T6040] ^ [ 75.003607][ T6040] ffff888059b4e180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 75.003614][ T6040] ffff888059b4e200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 75.003619][ T6040] ================================================================== [ 75.003664][ T6040] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 75.336483][ T6040] CPU: 0 UID: 0 PID: 6040 Comm: syz-executor225 Not tainted syzkaller #0 PREEMPT(full) [ 75.340901][ T6040] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 75.344879][ T6040] Call Trace: [ 75.346145][ T6040] [ 75.347427][ T6040] dump_stack_lvl+0x100/0x190 [ 75.349253][ T6040] vpanic+0x553/0x970 [ 75.350840][ T6040] ? __pfx_vpanic+0x10/0x10 [ 75.352868][ T6040] ? mark_held_locks+0x40/0x70 [ 75.355227][ T6040] ? irqentry_exit+0x24d/0xa10 [ 75.357473][ T6040] ? release_tty+0x5a8/0x5f0 [ 75.359373][ T6040] panic+0xd1/0xe0 [ 75.361060][ T6040] ? __pfx_panic+0x10/0x10 [ 75.362920][ T6040] ? release_tty+0x5a8/0x5f0 [ 75.365136][ T6040] ? preempt_schedule_common+0x3c/0xb0 [ 75.367574][ T6040] check_panic_on_warn.cold+0x19/0x34 [ 75.369909][ T6040] end_report.part.0+0x3a/0x90 [ 75.371979][ T6040] kasan_report.cold+0xe/0x18 [ 75.373977][ T6040] ? release_tty+0x5a8/0x5f0 [ 75.376148][ T6040] release_tty+0x5a8/0x5f0 [ 75.378470][ T6040] tty_release_struct+0xb7/0xe0 [ 75.380485][ T6040] tty_release+0xd7a/0x1300 [ 75.382315][ T6040] ? ima_file_free+0xc6/0x340 [ 75.384245][ T6040] ? __pfx_tty_release+0x10/0x10 [ 75.386466][ T6040] __fput+0x3ff/0xb50 [ 75.388397][ T6040] fput_close_sync+0x118/0x250 [ 75.390594][ T6040] ? __pfx_fput_close_sync+0x10/0x10 [ 75.392911][ T6040] __x64_sys_close+0x8b/0x120 [ 75.395035][ T6040] do_syscall_64+0x123/0x790 [ 75.396988][ T6040] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.399756][ T6040] RIP: 0033:0x7fbe65d3765e [ 75.401713][ T6040] Code: 08 0f 85 f5 e2 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 90 41 57 41 56 4d 89 c6 41 55 4d 89 cd 41 54 55 53 48 83 ec 08 [ 75.409907][ T6040] RSP: 002b:00007fbe65cc81a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 75.413730][ T6040] RAX: ffffffffffffffda RBX: 00007fbe65cc86c0 RCX: 00007fbe65d3765e [ 75.416859][ T6040] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 75.420383][ T6040] RBP: 0000000000000021 R08: 0000000000000000 R09: 0000000000000000 [ 75.423961][ T6040] R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffd0 [ 75.428018][ T6040] R13: 0000000000000011 R14: 00007ffc673449c0 R15: 00007ffc67344aa8 [ 75.431541][ T6040] [ 75.433465][ T6040] Kernel Offset: disabled [ 75.435414][ T6040] Rebooting in 86400 seconds..