syzbot


WARNING in __page_table_check_ptes_set (2)

Status: upstream: reported on 2024/06/12 17:18
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+0b56d6ed0d0c0c9a79dc@syzkaller.appspotmail.com
First crash: 40d, last: 29d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] WARNING in __page_table_check_ptes_set (2) 4 (5) 2024/06/12 19:47
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __page_table_check_ptes_set mm C 2 92d 88d 26/27 fixed on 2024/06/05 13:52

Sample crash report:
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: 69f5a37ace436e4c1f48f542ed15e576e4580247'
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: 0 PID: 1 at mm/page_table_check.c:198 page_table_check_pte_flags mm/page_table_check.c:198 [inline]
WARNING: CPU: 0 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: 0 PID: 1 Comm: swapper/0 Not tainted 6.10.0-rc3-syzkaller-gac2193b4b460 #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 : ffff800093f67520
x29: ffff800093f675a0 x28: ffff7000127ecec8 x27: dfff800000000000
x26: 0000000000000001 x25: bfeffffffffffff3 x24: 1ffff000127ecea8
x23: 0408000000000000 x22: 0000000000000001 x21: ffff0000c5be2fa0
x20: ffff800093f67540 x19: 0408000000000000 x18: ffff800093f67300
x17: 000000000000762d x16: ffff800080b08d30 x15: ffff7000127eceb0
x14: 1ffff000127eceb0 x13: 0000000000000004 x12: ffffffffffffffff
x11: ffff80008ed3d8d8 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : ffff0000c1968000 x7 : ffff800080967958 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+0x24c/0x9c0 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: 1364450
hardirqs last  enabled at (1364449): [<ffff8000809b651c>] seqcount_lockdep_reader_access+0x6c/0xd4 include/linux/seqlock.h:74
hardirqs last disabled at (1364450): [<ffff80008b066ee4>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470
softirqs last  enabled at (1363390): [<ffff8000801ea3cc>] softirq_handle_end kernel/softirq.c:400 [inline]
softirqs last  enabled at (1363390): [<ffff8000801ea3cc>] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582
softirqs last disabled at (1363381): [<ffff800080020de8>] __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: 69f5a37ace436e4c1f48f542ed15e576e4580247'
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: 4288K
Run /sbin/init as init process

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/20 06:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 41b7e219 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/19 04:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 639d6cdf .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/19 04:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 639d6cdf .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/17 10:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 f429ab00 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/15 05:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 8d849073 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/15 03:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 8d849073 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/14 21:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 8d849073 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/13 16:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 2aa5052f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/13 16:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 2aa5052f .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/11 16:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 c7d7d815 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/11 13:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 c7d7d815 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/10 15:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 048c640a .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/09 19:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 82c05ab8 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/09 19:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 82c05ab8 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
2024/06/08 17:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 82c05ab8 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __page_table_check_ptes_set
* Struck through repros no longer work on HEAD.