Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp597556lqp; Wed, 12 Jun 2024 10:18:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXc0VvvtuIIYaiMPiQL5ouDUZXeN+SCYOo1wBuTT48cMiw9McIanG/TUgyIVF/F9kKlUv1pigVICg8tmjtzJpBRsSE1Hqv9N1YWA2GyBw== X-Google-Smtp-Source: AGHT+IFANz3j/ciS/VossI3D2qyhTRGzg8Z3IYwCsCGZSs80VTs0nI6hcM+uau3SGUUj4G0Ct890 X-Received: by 2002:a17:906:12cd:b0:a6e:fa0a:4899 with SMTP id a640c23a62f3a-a6f47c9b641mr148723466b.16.1718212713646; Wed, 12 Jun 2024 10:18:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718212713; cv=pass; d=google.com; s=arc-20160816; b=HBCs8gewPIBaRW3SP7HcYKuLVbqBvhiQTFe5JX78bG3KfNN/R/K/4fhX9TGbvKWDrE dnCWkZaHL0KfYfRdykXfk6D1TyQzelAxwDzPb9f/huGf1uK6nnq6zMWjnGyDtEHdGf5i 8sMjQEWkqQu7koj0wZPFsrnYlZzoHkR11mnHjvtyz9ch17JG/hhE7ngy8POI2GHngjSQ h8AfD2gL3sNqGQWwtJXiUFErf/+BpBbD0a+CmUJwVW+toYeTsLu81x1cdvVU7WS/KwSr LCiaOKJEibJ44I4i9B082M8dmSfZwDcHFtyU2RUzGtndUyOQUerzgeHy6dgSK4PEH7pS Ayjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=5Wm5Y4VMxUk5RR3ELuQXPAkBPSR2A0FumYvOfuADlfg=; fh=iQeTLtUmGyBBjyZK2cwCPwfx0uOygHO2l6f/4EALQHE=; b=fL/OawJQPDxYZ2S52MQ2j5WATn3sqtoCpH7az5V0bzK+rN/zJfTGpyx3r1Gj18/Vwj cu+yrKWOdIFCG47N+GoGMa2egzL/E3cvIpx0KBVSHLlA4iDzkIVpqwlY7bgW76UBalvQ /3FMar0X/K4czg7RM9RgO6TD4X4EE7Y0q69MwlOGNhHMoBuj8RS9OPE2H09Y9fTG29Px pqRsYoEv9ZWD8Cn93IBlVLQevMOOArIF/hhdWj9/dCdAKwUwdPsERdiNhNfvWZnFMUCR LmXffIy91Hy8oukS4FOY/qeMCD5dssVVaXMHehweY8onJoPJZ7MZNAP/eQQ+7fQ8OQjV 1LmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-211990-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211990-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c8074950csi682987966b.954.2024.06.12.10.18.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 10:18:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211990-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-211990-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211990-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 32D281F2158F for ; Wed, 12 Jun 2024 17:18:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A1466181D14; Wed, 12 Jun 2024 17:18:24 +0000 (UTC) Received: from mail-il1-f205.google.com (mail-il1-f205.google.com [209.85.166.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 57B0517E90B for ; Wed, 12 Jun 2024 17:18:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.205 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718212703; cv=none; b=M5t/tGy22qrNRlBctQiDYYJrQ7yJb7yvr+TIt0O0cL4/S05AqDGQ2zeBFnyzrVGBZZZkqx0XaB/hmCAqBValCxiJbXec/5USFm3XZ8wanPyVOgYCS0i0BMBh7fAJscLM1qDtc/44N3TiMRciyayI9hWwJl+x7HEWz47dEpKn+sk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718212703; c=relaxed/simple; bh=Sq1psVMjIrxMRUXO4i2VqGZZu1i5PES+5UP+m7xAHHs=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=NhX46s1MP96wwVI2oaOlJoP5JdZSj2G8Za0ICQCC99TIk+EOc0woHmy/sTwfpFy0q/jFMcp6pcyIuEpkQGgwJNvX7fp2zFQG0Cc5H5gNPw2m4DB+jR4o/GEYfOKVHykLwK2OYReU22ffTVDB7ZZru5LCN0HdiJ2DVzsXoGEyg8c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.205 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f205.google.com with SMTP id e9e14a558f8ab-37586a82295so444595ab.3 for ; Wed, 12 Jun 2024 10:18:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718212701; x=1718817501; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5Wm5Y4VMxUk5RR3ELuQXPAkBPSR2A0FumYvOfuADlfg=; b=IwTkL/amM4je4rZkCwdjmUmr3h5s4XCkUMd4himJ9zJpSMKbYxwnO5KkttBf2nHaIB wdJWP8rt7Ynp4GI4E3c/unehCs7cXKxlUkMu6j+v0tlD5fxj0VSI8u3iw/TF4blMVJL9 L+YMn4tDrxUlCDl77spkHzjHxFGvrVWQlLQehRQeyy/pGLwi1U6kbmzcEPzhOSwJRG5l yrIqj2u6OUlNIgXukAuLGnpqlokqWZhZd2hsqyn5mTEE6121JEyxUkcME2HOx3wMFMz4 SMjC0b1YoWid/toiYQf3nGpF66BBLOH/0VLYLLN9rnzaqPOZvp1znjPyOcZBctX+LoRo SGBg== X-Forwarded-Encrypted: i=1; AJvYcCUf4ZXY4gH+z97q8bpT/c4e3MR4Y9RLHGCnrFoKwj2TJ0rJs4W++rlC2+mF5EPvwVMOEIREK+MwLdq7sXKxwliwtOUpJizdJBTtVoSV X-Gm-Message-State: AOJu0YxfxF/Oa4mtrhgFjuj+MLGHPdiNg6Xkavi/F0Iv3TEciZQZUcT5 jwEItEs5kdxqufruZVUe/V9dPoAXK1Oo4uBL44CRIlLDyMHOv2Z8bz+WIplGU0UVAXsP/Q4keKz mVKLgBgV/oNtEYvA9qzK2l6WtKciK6nptkLdY3p/JJBzWOOo+uh2Eu64= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1d10:b0:375:cbad:7b48 with SMTP id e9e14a558f8ab-375ccfc00fcmr1052675ab.0.1718212701428; Wed, 12 Jun 2024 10:18:21 -0700 (PDT) Date: Wed, 12 Jun 2024 10:18:21 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000b7b11a061ab49122@google.com> Subject: [syzbot] [mm?] WARNING in __page_table_check_ptes_set (2) From: syzbot To: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, pasha.tatashin@soleen.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 8867bbd4a056 mm: arm64: Fix the out-of-bounds issue in con.. git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci console output: https://syzkaller.appspot.com/x/log.txt?x=146b3d96980000 kernel config: https://syzkaller.appspot.com/x/.config?x=3b4350cf56c61c80 dashboard link: https://syzkaller.appspot.com/bug?extid=0b56d6ed0d0c0c9a79dc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 userspace arch: arm64 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/6ea21f50498b/disk-8867bbd4.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/e2fed09364aa/vmlinux-8867bbd4.xz kernel image: https://storage.googleapis.com/syzbot-assets/4860173c7a18/Image-8867bbd4.gz.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+0b56d6ed0d0c0c9a79dc@syzkaller.appspotmail.com Bluetooth: BNEP (Ethernet Emulation) ver 1.3 Bluetooth: BNEP filters: protocol multicast Bluetooth: BNEP socket layer initialized Bluetooth: CMTP (CAPI Emulation) ver 1.0 Bluetooth: CMTP socket layer initialized Bluetooth: HIDP (Human Interface Emulation) ver 1.2 Bluetooth: HIDP socket layer initialized NET: Registered PF_RXRPC protocol family Key type rxrpc registered Key type rxrpc_s registered NET: Registered PF_KCM protocol family lec:lane_module_init: lec.c: initialized mpoa:atm_mpoa_init: mpc.c: initialized l2tp_core: L2TP core driver, V2.0 l2tp_ppp: PPPoL2TP kernel driver, V2.0 l2tp_ip: L2TP IP encapsulation support (L2TPv3) l2tp_netlink: L2TP netlink interface l2tp_eth: L2TP ethernet pseudowire support (L2TPv3) l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3) NET: Registered PF_PHONET protocol family 8021q: 802.1Q VLAN Support v1.8 DCCP: Activated CCID 2 (TCP-like) DCCP: Activated CCID 3 (TCP-Friendly Rate Control) DCCP is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list sctp: Hash tables configured (bind 32/56) NET: Registered PF_RDS protocol family Registered RDS/infiniband transport Registered RDS/tcp transport tipc: Activated (version 2.0.0) NET: Registered PF_TIPC protocol family tipc: Started in single node mode NET: Registered PF_SMC protocol family 9pnet: Installing 9P2000 support NET: Registered PF_CAIF protocol family NET: Registered PF_IEEE802154 protocol family Key type dns_resolver registered Key type ceph registered libceph: loaded (mon/osd proto 15/24) batman_adv: B.A.T.M.A.N. advanced 2024.2 (compatibility version 15) loaded openvswitch: Open vSwitch switching datapath NET: Registered PF_VSOCK protocol family mpls_gso: MPLS GSO support Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level registered taskstats version 1 Loading compiled-in X.509 certificates Loaded X.509 cert 'Build time autogenerated kernel key: 79e1c0a63a233d95d926db3e542dc8d9e342ab6b' zswap: loaded using pool lzo/zsmalloc Demotion targets for Node 0: null debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1 at mm/page_table_check.c:198 page_table_check_pte_flags mm/page_table_check.c:198 [inline] WARNING: CPU: 1 PID: 1 at mm/page_table_check.c:198 __page_table_check_ptes_set+0x324/0x398 mm/page_table_check.c:211 Modules linked in: CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : page_table_check_pte_flags mm/page_table_check.c:198 [inline] pc : __page_table_check_ptes_set+0x324/0x398 mm/page_table_check.c:211 lr : page_table_check_pte_flags mm/page_table_check.c:198 [inline] lr : __page_table_check_ptes_set+0x324/0x398 mm/page_table_check.c:211 sp : ffff800093d57520 x29: ffff800093d575a0 x28: ffff7000127aaec8 x27: dfff800000000000 x26: 0000000000000001 x25: bfeffffffffffff3 x24: 1ffff000127aaea8 x23: 0408000000000000 x22: 0000000000000001 x21: ffff0000d38131b8 x20: ffff800093d57540 x19: 0408000000000000 x18: ffff800093d57300 x17: 00000000000074be x16: ffff800080b0d2d4 x15: ffff7000127aaeb0 x14: 1ffff000127aaeb0 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff80008eb6e78c x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c1968000 x7 : ffff80008096b550 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001 x2 : bfeffffffffffff3 x1 : 0408000000000000 x0 : 0408000000000000 Call trace: page_table_check_pte_flags mm/page_table_check.c:198 [inline] __page_table_check_ptes_set+0x324/0x398 mm/page_table_check.c:211 page_table_check_ptes_set include/linux/page_table_check.h:74 [inline] __set_ptes arch/arm64/include/asm/pgtable.h:404 [inline] set_ptes arch/arm64/include/asm/pgtable.h:1586 [inline] pte_clear_tests+0x510/0x538 mm/debug_vm_pgtable.c:640 debug_vm_pgtable+0x268/0x590 mm/debug_vm_pgtable.c:1392 do_one_initcall+0x254/0x9e4 init/main.c:1267 do_initcall_level+0x154/0x214 init/main.c:1329 do_initcalls+0x58/0xac init/main.c:1345 do_basic_setup+0x8c/0xa0 init/main.c:1364 kernel_init_freeable+0x324/0x478 init/main.c:1578 kernel_init+0x24/0x2a0 init/main.c:1467 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 1342246 hardirqs last enabled at (1342245): [] seqcount_lockdep_reader_access+0x6c/0xd4 include/linux/seqlock.h:74 hardirqs last disabled at (1342246): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (1342178): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (1342178): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (1341257): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- page_owner is disabled Key type .fscrypt registered Key type fscrypt-provisioning registered kAFS: Red Hat AFS client v0.1 registering. Btrfs loaded, assert=on, ref-verify=on, zoned=yes, fsverity=yes Key type big_key registered Key type encrypted registered ima: No TPM chip found, activating TPM-bypass! Loading compiled-in module X.509 certificates Loaded X.509 cert 'Build time autogenerated kernel key: 79e1c0a63a233d95d926db3e542dc8d9e342ab6b' ima: Allocated hash algorithm: sha256 ima: No architecture policies found evm: Initialising EVM extended attributes: evm: security.selinux (disabled) evm: security.SMACK64 evm: security.SMACK64EXEC evm: security.SMACK64TRANSMUTE evm: security.SMACK64MMAP evm: security.apparmor (disabled) evm: security.ima evm: security.capability evm: HMAC attrs: 0x1 printk: legacy console [netcon0] enabled netconsole: network logging started gtp: GTP module loaded (pdp ctx size 128 bytes) rdma_rxe: loaded cfg80211: Loading compiled-in X.509 certificates for regulatory database Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' clk: Disabling unused clocks PM: genpd: Disabling unused power domains ALSA device list: #0: Dummy 1 #1: Loopback 1 #2: Virtual MIDI Card 1 md: Skipping autodetection of RAID arrays. (raid=autodetect will force) EXT4-fs (nvme0n1p2): mounted filesystem 126e38a5-b482-40da-8f06-bd78886e02c1 ro with ordered data mode. Quota mode: none. VFS: Mounted root (ext4 filesystem) readonly on device 259:2. devtmpfs: mounted Freeing unused kernel memory: 4416K Run /sbin/init as init process --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup