ci starts bisection 2023-01-08 04:24:49.535623921 +0000 UTC m=+229404.830358921 bisecting cause commit starting from a689b938df39ab513026c53fb7011fd7cd594943 building syzkaller on 1dac8c7a01e2bdd35cb04eb4901ddb157291ac2d ensuring issue is reproducible on original commit a689b938df39ab513026c53fb7011fd7cd594943 testing commit a689b938df39ab513026c53fb7011fd7cd594943 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a568b3342c5f918997d81f1a20ebb59ba7af2d2f198ae20c5f7b6f66e7ab8592 run #0: crashed: KASAN: use-after-free Read in io_wq_worker_running run #1: crashed: KASAN: use-after-free Read in io_wq_worker_running run #2: crashed: KASAN: use-after-free Read in io_wq_worker_running run #3: crashed: KASAN: use-after-free Read in io_wq_worker_running run #4: crashed: KASAN: use-after-free Read in io_wq_worker_running run #5: crashed: KASAN: use-after-free Read in io_wq_worker_running run #6: crashed: KASAN: use-after-free Read in io_wq_worker_running run #7: crashed: KASAN: use-after-free Read in io_wq_worker_running run #8: crashed: KASAN: use-after-free Read in io_wq_worker_running run #9: crashed: KASAN: use-after-free Read in io_wq_worker_running run #10: crashed: KASAN: use-after-free Read in io_wqe_worker run #11: crashed: KASAN: use-after-free Read in io_wq_worker_running run #12: crashed: KASAN: use-after-free Read in io_wq_worker_running run #13: crashed: KASAN: use-after-free Read in io_wq_worker_running run #14: crashed: KASAN: use-after-free Read in io_wq_worker_running run #15: crashed: KASAN: use-after-free Read in io_wq_worker_running run #16: crashed: KASAN: use-after-free Read in io_wq_worker_running run #17: crashed: KASAN: use-after-free Read in io_wq_worker_running run #18: crashed: KASAN: use-after-free Read in io_wq_worker_running run #19: crashed: KASAN: use-after-free Read in io_worker_handle_work testing release v6.1 testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5cf727e01f75d55e4d7326b6743061a4d46bcc0dffe6489d16c7658672cc3499 all runs: OK # git bisect start a689b938df39ab513026c53fb7011fd7cd594943 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 7557 revisions left to test after this (roughly 13 steps) [1ca06f1c1acecbe02124f14a37cce347b8c1a90c] Merge tag 'xtensa-20221213' of https://github.com/jcmvbkbc/linux-xtensa testing commit 1ca06f1c1acecbe02124f14a37cce347b8c1a90c gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3801bedaf360132bc3e709b2907852c736f0b7965512393a065886ac178ddaa4 all runs: OK # git bisect good 1ca06f1c1acecbe02124f14a37cce347b8c1a90c Bisecting: 3831 revisions left to test after this (roughly 12 steps) [0948a9ef1d59d1bc7fae29f32058e463bbff4a6c] Merge branches 'acpi-resource' and 'acpi-video' testing commit 0948a9ef1d59d1bc7fae29f32058e463bbff4a6c gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: af9aaae0f28d7d4d756248fa47d49cc4a8b2f79e06757d8e7f70f25f122430e6 all runs: OK # git bisect good 0948a9ef1d59d1bc7fae29f32058e463bbff4a6c Bisecting: 1909 revisions left to test after this (roughly 11 steps) [6830d50325ee27fbf0150f77cbec1ed304a5b8f6] Merge tag 'gfs2-v6.1-rc7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 testing commit 6830d50325ee27fbf0150f77cbec1ed304a5b8f6 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f6734071cd46252873a6707537330dd8748648b1a1c94e700a74f72f66a699bf all runs: OK # git bisect good 6830d50325ee27fbf0150f77cbec1ed304a5b8f6 Bisecting: 954 revisions left to test after this (roughly 10 steps) [fd4778581d61d8848b532f8cdc9b325138748437] net/ethtool/ioctl: remove if n_stats checks from ethtool_get_phy_stats testing commit fd4778581d61d8848b532f8cdc9b325138748437 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cf04c1578117006f3add74018ad6999cf32590a208cd14811205b4d7dbe03372 all runs: OK # git bisect good fd4778581d61d8848b532f8cdc9b325138748437 Bisecting: 475 revisions left to test after this (roughly 9 steps) [d1ac1a2b14264e98c24db6f8c2bd452e695c7238] Merge tag 'perf-tools-for-v6.2-2-2022-12-22' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux testing commit d1ac1a2b14264e98c24db6f8c2bd452e695c7238 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3ba81844acf16cdd3b859b1da0010e53f96e6b4706aa9239f91924513fb471e4 all runs: OK # git bisect good d1ac1a2b14264e98c24db6f8c2bd452e695c7238 Bisecting: 238 revisions left to test after this (roughly 8 steps) [c8451c141e07a8d05693f6c8d0e418fbb4b68bb7] Merge tag 'acpi-6.2-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit c8451c141e07a8d05693f6c8d0e418fbb4b68bb7 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f1e0cd220757973ca91c2ce8d314811d45028b4ae6fd547a483fefc5f6ac9d7d all runs: OK # git bisect good c8451c141e07a8d05693f6c8d0e418fbb4b68bb7 Bisecting: 135 revisions left to test after this (roughly 7 steps) [aa01a183924fdf2ab05eb6e44c256aaf8a786d3c] Merge tag 'gpio-fixes-for-v6.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux testing commit aa01a183924fdf2ab05eb6e44c256aaf8a786d3c gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5330edf1cad17ab11cffb65d4e196f1855c96c685002ac0df82868771c88c765 all runs: OK # git bisect good aa01a183924fdf2ab05eb6e44c256aaf8a786d3c Bisecting: 67 revisions left to test after this (roughly 6 steps) [c7dd13805f8b8fc1ce3b6d40f6aff47e66b72ad2] usb: rndis_host: Secure rndis_query check against int overflow testing commit c7dd13805f8b8fc1ce3b6d40f6aff47e66b72ad2 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e47ad6d92036b6fac45e023f433fc3ddbbe765ca4675126fcb9ce956b6f7bc2f all runs: OK # git bisect good c7dd13805f8b8fc1ce3b6d40f6aff47e66b72ad2 Bisecting: 32 revisions left to test after this (roughly 5 steps) [56f814583923a782f1cec43db32bc6da1d3cf7b5] Merge tag 'perf-tools-fixes-for-v6.2-1-2023-01-06' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux testing commit 56f814583923a782f1cec43db32bc6da1d3cf7b5 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0397f6f31b63d6f1e42d689dc96d3e6c50b8c9183cacc8b4152494e730f995d7 all runs: OK # git bisect good 56f814583923a782f1cec43db32bc6da1d3cf7b5 Bisecting: 15 revisions left to test after this (roughly 4 steps) [5c1a712f71286b8435d48e3be5f8faf39a4cc837] Merge tag 'ceph-for-6.2-rc3' of https://github.com/ceph/ceph-client testing commit 5c1a712f71286b8435d48e3be5f8faf39a4cc837 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2307fd50493e97e39c9243d5fdd12a8039a24288934f40e9f49c685d47c2b461 all runs: OK # git bisect good 5c1a712f71286b8435d48e3be5f8faf39a4cc837 Bisecting: 7 revisions left to test after this (roughly 3 steps) [ef1a4a770994b97a86988fd86f5a2784b87449f7] Merge tag 'io_uring-2023-01-06' of git://git.kernel.dk/linux testing commit ef1a4a770994b97a86988fd86f5a2784b87449f7 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b7ba478b65a5d7279b2c1c9d0872b8c6b18e9e3141de723cf17d7c5c0a603d76 all runs: crashed: KASAN: use-after-free Read in io_wq_worker_running # git bisect bad ef1a4a770994b97a86988fd86f5a2784b87449f7 Bisecting: 3 revisions left to test after this (roughly 2 steps) [59b745bb4e0bd445366c45b8df6b51b69134f4f5] io_uring: move 'poll_multi_queue' bool in io_ring_ctx testing commit 59b745bb4e0bd445366c45b8df6b51b69134f4f5 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9f072083158cbd30141d562bfb55fb4cc8242dc58c10677334d452314bb12b1d all runs: crashed: KASAN: use-after-free Read in io_wq_worker_running # git bisect bad 59b745bb4e0bd445366c45b8df6b51b69134f4f5 Bisecting: 1 revision left to test after this (roughly 1 step) [9ffa13ff78a0a55df968a72d6f0ebffccee5c9f4] io_uring: pin context while queueing deferred tw testing commit 9ffa13ff78a0a55df968a72d6f0ebffccee5c9f4 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 463efe78168375ac7a70cd444bf179932397fad2efc54bddc7e904b067a61956 all runs: crashed: KASAN: use-after-free Read in io_wq_worker_running # git bisect bad 9ffa13ff78a0a55df968a72d6f0ebffccee5c9f4 Bisecting: 0 revisions left to test after this (roughly 0 steps) [af82425c6a2d2f347c79b63ce74fca6dc6be157f] io_uring/io-wq: free worker if task_work creation is canceled testing commit af82425c6a2d2f347c79b63ce74fca6dc6be157f gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 740ce3fa603e02a066165c3fb4c2938359bfb609cff809cc5176340e35aeb014 all runs: crashed: KASAN: use-after-free Read in io_wq_worker_running # git bisect bad af82425c6a2d2f347c79b63ce74fca6dc6be157f af82425c6a2d2f347c79b63ce74fca6dc6be157f is the first bad commit commit af82425c6a2d2f347c79b63ce74fca6dc6be157f Author: Jens Axboe Date: Mon Jan 2 16:49:46 2023 -0700 io_uring/io-wq: free worker if task_work creation is canceled If we cancel the task_work, the worker will never come into existance. As this is the last reference to it, ensure that we get it freed appropriately. Cc: stable@vger.kernel.org Reported-by: 진호 Signed-off-by: Jens Axboe io_uring/io-wq.c | 1 + 1 file changed, 1 insertion(+) parent commit 9eb803402a2a83400c6c6afd900e3b7c87c06816 wasn't tested testing commit 9eb803402a2a83400c6c6afd900e3b7c87c06816 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 90d535ebfe2e70c0963b6d8cf391080b9c8a427f2efee8c5b17aad6fb09acf69 culprit signature: 740ce3fa603e02a066165c3fb4c2938359bfb609cff809cc5176340e35aeb014 parent signature: 90d535ebfe2e70c0963b6d8cf391080b9c8a427f2efee8c5b17aad6fb09acf69 revisions tested: 16, total time: 5h16m47.255473293s (build: 2h34m34.961535623s, test: 2h39m43.227815011s) first bad commit: af82425c6a2d2f347c79b63ce74fca6dc6be157f io_uring/io-wq: free worker if task_work creation is canceled recipients (to): ["axboe@kernel.dk" "axboe@kernel.dk" "io-uring@vger.kernel.org"] recipients (cc): ["asml.silence@gmail.com" "linux-kernel@vger.kernel.org"] crash: KASAN: use-after-free Read in io_wq_worker_running ================================================================== BUG: KASAN: use-after-free in io_wq_worker_running+0xce/0xf0 io_uring/io-wq.c:674 Read of size 4 at addr ffff888021920004 by task iou-wrk-18098/18100 CPU: 1 PID: 18100 Comm: iou-wrk-18098 Not tainted 6.1.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x163/0x213 lib/dump_stack.c:106 print_address_description+0x74/0x340 mm/kasan/report.c:306 print_report+0x107/0x220 mm/kasan/report.c:417 kasan_report+0x139/0x170 mm/kasan/report.c:517 io_wq_worker_running+0xce/0xf0 io_uring/io-wq.c:674 schedule_timeout+0x97/0x2c0 kernel/time/timer.c:2143 wait_woken+0xca/0x1b0 kernel/sched/wait.c:463 af_alg_wait_for_data+0x41c/0x660 crypto/af_alg.c:771 _skcipher_recvmsg crypto/algif_skcipher.c:65 [inline] skcipher_recvmsg+0x2a1/0xc40 crypto/algif_skcipher.c:157 sock_recvmsg_nosec net/socket.c:995 [inline] sock_recvmsg net/socket.c:1013 [inline] sock_read_iter+0x363/0x4b0 net/socket.c:1086 call_read_iter include/linux/fs.h:2180 [inline] io_iter_do_read io_uring/rw.c:643 [inline] io_read+0x40c/0x1080 io_uring/rw.c:766 io_issue_sqe+0x3de/0xc90 io_uring/io_uring.c:1851 io_wq_submit_work+0x45c/0x880 io_uring/io_uring.c:1927 io_worker_handle_work+0x7b9/0xcb0 io_uring/io-wq.c:587 io_wqe_worker+0x362/0xba0 io_uring/io-wq.c:632 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Allocated by task 18098: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4c/0x70 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:371 [inline] __kasan_kmalloc+0x97/0xb0 mm/kasan/common.c:380 kmalloc_node include/linux/slab.h:606 [inline] kzalloc_node include/linux/slab.h:731 [inline] create_io_worker+0xd7/0x540 io_uring/io-wq.c:801 create_worker_cb+0x12b/0x2b0 io_uring/io-wq.c:339 task_work_run+0x227/0x2b0 kernel/task_work.c:179 get_signal+0x115d/0x1310 kernel/signal.c:2635 arch_do_signal_or_restart+0x8d/0x5f0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop+0x74/0x160 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x63/0xcd Freed by task 18100: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4c/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:518 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1781 [inline] slab_free_freelist_hook+0x12e/0x1a0 mm/slub.c:1807 slab_free mm/slub.c:3787 [inline] __kmem_cache_free+0x71/0x110 mm/slub.c:3800 io_wq_cancel_tw_create+0x95/0xc0 io_uring/io-wq.c:1233 io_queue_worker_create+0x29d/0x330 io_uring/io-wq.c:381 sched_submit_work kernel/sched/core.c:6598 [inline] schedule+0x63/0x190 kernel/sched/core.c:6629 schedule_timeout+0x97/0x2c0 kernel/time/timer.c:2143 wait_woken+0xca/0x1b0 kernel/sched/wait.c:463 af_alg_wait_for_data+0x41c/0x660 crypto/af_alg.c:771 _skcipher_recvmsg crypto/algif_skcipher.c:65 [inline] skcipher_recvmsg+0x2a1/0xc40 crypto/algif_skcipher.c:157 sock_recvmsg_nosec net/socket.c:995 [inline] sock_recvmsg net/socket.c:1013 [inline] sock_read_iter+0x363/0x4b0 net/socket.c:1086 call_read_iter include/linux/fs.h:2180 [inline] io_iter_do_read io_uring/rw.c:643 [inline] io_read+0x40c/0x1080 io_uring/rw.c:766 io_issue_sqe+0x3de/0xc90 io_uring/io_uring.c:1851 io_wq_submit_work+0x45c/0x880 io_uring/io_uring.c:1927 io_worker_handle_work+0x7b9/0xcb0 io_uring/io-wq.c:587 io_wqe_worker+0x362/0xba0 io_uring/io-wq.c:632 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Last potentially related work creation: kasan_save_stack+0x3b/0x60 mm/kasan/common.c:45 __kasan_record_aux_stack+0xb0/0xc0 mm/kasan/generic.c:488 task_work_add+0x75/0x270 kernel/task_work.c:48 io_queue_worker_create+0x1b0/0x330 io_uring/io-wq.c:373 sched_submit_work kernel/sched/core.c:6598 [inline] schedule+0x63/0x190 kernel/sched/core.c:6629 schedule_timeout+0x97/0x2c0 kernel/time/timer.c:2143 wait_woken+0xca/0x1b0 kernel/sched/wait.c:463 af_alg_wait_for_data+0x41c/0x660 crypto/af_alg.c:771 _skcipher_recvmsg crypto/algif_skcipher.c:65 [inline] skcipher_recvmsg+0x2a1/0xc40 crypto/algif_skcipher.c:157 sock_recvmsg_nosec net/socket.c:995 [inline] sock_recvmsg net/socket.c:1013 [inline] sock_read_iter+0x363/0x4b0 net/socket.c:1086 call_read_iter include/linux/fs.h:2180 [inline] io_iter_do_read io_uring/rw.c:643 [inline] io_read+0x40c/0x1080 io_uring/rw.c:766 io_issue_sqe+0x3de/0xc90 io_uring/io_uring.c:1851 io_wq_submit_work+0x45c/0x880 io_uring/io_uring.c:1927 io_worker_handle_work+0x7b9/0xcb0 io_uring/io-wq.c:587 io_wqe_worker+0x362/0xba0 io_uring/io-wq.c:632 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Second to last potentially related work creation: kasan_save_stack+0x3b/0x60 mm/kasan/common.c:45 __kasan_record_aux_stack+0xb0/0xc0 mm/kasan/generic.c:488 task_work_add+0x75/0x270 kernel/task_work.c:48 __io_req_task_work_add+0x196/0x420 io_uring/io_uring.c:1274 io_rw_done io_uring/rw.c:149 [inline] kiocb_done+0x19e/0x470 io_uring/rw.c:349 io_read+0xe18/0x1080 io_uring/rw.c:847 io_issue_sqe+0x3de/0xc90 io_uring/io_uring.c:1851 io_wq_submit_work+0x45c/0x880 io_uring/io_uring.c:1927 io_worker_handle_work+0x7b9/0xcb0 io_uring/io-wq.c:587 io_wqe_worker+0x362/0xba0 io_uring/io-wq.c:632 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 The buggy address belongs to the object at ffff888021920000 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 4 bytes inside of 512-byte region [ffff888021920000, ffff888021920200) The buggy address belongs to the physical page: page:ffffea0000864800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x21920 head:ffffea0000864800 order:2 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0 anon flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 ffff888011841c80 0000000000000000 dead000000000001 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 5743, tgid 5743 (syz-executor.0), ts 76043791581, free_ts 71932385981 prep_new_page mm/page_alloc.c:2531 [inline] get_page_from_freelist+0x72b/0x7a0 mm/page_alloc.c:4283 __alloc_pages+0x259/0x560 mm/page_alloc.c:5549 alloc_slab_page+0xbd/0x190 mm/slub.c:1851 allocate_slab+0x5e/0x3c0 mm/slub.c:1998 new_slab mm/slub.c:2051 [inline] ___slab_alloc+0x7f4/0xeb0 mm/slub.c:3193 __slab_alloc mm/slub.c:3292 [inline] __slab_alloc_node mm/slub.c:3345 [inline] slab_alloc_node mm/slub.c:3442 [inline] __kmem_cache_alloc_node+0x25b/0x340 mm/slub.c:3491 __do_kmalloc_node mm/slab_common.c:967 [inline] __kmalloc_node_track_caller+0x9c/0x190 mm/slab_common.c:988 kmalloc_reserve net/core/skbuff.c:492 [inline] __alloc_skb+0xcb/0x210 net/core/skbuff.c:565 alloc_skb include/linux/skbuff.h:1270 [inline] alloc_uevent_skb+0x6e/0x210 lib/kobject_uevent.c:290 uevent_net_broadcast_tagged lib/kobject_uevent.c:351 [inline] kobject_uevent_net_broadcast+0x199/0x470 lib/kobject_uevent.c:412 kobject_uevent_env+0x570/0x6e0 lib/kobject_uevent.c:593 device_add+0x760/0xd50 drivers/base/core.c:3498 netdev_register_kobject+0x16e/0x2d0 net/core/net-sysfs.c:2015 register_netdevice+0x1005/0x17b0 net/core/dev.c:10045 cfg80211_register_netdevice+0x10c/0x270 net/wireless/core.c:1397 ieee80211_if_add+0xa82/0x15e0 net/mac80211/iface.c:2196 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1446 [inline] free_pcp_prepare+0x751/0x780 mm/page_alloc.c:1496 free_unref_page_prepare mm/page_alloc.c:3369 [inline] free_unref_page+0x19/0x4c0 mm/page_alloc.c:3464 discard_slab mm/slub.c:2098 [inline] __unfreeze_partials+0x1a5/0x1e0 mm/slub.c:2637 put_cpu_partial+0x116/0x180 mm/slub.c:2713 qlist_free_all+0x2b/0x70 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x156/0x170 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1f/0x70 mm/kasan/common.c:302 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slab.h:761 [inline] slab_alloc_node mm/slub.c:3452 [inline] slab_alloc mm/slub.c:3460 [inline] __kmem_cache_alloc_lru mm/slub.c:3467 [inline] kmem_cache_alloc+0x1b3/0x350 mm/slub.c:3476 getname_flags+0x9c/0x430 fs/namei.c:139 vfs_fstatat fs/stat.c:269 [inline] __do_sys_newfstatat fs/stat.c:440 [inline] __se_sys_newfstatat+0xd7/0x780 fs/stat.c:434 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Memory state around the buggy address: ffff88802191ff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88802191ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888021920000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888021920080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888021920100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================