[ 7.706262][ T22] audit: type=1400 audit(1634492475.299:67): avc: denied { read write } for pid=234 comm="getty" name="utmp" dev="tmpfs" ino=10178 scontext=system_u:system_r:getty_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [ 7.709841][ T22] audit: type=1400 audit(1634492475.299:68): avc: denied { open } for pid=234 comm="getty" path="/run/utmp" dev="tmpfs" ino=10178 scontext=system_u:system_r:getty_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 syzkaller syzkaller login: [ 14.755928][ T22] kauditd_printk_skb: 2 callbacks suppressed [ 14.755935][ T22] audit: type=1400 audit(1634492482.349:71): avc: denied { transition } for pid=265 comm="sshd" path="/bin/sh" dev="sda1" ino=73 scontext=system_u:system_r:initrc_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 14.762538][ T22] audit: type=1400 audit(1634492482.349:72): avc: denied { write } for pid=265 comm="sh" path="pipe:[10569]" dev="pipefs" ino=10569 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:initrc_t tclass=fifo_file permissive=1 [ 15.457754][ T266] sshd (266) used greatest stack depth: 23824 bytes left Warning: Permanently added '10.128.1.182' (ECDSA) to the list of known hosts. executing program [ 46.013024][ T22] audit: type=1400 audit(1634492513.599:73): avc: denied { execmem } for pid=298 comm="syz-executor417" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 46.033352][ T22] audit: type=1400 audit(1634492513.619:74): avc: denied { create } for pid=299 comm="syz-executor417" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=netlink_generic_socket permissive=1 [ 46.053952][ T22] audit: type=1400 audit(1634492513.629:75): avc: denied { write } for pid=299 comm="syz-executor417" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=netlink_generic_socket permissive=1 [ 46.074907][ T22] audit: type=1400 audit(1634492513.629:76): avc: denied { read } for pid=299 comm="syz-executor417" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=netlink_generic_socket permissive=1 executing program [ 51.032598][ T67] cfg80211: failed to load regulatory.db [ 51.050014][ T301] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 51.059514][ T301] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db [ 51.068435][ T301] ================================================================== [ 51.076500][ T301] BUG: KASAN: use-after-free in __list_add_valid+0x36/0xc0 [ 51.083752][ T301] Read of size 8 at addr ffff8881eed8ae88 by task syz-executor417/301 [ 51.091883][ T301] [ 51.094299][ T301] CPU: 1 PID: 301 Comm: syz-executor417 Not tainted 5.4.125-syzkaller-00028-g73e6d86c30ee #0 [ 51.109272][ T301] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.119297][ T301] Call Trace: [ 51.122564][ T301] dump_stack+0x1d8/0x24e [ 51.126878][ T301] ? show_regs_print_info+0x12/0x12 [ 51.132044][ T301] ? printk+0xcf/0x114 [ 51.136083][ T301] print_address_description+0x9b/0x650 [ 51.141627][ T301] ? devkmsg_release+0x11c/0x11c [ 51.146536][ T301] ? device_add+0x5d8/0x18a0 [ 51.151097][ T301] __kasan_report+0x182/0x260 [ 51.155757][ T301] ? __list_add_valid+0x36/0xc0 [ 51.160575][ T301] kasan_report+0x30/0x60 [ 51.164873][ T301] __list_add_valid+0x36/0xc0 [ 51.169535][ T301] firmware_fallback_sysfs+0x480/0xb20 [ 51.175223][ T301] _request_firmware+0x1287/0x1770 [ 51.180303][ T301] ? request_firmware+0x50/0x50 [ 51.185145][ T301] ? __nla_validate+0x50/0x50 [ 51.189802][ T301] request_firmware+0x33/0x50 [ 51.194469][ T301] reg_reload_regdb+0xa0/0x220 [ 51.199204][ T301] ? reg_query_regdb_wmm+0x510/0x510 [ 51.204460][ T301] ? nl80211_pre_doit+0x156/0x590 [ 51.209456][ T301] genl_rcv_msg+0xed8/0x13b0 [ 51.214017][ T301] ? genl_rcv+0x40/0x40 [ 51.218146][ T301] ? rhashtable_jhash2+0x1bf/0x2e0 [ 51.223224][ T301] ? jhash+0x740/0x740 [ 51.227260][ T301] ? rht_key_hashfn+0x112/0x1e0 [ 51.232551][ T301] ? rht_lock+0x100/0x100 [ 51.236851][ T301] ? __sys_sendmsg+0x2c4/0x3b0 [ 51.241584][ T301] ? rht_key_hashfn+0x1e0/0x1e0 [ 51.246401][ T301] ? netlink_hash+0xd0/0xd0 [ 51.250921][ T301] netlink_rcv_skb+0x200/0x480 [ 51.255653][ T301] ? genl_rcv+0x40/0x40 [ 51.259773][ T301] ? netlink_ack+0xab0/0xab0 [ 51.264373][ T301] ? __down_read+0xf1/0x210 [ 51.268842][ T301] ? __init_rwsem+0x200/0x200 [ 51.273492][ T301] ? __rcu_read_lock+0x50/0x50 [ 51.278225][ T301] ? selinux_vm_enough_memory+0x170/0x170 [ 51.283995][ T301] genl_rcv+0x24/0x40 [ 51.287946][ T301] netlink_unicast+0x865/0x9f0 [ 51.292684][ T301] ? netlink_detachskb+0x40/0x40 [ 51.297587][ T301] ? _copy_from_iter_full+0x29e/0x830 [ 51.302924][ T301] ? __virt_addr_valid+0x1fd/0x290 [ 51.308012][ T301] netlink_sendmsg+0x9ab/0xd40 [ 51.312753][ T301] ? netlink_getsockopt+0x8e0/0x8e0 [ 51.317914][ T301] ? import_iovec+0x1bc/0x380 [ 51.322555][ T301] ? security_socket_sendmsg+0x9d/0xb0 [ 51.327978][ T301] ? netlink_getsockopt+0x8e0/0x8e0 [ 51.333153][ T301] ____sys_sendmsg+0x583/0x8c0 [ 51.337883][ T301] ? __sys_sendmsg_sock+0x2b0/0x2b0 [ 51.343054][ T301] ? netlink_getsockopt+0x8e0/0x8e0 [ 51.348235][ T301] __sys_sendmsg+0x2c4/0x3b0 [ 51.352795][ T301] ? ____sys_sendmsg+0x8c0/0x8c0 [ 51.357708][ T301] ? check_preemption_disabled+0x154/0x330 [ 51.363490][ T301] ? do_user_addr_fault+0x6b0/0xb40 [ 51.368668][ T301] do_syscall_64+0xcb/0x1e0 [ 51.373147][ T301] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 51.379016][ T301] RIP: 0033:0x7f0a8d8107e9 [ 51.383407][ T301] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 14 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48 [ 51.402981][ T301] RSP: 002b:00007ffe4d59c318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 51.411361][ T301] RAX: ffffffffffffffda RBX: 000000000000b3be RCX: 00007f0a8d8107e9 [ 51.419302][ T301] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 [ 51.427240][ T301] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffe4d59c4b8 [ 51.435265][ T301] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe4d59c32c [ 51.443237][ T301] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 [ 51.451177][ T301] [ 51.453472][ T301] Allocated by task 67: [ 51.457597][ T301] __kasan_kmalloc+0x137/0x1e0 [ 51.462325][ T301] kmem_cache_alloc_trace+0x139/0x2b0 [ 51.467666][ T301] _request_firmware+0x524/0x1770 [ 51.472653][ T301] request_firmware_work_func+0x121/0x260 [ 51.478336][ T301] process_one_work+0x679/0x1030 [ 51.483410][ T301] worker_thread+0xa6f/0x1400 [ 51.488050][ T301] kthread+0x30f/0x330 [ 51.492088][ T301] ret_from_fork+0x1f/0x30 [ 51.496468][ T301] [ 51.498800][ T301] Freed by task 67: [ 51.502577][ T301] __kasan_slab_free+0x18a/0x240 [ 51.507482][ T301] slab_free_freelist_hook+0x7b/0x150 [ 51.512819][ T301] kfree+0xe0/0x660 [ 51.516594][ T301] release_firmware+0x47f/0x4d0 [ 51.521411][ T301] _request_firmware+0x145a/0x1770 [ 51.526488][ T301] request_firmware_work_func+0x121/0x260 [ 51.532174][ T301] process_one_work+0x679/0x1030 [ 51.537075][ T301] worker_thread+0xa6f/0x1400 [ 51.541718][ T301] kthread+0x30f/0x330 [ 51.545752][ T301] ret_from_fork+0x1f/0x30 [ 51.550129][ T301] [ 51.552427][ T301] The buggy address belongs to the object at ffff8881eed8ae00 [ 51.552427][ T301] which belongs to the cache kmalloc-192 of size 192 [ 51.566461][ T301] The buggy address is located 136 bytes inside of [ 51.566461][ T301] 192-byte region [ffff8881eed8ae00, ffff8881eed8aec0) [ 51.579693][ T301] The buggy address belongs to the page: [ 51.585291][ T301] page:ffffea0007bb6280 refcount:1 mapcount:0 mapping:ffff8881f5c02a00 index:0x0 [ 51.594360][ T301] flags: 0x8000000000000200(slab) [ 51.599351][ T301] raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881f5c02a00 [ 51.607900][ T301] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 51.616452][ T301] page dumped because: kasan: bad access detected [ 51.622828][ T301] page_owner tracks the page as allocated [ 51.628522][ T301] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12c00(GFP_NOIO|__GFP_NOWARN|__GFP_NORETRY) [ 51.640283][ T301] prep_new_page+0x19a/0x380 [ 51.644840][ T301] get_page_from_freelist+0x550/0x8b0 [ 51.650176][ T301] __alloc_pages_nodemask+0x3a2/0x880 [ 51.655512][ T301] alloc_slab_page+0x39/0x3e0 [ 51.660245][ T301] new_slab+0x97/0x460 [ 51.664276][ T301] ___slab_alloc+0x330/0x4c0 [ 51.668837][ T301] __kmalloc+0x1ee/0x2f0 [ 51.673046][ T301] bio_alloc_bioset+0x15d/0x640 [ 51.677860][ T301] bio_map_kern+0xd5/0x3b0 [ 51.682245][ T301] blk_rq_map_kern+0x25a/0x4a0 [ 51.686975][ T301] __scsi_execute+0xe1/0x5c0 [ 51.691532][ T301] scsi_get_vpd_page+0x55d/0x830 [ 51.696439][ T301] sd_revalidate_disk+0x1c23/0x7db0 [ 51.701603][ T301] sd_probe+0xa8d/0xf90 [ 51.705724][ T301] really_probe+0x74c/0x1100 [ 51.710309][ T301] driver_probe_device+0xe3/0x240 [ 51.715299][ T301] page last free stack trace: [ 51.719955][ T301] free_pcp_prepare+0x1a9/0x270 [ 51.724776][ T301] __free_pages+0x9c/0x250 [ 51.729163][ T301] __vunmap+0x7b6/0x8f0 [ 51.733285][ T301] free_partitions+0x32/0x40 [ 51.737842][ T301] rescan_partitions+0xcfd/0xd70 [ 51.742746][ T301] __blkdev_get+0x1008/0x1bb0 [ 51.747397][ T301] blkdev_get+0xa1/0x390 [ 51.751609][ T301] __device_add_disk+0xbc4/0x1200 [ 51.756603][ T301] sd_probe+0xa85/0xf90 [ 51.760812][ T301] really_probe+0x74c/0x1100 [ 51.765371][ T301] driver_probe_device+0xe3/0x240 [ 51.770372][ T301] __driver_attach_async_helper+0x196/0x290 [ 51.776242][ T301] async_run_entry_fn+0xea/0x3c0 [ 51.781157][ T301] process_one_work+0x679/0x1030 [ 51.786064][ T301] worker_thread+0xa6f/0x1400 [ 51.790710][ T301] kthread+0x30f/0x330 [ 51.794749][ T301] [ 51.797043][ T301] Memory state around the buggy address: [ 51.802640][ T301] ffff8881eed8ad80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 51.810760][ T301] ffff8881eed8ae00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 51.818792][ T301] >ffff8881eed8ae80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 51.826877][ T301] ^ [ 51.831207][ T301] ffff8881eed8af00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 51.839243][ T301] ffff8881eed8af80: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.847269][ T301] ================================================================== [ 51.855384][ T301] Disabling lock debugging due to kernel taint executing program [ 56.040267][ T301] syz-executor417 (301) used greatest stack depth: 21680 bytes left [ 56.042138][ T303] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 56.057818][ T303] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db executing program [ 61.043250][ T305] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 61.052819][ T305] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db