ci starts bisection 2023-01-09 11:25:53.673639016 +0000 UTC m=+341068.968374019 bisecting cause commit starting from 1fe4fd6f5cad346e598593af36caeadc4f5d4fa9 building syzkaller on 1dac8c7a01e2bdd35cb04eb4901ddb157291ac2d ensuring issue is reproducible on original commit 1fe4fd6f5cad346e598593af36caeadc4f5d4fa9 testing commit 1fe4fd6f5cad346e598593af36caeadc4f5d4fa9 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b7e27a15b97d563b1c14cd37e078367b78ffc297a69c908f3eccfeea74fbd15b 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_put_and_exit run #4: crashed: KASAN: use-after-free Read in io_wq_worker_running run #5: crashed: KASAN: use-after-free Read in io_wqe_worker run #6: crashed: KASAN: use-after-free Read in io_wq_worker_running run #7: crashed: KASAN: use-after-free Read in io_wqe_worker 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_wq_worker_running run #11: crashed: KASAN: use-after-free Read in io_wq_worker_running run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK testing release v6.1 testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 71cc7c0a89cc9fc31b423c27db00e125d0ba33c7a445869e318f299f2b6a4847 all runs: OK # git bisect start 1fe4fd6f5cad346e598593af36caeadc4f5d4fa9 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 7630 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: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cfaaeab3acfdf98913de94b962b73f689300e7c5bbf0c15354186476e546a060 all runs: OK # git bisect good 1ca06f1c1acecbe02124f14a37cce347b8c1a90c Bisecting: 3904 revisions left to test after this (roughly 12 steps) [0948a9ef1d59d1bc7fae29f32058e463bbff4a6c] Merge branches 'acpi-resource' and 'acpi-video' testing commit 0948a9ef1d59d1bc7fae29f32058e463bbff4a6c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7c8552806fd8e90c82a377ba830a8cc8ce4f94215878f06905cbe0e086e482b4 all runs: OK # git bisect good 0948a9ef1d59d1bc7fae29f32058e463bbff4a6c Bisecting: 1951 revisions left to test after this (roughly 11 steps) [b611996ef270a88ebb350c82832c4d76913887e9] Merge tag 'linux-watchdog-6.2-rc1' of git://www.linux-watchdog.org/linux-watchdog testing commit b611996ef270a88ebb350c82832c4d76913887e9 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3149e184d05fad4cf2fc1efd82662e9b728d889b1aa954f124bafa8e960cb773 all runs: OK # git bisect good b611996ef270a88ebb350c82832c4d76913887e9 Bisecting: 975 revisions left to test after this (roughly 10 steps) [caa4b35b4317d5147b3ab0fbdc9c075c7d2e9c12] net: sched: cbq: dont intepret cls results when asked to drop testing commit caa4b35b4317d5147b3ab0fbdc9c075c7d2e9c12 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 failed to run ["make" "-j" "64" "ARCH=x86_64" "bzImage"]: exit status 2 # git bisect skip caa4b35b4317d5147b3ab0fbdc9c075c7d2e9c12 Bisecting: 975 revisions left to test after this (roughly 10 steps) [04757c5e21ea17615b66f45e38f1cab32a7a0654] selftests/powerpc: Fix spelling mistake "mmaping" -> "mmapping" testing commit 04757c5e21ea17615b66f45e38f1cab32a7a0654 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 65567c642f33b6815ddc02c97ef78dca39b80d2028703268593f9dc34d6be7c3 all runs: OK # git bisect good 04757c5e21ea17615b66f45e38f1cab32a7a0654 Bisecting: 947 revisions left to test after this (roughly 10 steps) [fe69230f05897b3de758427b574fc98025dfc907] caif: fix memory leak in cfctrl_linkup_request() testing commit fe69230f05897b3de758427b574fc98025dfc907 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5757d84b1851b7dfff0de685db4e0d7b2ed09f4f3f338c77c8de4ae5efd0a193 all runs: OK # git bisect good fe69230f05897b3de758427b574fc98025dfc907 Bisecting: 468 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: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b553d7c34f970e373dd02e25fef9e15c83d50f45b6dcab868c32b84837fb2a1c all runs: OK # git bisect good d1ac1a2b14264e98c24db6f8c2bd452e695c7238 Bisecting: 232 revisions left to test after this (roughly 8 steps) [262eef26e350181f8067072571f4918cad3c5e87] Merge tag 'sound-6.2-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound testing commit 262eef26e350181f8067072571f4918cad3c5e87 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 374b7925f0272e3c08d80c3309f7b61436646f436592fb9b07b56dea22309bdb all runs: OK # git bisect good 262eef26e350181f8067072571f4918cad3c5e87 Bisecting: 118 revisions left to test after this (roughly 7 steps) [d7a0853d650b381921732ff5bca618432a279033] Merge tag 'perf-urgent-2023-01-06' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit d7a0853d650b381921732ff5bca618432a279033 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 39a47150343bf22ced3f3d403e9cfce0659999b8484aaa0829fca7ad54b7e829 all runs: OK # git bisect good d7a0853d650b381921732ff5bca618432a279033 Bisecting: 70 revisions left to test after this (roughly 6 steps) [1382999aa0548a171a272ca817f6c38e797c458c] tpm: Allow system suspend to continue when TPM suspend fails testing commit 1382999aa0548a171a272ca817f6c38e797c458c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 050a400cdb6d03edef1fafa4b9e28611125326b50f7bf9ae71613dfcd3dce377 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_wqe_worker run #7: crashed: KASAN: use-after-free Read in io_wq_worker_running run #8: OK run #9: OK # git bisect bad 1382999aa0548a171a272ca817f6c38e797c458c Bisecting: 23 revisions left to test after this (roughly 5 steps) [fc7b76c4a4d139ebcae2af3bd75215fc90834e3b] Merge tag 'for-6.2-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux testing commit fc7b76c4a4d139ebcae2af3bd75215fc90834e3b gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1ad74de1083c42dccf4cb6323bb16d26de8d8e91320c0c50b167b422c4f37757 all runs: OK # git bisect good fc7b76c4a4d139ebcae2af3bd75215fc90834e3b Bisecting: 9 revisions left to test after this (roughly 4 steps) [ef1a4a770994b97a86988fd86f5a2784b87449f7] Merge tag 'io_uring-2023-01-06' of git://git.kernel.dk/linux testing commit ef1a4a770994b97a86988fd86f5a2784b87449f7 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6a8c7e48e3ca0164da52da7a242febdd93a2ace21fa5e524af2c674607454871 run #0: crashed: KASAN: use-after-free Read in io_wq_worker_running run #1: crashed: KASAN: use-after-free Read in io_wqe_worker 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_wqe_worker run #7: crashed: KASAN: use-after-free Read in io_wqe_worker run #8: crashed: KASAN: use-after-free Read in io_wq_worker_running run #9: OK # git bisect bad ef1a4a770994b97a86988fd86f5a2784b87449f7 Bisecting: 7 revisions left to test after this (roughly 3 steps) [5c1a712f71286b8435d48e3be5f8faf39a4cc837] Merge tag 'ceph-for-6.2-rc3' of https://github.com/ceph/ceph-client testing commit 5c1a712f71286b8435d48e3be5f8faf39a4cc837 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 544c646c23d8b74d5d27a1663c3b981b5869ca96ee161485d67e655e09b342a2 all runs: OK # git bisect good 5c1a712f71286b8435d48e3be5f8faf39a4cc837 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: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5467befb24caa42b01a5ee511ec30e1d8cb542e248fe35d739e6c509d26754fc 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_put_and_exit # 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: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fd16fbce162b4abb5f9de280b82f6e64ce0f10c62bdb8a86c34422098925b646 run #0: crashed: KASAN: use-after-free Read in io_wq_worker_running run #1: crashed: KASAN: use-after-free Read in io_wqe_worker 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_wqe_worker run #5: crashed: KASAN: use-after-free Read in io_wqe_worker run #6: OK run #7: crashed: KASAN: use-after-free Read in io_wqe_worker run #8: OK run #9: OK # 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: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7be017bd9f92bf693797420ae0726e13d3045a8d1a2a5e5ab9e8b11f03ae3385 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_wqe_worker run #6: crashed: KASAN: use-after-free Read in io_wqe_worker run #7: OK run #8: crashed: KASAN: use-after-free Read in io_wq_worker_running run #9: OK # 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: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 11f2ccb0e7a48fe8cd143786e1e806e5e08e1a7990ea696a264701791f81876e culprit signature: 7be017bd9f92bf693797420ae0726e13d3045a8d1a2a5e5ab9e8b11f03ae3385 parent signature: 11f2ccb0e7a48fe8cd143786e1e806e5e08e1a7990ea696a264701791f81876e revisions tested: 17, total time: 6h29m48.360606528s (build: 3h10m0.91403293s, test: 3h15m59.18198013s) 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+0xc7/0xe0 io_uring/io-wq.c:674 Read of size 4 at addr ffff888026ae3c04 by task iou-wrk-28592/28594 CPU: 1 PID: 28594 Comm: iou-wrk-28592 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+0x5b/0x81 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:306 [inline] print_report+0x15e/0x45d mm/kasan/report.c:417 kasan_report+0xbf/0x1f0 mm/kasan/report.c:517 io_wq_worker_running+0xc7/0xe0 io_uring/io-wq.c:674 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6691 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 io_ring_submit_lock io_uring/io_uring.h:200 [inline] io_file_get_fixed io_uring/io_uring.c:1961 [inline] io_assign_file io_uring/io_uring.c:1829 [inline] io_assign_file io_uring/io_uring.c:1823 [inline] io_wq_submit_work+0x4d9/0xd30 io_uring/io_uring.c:1911 io_worker_handle_work+0x70f/0x1880 io_uring/io-wq.c:587 io_wqe_worker+0x8c4/0xc60 io_uring/io-wq.c:632 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Allocated by task 28592: kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:371 [inline] ____kasan_kmalloc mm/kasan/common.c:330 [inline] __kasan_kmalloc+0xa5/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+0x102/0x590 io_uring/io-wq.c:801 io_wqe_create_worker io_uring/io-wq.c:310 [inline] io_wqe_enqueue+0x5bf/0xb10 io_uring/io-wq.c:936 io_queue_iowq+0x226/0x490 io_uring/io_uring.c:475 io_submit_sqe io_uring/io_uring.c:2276 [inline] io_submit_sqes+0xe6f/0x1bc0 io_uring/io_uring.c:2392 __do_sys_io_uring_enter+0x8f3/0x1d00 io_uring/io_uring.c:3340 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Freed by task 28594: kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x2e/0x40 mm/kasan/generic.c:518 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x160/0x1c0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1781 [inline] slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1807 slab_free mm/slub.c:3787 [inline] __kmem_cache_free+0xaf/0x3b0 mm/slub.c:3800 io_wq_cancel_tw_create io_uring/io-wq.c:1233 [inline] io_queue_worker_create+0x408/0x4d0 io_uring/io-wq.c:381 sched_submit_work kernel/sched/core.c:6598 [inline] schedule+0x16e/0x1b0 kernel/sched/core.c:6629 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6691 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 io_ring_submit_lock io_uring/io_uring.h:200 [inline] io_file_get_fixed io_uring/io_uring.c:1961 [inline] io_assign_file io_uring/io_uring.c:1829 [inline] io_assign_file io_uring/io_uring.c:1823 [inline] io_wq_submit_work+0x4d9/0xd30 io_uring/io_uring.c:1911 io_worker_handle_work+0x70f/0x1880 io_uring/io-wq.c:587 io_wqe_worker+0x8c4/0xc60 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+0x22/0x40 mm/kasan/common.c:45 __kasan_record_aux_stack+0xbc/0xd0 mm/kasan/generic.c:488 task_work_add+0x71/0x220 kernel/task_work.c:48 io_queue_worker_create+0x320/0x4d0 io_uring/io-wq.c:373 sched_submit_work kernel/sched/core.c:6598 [inline] schedule+0x16e/0x1b0 kernel/sched/core.c:6629 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6691 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 io_ring_submit_lock io_uring/io_uring.h:200 [inline] io_file_get_fixed io_uring/io_uring.c:1961 [inline] io_assign_file io_uring/io_uring.c:1829 [inline] io_assign_file io_uring/io_uring.c:1823 [inline] io_wq_submit_work+0x4d9/0xd30 io_uring/io_uring.c:1911 io_worker_handle_work+0x70f/0x1880 io_uring/io-wq.c:587 io_wqe_worker+0x8c4/0xc60 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+0x22/0x40 mm/kasan/common.c:45 __kasan_record_aux_stack+0xbc/0xd0 mm/kasan/generic.c:488 kvfree_call_rcu+0x78/0x8f0 kernel/rcu/tree.c:3374 io_worker_exit io_uring/io-wq.c:237 [inline] io_wqe_worker+0x871/0xc60 io_uring/io-wq.c:661 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 The buggy address belongs to the object at ffff888026ae3c00 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 4 bytes inside of 512-byte region [ffff888026ae3c00, ffff888026ae3e00) The buggy address belongs to the physical page: page:ffffea00009ab800 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888026ae0800 pfn:0x26ae0 head:ffffea00009ab800 order:2 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 ffff888011441c80 ffff8880114407c8 ffffea00009c9d10 raw: ffff888026ae0800 000000000010000f 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 0x152800(GFP_NOWAIT|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_HARDWALL), pid 31229, tgid 31229 (dhcpcd-run-hook), ts 436319338832, free_ts 435795124146 prep_new_page mm/page_alloc.c:2531 [inline] get_page_from_freelist+0x119c/0x2ce0 mm/page_alloc.c:4283 __alloc_pages+0x1cb/0x5b0 mm/page_alloc.c:5549 __alloc_pages_node include/linux/gfp.h:237 [inline] alloc_slab_page mm/slub.c:1853 [inline] allocate_slab+0xa7/0x350 mm/slub.c:1998 new_slab mm/slub.c:2051 [inline] ___slab_alloc+0xa91/0x1400 mm/slub.c:3193 __slab_alloc.constprop.0+0x56/0xa0 mm/slub.c:3292 __slab_alloc_node mm/slub.c:3345 [inline] slab_alloc_node mm/slub.c:3442 [inline] __kmem_cache_alloc_node+0x1a4/0x430 mm/slub.c:3491 __do_kmalloc_node mm/slab_common.c:967 [inline] __kmalloc_node+0x4d/0xd0 mm/slab_common.c:975 kmalloc_array_node include/linux/slab.h:697 [inline] kcalloc_node include/linux/slab.h:702 [inline] memcg_alloc_slab_cgroups+0x8f/0x150 mm/memcontrol.c:2892 account_slab mm/slab.h:645 [inline] allocate_slab+0x2a4/0x350 mm/slub.c:2016 new_slab mm/slub.c:2051 [inline] ___slab_alloc+0xa91/0x1400 mm/slub.c:3193 __slab_alloc.constprop.0+0x56/0xa0 mm/slub.c:3292 __slab_alloc_node mm/slub.c:3345 [inline] slab_alloc_node mm/slub.c:3442 [inline] slab_alloc mm/slub.c:3460 [inline] __kmem_cache_alloc_lru mm/slub.c:3467 [inline] kmem_cache_alloc+0x379/0x430 mm/slub.c:3476 anon_vma_chain_alloc mm/rmap.c:141 [inline] anon_vma_clone+0xbf/0x520 mm/rmap.c:287 anon_vma_fork+0x70/0x630 mm/rmap.c:350 dup_mmap+0x922/0xe30 kernel/fork.c:660 dup_mm+0x86/0x330 kernel/fork.c:1548 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+0x65c/0xc00 mm/page_alloc.c:1496 free_unref_page_prepare mm/page_alloc.c:3369 [inline] free_unref_page+0x1d/0x490 mm/page_alloc.c:3464 __vunmap+0x66e/0xb40 mm/vmalloc.c:2727 free_work+0x4f/0x70 mm/vmalloc.c:100 process_one_work+0x8ba/0x14c0 kernel/workqueue.c:2289 worker_thread+0x59c/0xec0 kernel/workqueue.c:2436 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Memory state around the buggy address: ffff888026ae3b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888026ae3b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888026ae3c00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888026ae3c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888026ae3d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================