[<prev] [next>] [day] [month] [year] [list]
Message-ID: <68154d82.050a0220.11da1b.0003.GAE@google.com>
Date: Fri, 02 May 2025 15:56:02 -0700
From: syzbot <syzbot+7b3842775c9ce6b69efc@...kaller.appspotmail.com>
To: hdanton@...a.com, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [mm?] BUG: Bad page state in page_cache_ra_order
Hello,
syzbot tried to test the proposed patch but the build/boot failed:
068818][ T0] ACPI: RSDP 0x00000000000F5190 000014 (v00 BOCHS )
[ 0.072899][ T0] ACPI: RSDT 0x000000007FFE2925 000048 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.078676][ T0] ACPI: FACP 0x000000007FFE1B2C 0000F4 (v03 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.084482][ T0] ACPI: DSDT 0x000000007FFDF040 002AEC (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.090663][ T0] ACPI: FACS 0x000000007FFDF000 000040
[ 0.094100][ T0] ACPI: APIC 0x000000007FFE1C20 0000B0 (v03 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.099885][ T0] ACPI: HPET 0x000000007FFE1CD0 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.105824][ T0] ACPI: SRAT 0x000000007FFE1D08 000178 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.111602][ T0] ACPI: MCFG 0x000000007FFE1E80 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.117336][ T0] ACPI: DMAR 0x000000007FFE1EBC 0000C0 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.123170][ T0] ACPI: SSDT 0x000000007FFE1F7C 0008A1 (v01 BOCHS NVDIMM 00000001 BXPC 00000001)
[ 0.128948][ T0] ACPI: NFIT 0x000000007FFE281D 0000E0 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.134762][ T0] ACPI: WAET 0x000000007FFE28FD 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.140519][ T0] ACPI: Reserving FACP table memory at [mem 0x7ffe1b2c-0x7ffe1c1f]
[ 0.145407][ T0] ACPI: Reserving DSDT table memory at [mem 0x7ffdf040-0x7ffe1b2b]
[ 0.150272][ T0] ACPI: Reserving FACS table memory at [mem 0x7ffdf000-0x7ffdf03f]
[ 0.155103][ T0] ACPI: Reserving APIC table memory at [mem 0x7ffe1c20-0x7ffe1ccf]
[ 0.159951][ T0] ACPI: Reserving HPET table memory at [mem 0x7ffe1cd0-0x7ffe1d07]
[ 0.164803][ T0] ACPI: Reserving SRAT table memory at [mem 0x7ffe1d08-0x7ffe1e7f]
[ 0.169688][ T0] ACPI: Reserving MCFG table memory at [mem 0x7ffe1e80-0x7ffe1ebb]
[ 0.174515][ T0] ACPI: Reserving DMAR table memory at [mem 0x7ffe1ebc-0x7ffe1f7b]
[ 0.179372][ T0] ACPI: Reserving SSDT table memory at [mem 0x7ffe1f7c-0x7ffe281c]
[ 0.184230][ T0] ACPI: Reserving NFIT table memory at [mem 0x7ffe281d-0x7ffe28fc]
[ 0.189069][ T0] ACPI: Reserving WAET table memory at [mem 0x7ffe28fd-0x7ffe2924]
[ 0.194370][ T0] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0x0009ffff]
[ 0.198626][ T0] ACPI: SRAT: Node 0 PXM 0 [mem 0x00100000-0x7fffffff]
[ 0.202892][ T0] ACPI: SRAT: Node 0 PXM 0 [mem 0x100000000-0x17fffffff]
[ 0.207289][ T0] ACPI: SRAT: Node 0 PXM 0 [mem 0x180000000-0x183ffffff] non-volatile
[ 0.212410][ T0] ACPI: SRAT: Node 0 PXM 0 [mem 0x180000000-0x57fffffff] hotplug
[ 0.217205][ T0] NUMA: Node 0 [mem 0x00001000-0x0009ffff] + [mem 0x00100000-0x7fffffff] -> [mem 0x00001000-0x7fffffff]
[ 0.224074][ T0] NUMA: Node 0 [mem 0x00001000-0x7fffffff] + [mem 0x100000000-0x17fffffff] -> [mem 0x00001000-0x17fffffff]
[ 0.231124][ T0] Faking node 0 at [mem 0x0000000000001000-0x00000000ffffffff] (4095MB)
[ 0.236269][ T0] Faking node 1 at [mem 0x0000000100000000-0x000000017fffffff] (2048MB)
[ 0.241797][ T0] NODE_DATA(0) allocated [mem 0x7ffd7400-0x7ffdcfff]
[ 0.245886][ T0] NODE_DATA(1) allocated [mem 0x17fff7400-0x17fffcfff]
[ 0.266117][ T0] Zone ranges:
[ 0.268234][ T0] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.272595][ T0] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.276920][ T0] Normal [mem 0x0000000100000000-0x000000017fffffff]
[ 0.281265][ T0] Device empty
[ 0.283523][ T0] Movable zone start for each node
[ 0.286649][ T0] Early memory node ranges
[ 0.289362][ T0] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.293795][ T0] node 0: [mem 0x0000000000100000-0x000000007ffdcfff]
[ 0.298212][ T0] node 1: [mem 0x0000000100000000-0x000000017fffffff]
[ 0.302637][ T0] Initmem setup node 0 [mem 0x0000000000001000-0x000000007ffdcfff]
[ 0.307549][ T0] Initmem setup node 1 [mem 0x0000000100000000-0x000000017fffffff]
[ 0.312485][ T0] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.316851][ T0] On node 0, zone DMA: 97 pages in unavailable ranges
[ 0.372092][ T0] On node 1, zone Normal: 35 pages in unavailable ranges
[ 0.537077][ T0] kasan: KernelAddressSanitizer initialized
[ 0.548737][ T0] ACPI: PM-Timer IO Port: 0x608
[ 0.552729][ T0] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 0.558491][ T0] IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23
[ 0.564712][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.570522][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.576498][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.582531][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.588710][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.594796][ T0] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.600603][ T0] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.605220][ T0] TSC deadline timer available
[ 0.608936][ T0] CPU topo: Max. logical packages: 2
[ 0.613282][ T0] CPU topo: Max. logical dies: 2
[ 0.617554][ T0] CPU topo: Max. dies per package: 1
[ 0.621924][ T0] CPU topo: Max. threads per core: 2
[ 0.626307][ T0] CPU topo: Num. cores per package: 2
[ 0.630942][ T0] CPU topo: Num. threads per package: 4
[ 0.635434][ T0] CPU topo: Allowing 4 present CPUs plus 4 hotplug CPUs
[ 0.641189][ T0] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write()
[ 0.647680][ T0] kvm-guest: KVM setup pv remote TLB flush
[ 0.652398][ T0] kvm-guest: setup PV sched yield
[ 0.656549][ T0] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.663361][ T0] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff]
[ 0.670164][ T0] PM: hibernation: Registered nosave memory: [mem 0x7ffdd000-0xffffffff]
[ 0.677174][ T0] [mem 0xc0000000-0xfed1bfff] available for PCI devices
[ 0.682102][ T0] Booting paravirtualized kernel on KVM
[ 0.685781][ T0] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.747592][ T0] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:8 nr_node_ids:2
[ 0.755074][ T0] percpu: Embedded 69 pages/cpu s245512 r8192 d28920 u1048576
[ 0.760109][ T0] kvm-guest: PV spinlocks enabled
[ 0.763196][ T0] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.768644][ T0] Kernel command line: earlyprintk=serial net.ifnames=0 sysctl.kernel.hung_task_all_cpu_backtrace=1 ima_policy=tcb nf-conntrack-ftp.ports=20000 nf-conntrack-tftp.ports=20000 nf-conntrack-sip.ports=20000 nf-conntrack-irc.ports=20000 nf-conntrack-sane.ports=20000 binder.debug_mask=0 rcupdate.rcu_expedited=1 rcupdate.rcu_cpu_stall_cputime=1 no_hash_pointers page_owner=on sysctl.vm.nr_hugepages=4 sysctl.vm.nr_overcommit_hugepages=4 secretmem.enable=1 sysctl.max_rcu_stall_to_panic=1 msr.allow_writes=off coredump_filter=0xffff root=/dev/sda console=ttyS0 vsyscall=native numa=fake=2 kvm-intel.nested=1 spec_store_bypass_disable=prctl nopcid vivid.n_devs=64 vivid.multiplanar=1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2 netrom.nr_ndevs=32 rose.rose_ndevs=32 smp.csd_lock_timeout=100000 watchdog_thresh=55 workqueue.watchdog_thresh=140 sysctl.net.core.netdev_unregister_timeout_secs=140 dummy_hcd.num=32 max_loop=32 nbds_max=32 panic_on_warn
[ 0.773120][ T0] Unknown kernel command line parameters "spec_store_bypass_disable=prctl nbds_max=32", will be passed to user space.
[ 0.841187][ T0] random: crng init done
[ 0.843925][ T0] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes
[ 0.850451][ T0] software IO TLB: area num 8.
[ 0.877944][ T0] Fallback order for Node 0: 0 1
[ 0.877964][ T0] Fallback order for Node 1: 1 0
[ 0.877978][ T0] Built 2 zonelists, mobility grouping on. Total pages: 1048443
[ 0.890242][ T0] Policy zone: Normal
[ 0.893142][ T0] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[ 0.897550][ T0] stackdepot: allocating hash table via alloc_large_system_hash
[ 0.902260][ T0] stackdepot hash table entries: 1048576 (order: 12, 16777216 bytes, linear)
[ 1.214633][ T0] ------------[ cut here ]------------
[ 1.217852][ T0] kernel BUG at mm/page_alloc.c:4996!
[ 1.220930][ T0] Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
[ 1.224574][ T0] CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.15.0-rc4-syzkaller-gb6a218ff8b88-dirty #0 PREEMPT(undef)
[ 1.231268][ T0] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
[ 1.237627][ T0] RIP: 0010:__alloc_frozen_pages_noprof+0x1404/0x2520
[ 1.242184][ T0] Code: 0f 8f 21 f2 ff ff 8b 84 24 84 00 00 00 65 8b 15 42 c7 8f 11 83 c8 60 81 e2 00 01 ff 00 41 0f 45 c5 41 89 c5 e9 fe f1 ff ff 90 <0f> 0b 65 4c 8b 25 0a c7 8f 11 48 b8 00 00 00 00 00 fc ff df 49 8d
[ 1.253449][ T0] RSP: 0000:ffffffff8e0079f8 EFLAGS: 00010086
[ 1.256874][ T0] RAX: 00000000dead0000 RBX: ffffea00006d1040 RCX: ffffffff821407e6
[ 1.261855][ T0] RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00006d109c
[ 1.266392][ T0] RBP: ffffea00006d109c R08: 0000000000000000 R09: fffff940000da213
[ 1.270965][ T0] R10: ffffea00006d109f R11: dffffc0000000000 R12: 1ffffffff1c00f54
[ 1.276225][ T0] R13: 0000000000000015 R14: ffffea00006d1040 R15: 0000000000252000
[ 1.281956][ T0] FS: 0000000000000000(0000) GS:ffff8880d69e2000(0000) knlGS:0000000000000000
[ 1.288351][ T0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1.293167][ T0] CR2: ffff88817ffff000 CR3: 000000000e180000 CR4: 00000000000000b0
[ 1.298931][ T0] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1.304731][ T0] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1.310543][ T0] Call Trace:
[ 1.312870][ T0] <TASK>
[ 1.314588][ T0] ? unwind_next_frame+0x3fe/0x20a0
[ 1.317597][ T0] ? common_startup_64+0x13e/0x148
[ 1.320519][ T0] ? __pfx_stack_trace_consume_entry+0x10/0x10
[ 1.324051][ T0] ? __pfx___alloc_frozen_pages_noprof+0x10/0x10
[ 1.327730][ T0] ? __lock_acquire+0xaa4/0x1ba0
[ 1.330584][ T0] ? stack_trace_save+0x8e/0xc0
[ 1.333356][ T0] ? __pfx_stack_trace_save+0x10/0x10
[ 1.336385][ T0] new_slab+0x94/0x340
[ 1.338711][ T0] ___slab_alloc+0xd9c/0x1940
[ 1.341338][ T0] ? do_kmem_cache_create+0x1b3/0x730
[ 1.344384][ T0] ? new_slab+0x2d1/0x340
[ 1.346813][ T0] ? do_kmem_cache_create+0x1b3/0x730
[ 1.349994][ T0] ? __slab_alloc.constprop.0+0x56/0xb0
[ 1.353155][ T0] __slab_alloc.constprop.0+0x56/0xb0
[ 1.356234][ T0] kmem_cache_alloc_node_noprof+0xf5/0x3b0
[ 1.359629][ T0] ? do_kmem_cache_create+0x1b3/0x730
[ 1.362867][ T0] do_kmem_cache_create+0x1b3/0x730
[ 1.365861][ T0] create_boot_cache+0xba/0x140
[ 1.369050][ T0] new_kmalloc_cache+0x104/0x260
[ 1.371932][ T0] create_kmalloc_caches+0x31/0x50
[ 1.374850][ T0] kmem_cache_init+0x118/0x180
[ 1.377572][ T0] mm_core_init+0x123/0x220
[ 1.380169][ T0] start_kernel+0x197/0x4d0
[ 1.382673][ T0] x86_64_start_reservations+0x18/0x30
[ 1.385804][ T0] x86_64_start_kernel+0xb0/0xc0
[ 1.388641][ T0] common_startup_64+0x13e/0x148
[ 1.391477][ T0] </TASK>
[ 1.393164][ T0] Modules linked in:
[ 1.395366][ T0] ---[ end trace 0000000000000000 ]---
[ 1.398754][ T0] RIP: 0010:__alloc_frozen_pages_noprof+0x1404/0x2520
[ 1.403234][ T0] Code: 0f 8f 21 f2 ff ff 8b 84 24 84 00 00 00 65 8b 15 42 c7 8f 11 83 c8 60 81 e2 00 01 ff 00 41 0f 45 c5 41 89 c5 e9 fe f1 ff ff 90 <0f> 0b 65 4c 8b 25 0a c7 8f 11 48 b8 00 00 00 00 00 fc ff df 49 8d
[ 1.414886][ T0] RSP: 0000:ffffffff8e0079f8 EFLAGS: 00010086
[ 1.418676][ T0] RAX: 00000000dead0000 RBX: ffffea00006d1040 RCX: ffffffff821407e6
[ 1.423528][ T0] RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffea00006d109c
[ 1.428395][ T0] RBP: ffffea00006d109c R08: 0000000000000000 R09: fffff940000da213
[ 1.434348][ T0] R10: ffffea00006d109f R11: dffffc0000000000 R12: 1ffffffff1c00f54
[ 1.439111][ T0] R13: 0000000000000015 R14: ffffea00006d1040 R15: 0000000000252000
[ 1.443746][ T0] FS: 0000000000000000(0000) GS:ffff8880d69e2000(0000) knlGS:0000000000000000
[ 1.449598][ T0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1.453405][ T0] CR2: ffff88817ffff000 CR3: 000000000e180000 CR4: 00000000000000b0
[ 1.458118][ T0] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1.462997][ T0] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1.467716][ T0] Kernel panic - not syncing: Fatal exception
[ 1.472707][ T0] Rebooting in 86400 seconds..
syzkaller build log:
go env (err=<nil>)
GO111MODULE='auto'
GOARCH='amd64'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/syzkaller/jobs/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/syzkaller/jobs/linux/gopath/pkg/mod/golang.org/toolchain@...0.1-go1.23.7.linux-amd64'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/syzkaller/jobs/linux/gopath/pkg/mod/golang.org/toolchain@...0.1-go1.23.7.linux-amd64/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.23.7'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/syzkaller/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1408207977=/tmp/go-build -gno-record-gcc-switches'
git status (err=<nil>)
HEAD detached at c6b4fb399
nothing to commit, working tree clean
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen
make .descriptions
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=c6b4fb399236b655a39701fd51c33522caa06811 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20250425-123509'" -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
mkdir -p ./bin/linux_amd64
g++ -o ./bin/linux_amd64/syz-executor executor/executor.cc \
-m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"c6b4fb399236b655a39701fd51c33522caa06811\"
/usr/bin/ld: /tmp/ccx3kK0j.o: in function `Connection::Connect(char const*, char const*)':
executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x104): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=12cb1774580000
Tested on:
commit: b6a218ff Merge tag 'pm-6.15-rc5' of git://git.kernel.o..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=ca17f2d2ba38f7a0
dashboard link: https://syzkaller.appspot.com/bug?extid=7b3842775c9ce6b69efc
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=1738f774580000
Powered by blists - more mailing lists