platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 platform regulatory.0: Falling back to sysfs fallback for: regulatory.db ================================================================== BUG: KASAN: slab-out-of-bounds in __list_add_valid+0x36/0xc0 lib/list_debug.c:23 Read of size 8 at addr ffff8881e1182f88 by task syz-executor.4/3537 CPU: 0 PID: 3537 Comm: syz-executor.4 Not tainted 5.4.125-syzkaller-00013-g3ce13296e72d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x24e lib/dump_stack.c:118 print_address_description+0x9b/0x650 mm/kasan/report.c:384 __kasan_report+0x182/0x260 mm/kasan/report.c:516 kasan_report+0x30/0x60 mm/kasan/common.c:653 __list_add_valid+0x36/0xc0 lib/list_debug.c:23 __list_add include/linux/list.h:60 [inline] list_add include/linux/list.h:79 [inline] fw_load_sysfs_fallback drivers/base/firmware_loader/fallback.c:515 [inline] fw_load_from_user_helper drivers/base/firmware_loader/fallback.c:580 [inline] firmware_fallback_sysfs+0x480/0xb20 drivers/base/firmware_loader/fallback.c:654 _request_firmware+0x1287/0x1770 drivers/base/firmware_loader/main.c:788 request_firmware+0x33/0x50 drivers/base/firmware_loader/main.c:831 reg_reload_regdb+0xa0/0x220 net/wireless/reg.c:1083 genl_family_rcv_msg net/netlink/genetlink.c:629 [inline] genl_rcv_msg+0xed8/0x13b0 net/netlink/genetlink.c:654 netlink_rcv_skb+0x200/0x480 net/netlink/af_netlink.c:2478 genl_rcv+0x24/0x40 net/netlink/genetlink.c:665 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x865/0x9f0 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x9ab/0xd40 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x583/0x8c0 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmsg+0x2c4/0x3b0 net/socket.c:2398 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2ef2c2c188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd173a7faf R14: 00007f2ef2c2c300 R15: 0000000000022000 Allocated by task 145: save_stack mm/kasan/common.c:70 [inline] set_track mm/kasan/common.c:78 [inline] __kasan_kmalloc+0x137/0x1e0 mm/kasan/common.c:529 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2821 [inline] slab_alloc mm/slub.c:2829 [inline] kmem_cache_alloc+0x115/0x290 mm/slub.c:2834 vm_area_dup kernel/fork.c:358 [inline] dup_mmap+0x4bf/0xbd0 kernel/fork.c:545 dup_mm+0x8c/0x300 kernel/fork.c:1367 copy_mm kernel/fork.c:1423 [inline] copy_process+0x1f3d/0x5630 kernel/fork.c:2040 _do_fork+0x18f/0x900 kernel/fork.c:2391 __do_sys_clone kernel/fork.c:2549 [inline] __se_sys_clone kernel/fork.c:2530 [inline] __x64_sys_clone+0x25b/0x2c0 kernel/fork.c:2530 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Freed by task 3402: save_stack mm/kasan/common.c:70 [inline] set_track mm/kasan/common.c:78 [inline] kasan_set_free_info mm/kasan/common.c:345 [inline] __kasan_slab_free+0x18a/0x240 mm/kasan/common.c:487 slab_free_hook mm/slub.c:1454 [inline] slab_free_freelist_hook+0x7b/0x150 mm/slub.c:1492 slab_free mm/slub.c:3072 [inline] kmem_cache_free+0xb8/0x5f0 mm/slub.c:3088 remove_vma mm/mmap.c:181 [inline] exit_mmap+0x43d/0x540 mm/mmap.c:3185 __mmput+0x34/0x240 kernel/fork.c:1089 exit_mm kernel/exit.c:489 [inline] do_exit+0xc19/0x2bf0 kernel/exit.c:799 do_group_exit+0x15c/0x2c0 kernel/exit.c:910 __do_sys_exit_group+0x13/0x20 kernel/exit.c:921 __ia32_sys_exit_group+0x0/0x40 kernel/exit.c:919 __x64_sys_exit_group+0x37/0x40 kernel/exit.c:919 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 The buggy address belongs to the object at ffff8881e1182ea0 which belongs to the cache vm_area_struct of size 224 The buggy address is located 8 bytes to the right of 224-byte region [ffff8881e1182ea0, ffff8881e1182f80) The buggy address belongs to the page: page:ffffea0007846080 refcount:1 mapcount:0 mapping:ffff8881f5cf8a00 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 ffffea00078133c0 0000000b0000000b ffff8881f5cf8a00 raw: 0000000000000000 00000000000e000e 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY) set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook mm/page_alloc.c:2165 [inline] prep_new_page+0x19a/0x380 mm/page_alloc.c:2171 get_page_from_freelist+0x550/0x8b0 mm/page_alloc.c:3794 __alloc_pages_nodemask+0x3a2/0x880 mm/page_alloc.c:4855 alloc_slab_page+0x39/0x3e0 mm/slub.c:342 allocate_slab mm/slub.c:1675 [inline] new_slab+0x97/0x460 mm/slub.c:1741 new_slab_objects mm/slub.c:2498 [inline] ___slab_alloc+0x330/0x4c0 mm/slub.c:2659 __slab_alloc mm/slub.c:2699 [inline] slab_alloc_node mm/slub.c:2784 [inline] slab_alloc mm/slub.c:2829 [inline] kmem_cache_alloc+0x18b/0x290 mm/slub.c:2834 vm_area_dup kernel/fork.c:358 [inline] dup_mmap+0x4bf/0xbd0 kernel/fork.c:545 dup_mm+0x8c/0x300 kernel/fork.c:1367 copy_mm kernel/fork.c:1423 [inline] copy_process+0x1f3d/0x5630 kernel/fork.c:2040 _do_fork+0x18f/0x900 kernel/fork.c:2391 __do_sys_clone kernel/fork.c:2549 [inline] __se_sys_clone kernel/fork.c:2530 [inline] __x64_sys_clone+0x25b/0x2c0 kernel/fork.c:2530 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1176 [inline] free_pcp_prepare+0x1a9/0x270 mm/page_alloc.c:1233 free_unref_page_prepare mm/page_alloc.c:3085 [inline] free_unref_page mm/page_alloc.c:3134 [inline] free_the_page mm/page_alloc.c:4915 [inline] __free_pages+0x9c/0x250 mm/page_alloc.c:4923 __vunmap+0x7b6/0x8f0 mm/vmalloc.c:2260 netlink_skb_destructor+0x9e/0x1c0 net/netlink/af_netlink.c:366 skb_release_head_state+0xfb/0x210 net/core/skbuff.c:662 skb_release_all net/core/skbuff.c:673 [inline] __kfree_skb+0x21/0x170 net/core/skbuff.c:689 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x86d/0x9f0 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x9ab/0xd40 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] kernel_sendmsg+0xf5/0x130 net/socket.c:678 sock_no_sendpage+0x143/0x1b0 net/core/sock.c:2762 kernel_sendpage net/socket.c:3764 [inline] sock_sendpage+0xd0/0x120 net/socket.c:936 pipe_to_sendpage+0x23b/0x300 fs/splice.c:449 splice_from_pipe_feed fs/splice.c:500 [inline] __splice_from_pipe+0x2d3/0x870 fs/splice.c:624 splice_from_pipe fs/splice.c:659 [inline] generic_splice_sendpage+0x181/0x210 fs/splice.c:829 do_splice_from fs/splice.c:848 [inline] do_splice fs/splice.c:1156 [inline] __do_sys_splice fs/splice.c:1433 [inline] __se_sys_splice+0x7a8/0x1b00 fs/splice.c:1413 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290 Memory state around the buggy address: ffff8881e1182e80: fc fc fc fc fb fb fb fb fb fb fb fb fb fb fb fb ffff8881e1182f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff8881e1182f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8881e1183000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8881e1183080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ================================================================== list_add corruption. next->prev should be prev (ffffffff86108020), but was 8da0010200000d4a. (next=ffff8881e1182f80). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:25! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3537 Comm: syz-executor.4 Tainted: G B 5.4.125-syzkaller-00013-g3ce13296e72d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_add_valid+0xa0/0xc0 lib/list_debug.c:23 Code: e0 8e 03 85 4c 89 fe 4c 89 e2 4c 89 f1 31 c0 e8 b2 84 21 ff 0f 0b 48 c7 c7 a0 8d 03 85 4c 89 e6 4c 89 f1 31 c0 e8 9c 84 21 ff <0f> 0b 48 c7 c7 60 8e 03 85 4c 89 f6 4c 89 e1 31 c0 e8 86 84 21 ff RSP: 0018:ffff8881e35f72c8 EFLAGS: 00010246 RAX: 0000000000000075 RBX: ffff8881e1182f88 RCX: 5e489e4253a97b00 RDX: ffffc900059c3000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff8881e1182f80 R08: ffffffff814e90d7 R09: ffffed103ede9608 R10: ffffed103ede9608 R11: 0000000000000000 R12: ffffffff86108020 R13: dffffc0000000000 R14: ffff8881e1182f80 R15: ffff8881e279a080 FS: 00007f2ef2c2c700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff44dbc288 CR3: 00000001e33a8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add include/linux/list.h:60 [inline] list_add include/linux/list.h:79 [inline] fw_load_sysfs_fallback drivers/base/firmware_loader/fallback.c:515 [inline] fw_load_from_user_helper drivers/base/firmware_loader/fallback.c:580 [inline] firmware_fallback_sysfs+0x480/0xb20 drivers/base/firmware_loader/fallback.c:654 _request_firmware+0x1287/0x1770 drivers/base/firmware_loader/main.c:788 request_firmware+0x33/0x50 drivers/base/firmware_loader/main.c:831 reg_reload_regdb+0xa0/0x220 net/wireless/reg.c:1083 genl_family_rcv_msg net/netlink/genetlink.c:629 [inline] genl_rcv_msg+0xed8/0x13b0 net/netlink/genetlink.c:654 netlink_rcv_skb+0x200/0x480 net/netlink/af_netlink.c:2478 genl_rcv+0x24/0x40 net/netlink/genetlink.c:665 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x865/0x9f0 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x9ab/0xd40 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:638 [inline] sock_sendmsg net/socket.c:658 [inline] ____sys_sendmsg+0x583/0x8c0 net/socket.c:2298 ___sys_sendmsg net/socket.c:2352 [inline] __sys_sendmsg+0x2c4/0x3b0 net/socket.c:2398 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2ef2c2c188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd173a7faf R14: 00007f2ef2c2c300 R15: 0000000000022000 Modules linked in: ---[ end trace 3b57f44e39561484 ]--- RIP: 0010:__list_add_valid+0xa0/0xc0 lib/list_debug.c:23 Code: e0 8e 03 85 4c 89 fe 4c 89 e2 4c 89 f1 31 c0 e8 b2 84 21 ff 0f 0b 48 c7 c7 a0 8d 03 85 4c 89 e6 4c 89 f1 31 c0 e8 9c 84 21 ff <0f> 0b 48 c7 c7 60 8e 03 85 4c 89 f6 4c 89 e1 31 c0 e8 86 84 21 ff RSP: 0018:ffff8881e35f72c8 EFLAGS: 00010246 RAX: 0000000000000075 RBX: ffff8881e1182f88 RCX: 5e489e4253a97b00 RDX: ffffc900059c3000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff8881e1182f80 R08: ffffffff814e90d7 R09: ffffed103ede9608 R10: ffffed103ede9608 R11: 0000000000000000 R12: ffffffff86108020 R13: dffffc0000000000 R14: ffff8881e1182f80 R15: ffff8881e279a080 FS: 00007f2ef2c2c700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f465a150000 CR3: 00000001e33a8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400