Hello,
syzbot tried to test the proposed patch but the build/boot failed:
t AMD or Hygon
[ 5.383175][ T1] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1fb63109b96, max_idle_ns: 440795265316 ns
[ 5.384507][ T1] clocksource: Switched to clocksource tsc
[ 5.395700][ T71] kworker/u8:4 (71) used greatest stack depth: 26984 bytes left
[ 5.447120][ T1] Initialise system trusted keyrings
[ 5.450534][ T1] workingset: timestamp_bits=40 (anon: 35) max_order=21 bucket_order=0 (anon: 0)
[ 5.471694][ T1] DLM installed
[ 5.482636][ T1] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 5.499493][ T1] NFS: Registering the id_resolver key type
[ 5.499674][ T1] Key type id_resolver registered
[ 5.499689][ T1] Key type id_legacy registered
[ 5.500203][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 5.500423][ T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 5.506292][ T1] smbdirect: subsystem loading...
[ 5.535563][ T1] smbdirect: subsystem loaded
[ 5.564553][ T1] Key type cifs.spnego registered
[ 5.564932][ T1] Key type cifs.idmap registered
[ 5.576442][ T1] ntfs3: Enabled Linux POSIX ACLs support
[ 5.576459][ T1] ntfs3: Read-only LZX/Xpress compression included
[ 5.583407][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 5.590657][ T1] romfs: ROMFS MTD (C) 2007 Red Hat, Inc.
[ 5.591227][ T1] QNX4 filesystem 0.2.3 registered.
[ 5.591389][ T1] qnx6: QNX6 filesystem 1.0.0 registered.
[ 5.593180][ T1] fuse: init (API version 7.45)
[ 5.611293][ T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[ 5.614078][ T1] orangefs_init: module version upstream loaded
[ 5.615626][ T1] JFS: nTxBlock = 8192, nTxLock = 65536
[ 5.645411][ T1] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[ 5.659918][ T1] 9p: Installing v9fs 9p2000 file system support
[ 5.661040][ T1] NILFS version 2 loaded
[ 5.661052][ T1] befs: version: 0.9.3
[ 5.662922][ T1] ocfs2: Registered cluster interface o2cb
[ 5.664569][ T1] ocfs2: Registered cluster interface user
[ 5.665955][ T1] OCFS2 User DLM kernel interface loaded
[ 5.713717][ T1] gfs2: GFS2 installed
[ 5.738484][ T1] ceph: loaded (mds proto 32)
[ 5.754167][ T1] cryptd: max_cpu_qlen set to 1000
[ 5.793859][ T1] NET: Registered PF_ALG protocol family
[ 5.794483][ T1] async_tx: api initialized (async)
[ 5.794550][ T1] Key type asymmetric registered
[ 5.794640][ T1] Asymmetric key parser 'x509' registered
[ 5.794658][ T1] Asymmetric key parser 'pkcs8' registered
[ 5.794674][ T1] Key type pkcs7_test registered
[ 5.796268][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 239)
[ 5.813490][ T1] io scheduler mq-deadline registered
[ 5.813531][ T1] io scheduler kyber registered
[ 5.815551][ T1] io scheduler bfq registered
[ 5.820773][ T1] raid6: skipped pq benchmark and selected avx2x4
[ 5.845694][ T158] kworker/u8:4 (158) used greatest stack depth: 26904 bytes left
[ 5.851747][ T1] input: Power Button as /devices/platform/LNXPWRBN:00/input/input0
[ 5.856662][ T1] ACPI: button: Power Button [PWRF]
[ 5.863410][ T1] input: Sleep Button as /devices/platform/LNXSLPBN:00/input/input1
[ 5.868788][ T1] ACPI: button: Sleep Button [SLPF]
[ 5.913435][ T1] ioatdma: Intel(R) QuickData Technology Driver 5.00
[ 5.971784][ T10] ACPI: \_SB_.LNKC: Enabled at IRQ 11
[ 5.971982][ T10] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver
[ 6.034461][ T10] ACPI: \_SB_.LNKD: Enabled at IRQ 10
[ 6.034607][ T10] virtio-pci 0000:00:04.0: virtio_pci: leaving for legacy driver
[ 6.096269][ T10] ACPI: \_SB_.LNKB: Enabled at IRQ 10
[ 6.096394][ T10] virtio-pci 0000:00:06.0: virtio_pci: leaving for legacy driver
[ 6.133223][ T10] virtio-pci 0000:00:07.0: virtio_pci: leaving for legacy driver
[ 6.387424][ T321] kworker/u8:8 (321) used greatest stack depth: 26856 bytes left
[ 6.508457][ T374] kworker/u8:8 (374) used greatest stack depth: 26784 bytes left
[ 6.769435][ T499] kworker/u8:8 (499) used greatest stack depth: 26752 bytes left
[ 7.036059][ T630] kworker/u8:8 (630) used greatest stack depth: 25936 bytes left
[ 7.240209][ T1] N_HDLC line discipline registered with maxframe=4096
[ 7.241895][ T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 7.263328][ T1] 00:02: ttyS0 I/O:0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 7.295911][ T1] 00:03: ttyS1 I/O:0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[ 7.326623][ T1] 00:04: ttyS2 I/O:0x3e8 (irq = 6, base_baud = 115200) is a 16550A
[ 7.356596][ T1] 00:05: ttyS3 I/O:0x2e8 (irq = 7, base_baud = 115200) is a 16550A
[ 7.412273][ T1] Non-volatile memory driver v1.3
[ 7.457982][ T1] usbcore: registered new interface driver xillyusb
[ 7.472322][ T1] ACPI: bus type drm_connector registered
[ 7.486512][ T1] [drm] Initialized vgem 1.0.0 for vgem on minor 0
[ 7.497918][ T1] ------------[ cut here ]------------
[ 7.497933][ T1] [PLANE:35:plane-0] pixel format with alpha exposed but blend mode not setup
[ 7.497954][ T1] WARNING: drivers/gpu/drm/drm_mode_config.c:873 at drm_mode_config_validate+0x1c6d/0x1e60, CPU#1: swapper/0/1
[ 7.498016][ T1] Modules linked in:
[ 7.498057][ T1] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted syzkaller #0 PREEMPT_{RT,(full)}
[ 7.498080][ T1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
[ 7.498096][ T1] RIP: 0010:drm_mode_config_validate+0x1cae/0x1e60
[ 7.498128][ T1] Code: 0f 85 ae 00 00 00 4d 8d 77 10 8b 6d 00 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 0a 9d c6 fc 49 8b 16 4c 89 ef 89 ee <67> 48 0f b9 3a eb 05 e8 56 35 5a fc 49 bd 00 00 00 00 00 fc ff df
[ 7.498150][ T1] RSP: 0000:ffffc90000067810 EFLAGS: 00010246
[ 7.498168][ T1] RAX: 1ffff11004c1f008 RBX: dffffc0000000000 RCX: ffff88801cad5d00
[ 7.498184][ T1] RDX: ffff888025bf1ea0 RSI: 0000000000000023 RDI: ffffffff8f981c70
[ 7.498198][ T1] RBP: 0000000000000023 R08: 0000000000000000 R09: 0000000000000000
[ 7.498210][ T1] R10: dffffc0000000000 R11: fffffbfff1f19cd0 R12: dffffc0000000000
[ 7.498224][ T1] R13: ffffffff8f981c70 R14: ffff8880260f8040 R15: ffff8880260f8030
[ 7.498244][ T1] FS: 0000000000000000(0000) GS:ffff8881261b4000(0000) knlGS:0000000000000000
[ 7.498262][ T1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7.498276][ T1] CR2: 0000000000000000 CR3: 000000000ddb0000 CR4: 00000000003526f0
[ 7.498291][ T1] Call Trace:
[ 7.498297][ T1] <TASK>
[ 7.498321][ T1] ? debugfs_create_file_full+0x3f/0x60
[ 7.498349][ T1] drm_dev_register+0x7f/0xd80
[ 7.498378][ T1] vkms_create+0x40d/0x4f0
[ 7.498414][ T1] ? __pfx_vkms_init+0x10/0x10
[ 7.498443][ T1] vkms_init+0x57/0x80
[ 7.498468][ T1] do_one_initcall+0x250/0x870
[ 7.498496][ T1] ? __pfx_vkms_init+0x10/0x10
[ 7.498521][ T1] ? __pfx_do_one_initcall+0x10/0x10
[ 7.498553][ T1] ? lapic_next_event+0x11/0x20
[ 7.498585][ T1] ? clockevents_program_event+0x491/0x630
[ 7.498613][ T1] ? __pfx___schedule+0x10/0x10
[ 7.498662][ T1] ? irqentry_exit+0x218/0x790
[ 7.498692][ T1] ? lockdep_hardirqs_on+0x7a/0x110
[ 7.498722][ T1] ? irqentry_exit+0x218/0x790
[ 7.498751][ T1] ? trace_irq_disable+0x3b/0x140
[ 7.498792][ T1] ? parameq+0xd6/0x170
[ 7.498824][ T1] ? next_arg+0x4a0/0x5e0
[ 7.498858][ T1] ? parameq+0x14d/0x170
[ 7.498893][ T1] ? parse_args+0x9c3/0xad0
[ 7.498940][ T1] ? trace_kmalloc+0x2a/0xf0
[ 7.498972][ T1] ? rcu_is_watching+0x15/0xb0
[ 7.499001][ T1] do_initcall_level+0x10a/0x1a0
[ 7.499032][ T1] ? kernel_init+0x22/0x1d0
[ 7.499055][ T1] do_initcalls+0x59/0xa0
[ 7.499085][ T1] kernel_init_freeable+0x29d/0x3e0
[ 7.499115][ T1] ? __pfx_kernel_init+0x10/0x10
[ 7.499138][ T1] kernel_init+0x22/0x1d0
[ 7.499158][ T1] ? __pfx_kernel_init+0x10/0x10
[ 7.499179][ T1] ret_from_fork+0x514/0xb70
[ 7.499212][ T1] ? __pfx_ret_from_fork+0x10/0x10
[ 7.499240][ T1] ? __switch_to+0xc89/0x1420
[ 7.499268][ T1] ? __pfx_kernel_init+0x10/0x10
[ 7.499293][ T1] ret_from_fork_asm+0x1a/0x30
[ 7.499339][ T1] </TASK>
[ 7.499354][ T1] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 7.499370][ T1] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted syzkaller #0 PREEMPT_{RT,(full)}
[ 7.499393][ T1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
[ 7.499405][ T1] Call Trace:
[ 7.499413][ T1] <TASK>
[ 7.499422][ T1] vpanic+0x56c/0xa60
[ 7.499452][ T1] ? __pfx__printk+0x10/0x10
[ 7.499473][ T1] ? __pfx_vpanic+0x10/0x10
[ 7.499500][ T1] ? is_bpf_text_address+0x292/0x2b0
[ 7.499525][ T1] ? is_bpf_text_address+0x26/0x2b0
[ 7.499557][ T1] panic+0xc5/0xd0
[ 7.499586][ T1] ? __pfx_panic+0x10/0x10
[ 7.499624][ T1] ? ret_from_fork_asm+0x1a/0x30
[ 7.499659][ T1] __warn+0x315/0x4c0
[ 7.499687][ T1] ? drm_mode_config_validate+0x1c6d/0x1e60
[ 7.499716][ T1] ? drm_mode_config_validate+0x1c6d/0x1e60
[ 7.499742][ T1] __report_bug+0x276/0x570
[ 7.499799][ T1] ? drm_mode_config_validate+0x1c6d/0x1e60
[ 7.499828][ T1] ? __pfx___report_bug+0x10/0x10
[ 7.499865][ T1] ? _raw_spin_unlock_irqrestore+0x30/0x80
[ 7.499896][ T1] ? lockdep_hardirqs_on+0x7a/0x110
[ 7.499928][ T1] ? rt_mutex_slowunlock+0x4ee/0xa20
[ 7.499956][ T1] report_bug_entry+0x19a/0x290
[ 7.499985][ T1] ? drm_mode_config_validate+0x1cae/0x1e60
[ 7.500009][ T1] ? drm_mode_config_validate+0x1cb3/0x1e60
[ 7.500034][ T1] handle_bug+0xce/0x200
[ 7.500055][ T1] exc_invalid_op+0x1a/0x50
[ 7.500075][ T1] asm_exc_invalid_op+0x1a/0x20
[ 7.500097][ T1] RIP: 0010:drm_mode_config_validate+0x1cae/0x1e60
[ 7.500122][ T1] Code: 0f 85 ae 00 00 00 4d 8d 77 10 8b 6d 00 4c 89 f0 48 c1 e8 03 80 3c 18 00 74 08 4c 89 f7 e8 0a 9d c6 fc 49 8b 16 4c 89 ef 89 ee <67> 48 0f b9 3a eb 05 e8 56 35 5a fc 49 bd 00 00 00 00 00 fc ff df
[ 7.500139][ T1] RSP: 0000:ffffc90000067810 EFLAGS: 00010246
[ 7.500155][ T1] RAX: 1ffff11004c1f008 RBX: dffffc0000000000 RCX: ffff88801cad5d00
[ 7.500170][ T1] RDX: ffff888025bf1ea0 RSI: 0000000000000023 RDI: ffffffff8f981c70
[ 7.500184][ T1] RBP: 0000000000000023 R08: 0000000000000000 R09: 0000000000000000
[ 7.500196][ T1] R10: dffffc0000000000 R11: fffffbfff1f19cd0 R12: dffffc0000000000
[ 7.500211][ T1] R13: ffffffff8f981c70 R14: ffff8880260f8040 R15: ffff8880260f8030
[ 7.500252][ T1] ? debugfs_create_file_full+0x3f/0x60
[ 7.500278][ T1] drm_dev_register+0x7f/0xd80
[ 7.500307][ T1] vkms_create+0x40d/0x4f0
[ 7.500337][ T1] ? __pfx_vkms_init+0x10/0x10
[ 7.500361][ T1] vkms_init+0x57/0x80
[ 7.500385][ T1] do_one_initcall+0x250/0x870
[ 7.500412][ T1] ? __pfx_vkms_init+0x10/0x10
[ 7.500437][ T1] ? __pfx_do_one_initcall+0x10/0x10
[ 7.500468][ T1] ? lapic_next_event+0x11/0x20
[ 7.500498][ T1] ? clockevents_program_event+0x491/0x630
[ 7.500525][ T1] ? __pfx___schedule+0x10/0x10
[ 7.500567][ T1] ? irqentry_exit+0x218/0x790
[ 7.500597][ T1] ? lockdep_hardirqs_on+0x7a/0x110
[ 7.500627][ T1] ? irqentry_exit+0x218/0x790
[ 7.500656][ T1] ? trace_irq_disable+0x3b/0x140
[ 7.500690][ T1] ? parameq+0xd6/0x170
[ 7.500721][ T1] ? next_arg+0x4a0/0x5e0
[ 7.500755][ T1] ? parameq+0x14d/0x170
[ 7.500796][ T1] ? parse_args+0x9c3/0xad0
[ 7.500843][ T1] ? trace_kmalloc+0x2a/0xf0
[ 7.500874][ T1] ? rcu_is_watching+0x15/0xb0
[ 7.500903][ T1] do_initcall_level+0x10a/0x1a0
[ 7.500933][ T1] ? kernel_init+0x22/0x1d0
[ 7.500955][ T1] do_initcalls+0x59/0xa0
[ 7.500985][ T1] kernel_init_freeable+0x29d/0x3e0
[ 7.501015][ T1] ? __pfx_kernel_init+0x10/0x10
[ 7.501038][ T1] kernel_init+0x22/0x1d0
[ 7.501059][ T1] ? __pfx_kernel_init+0x10/0x10
[ 7.501080][ T1] ret_from_fork+0x514/0xb70
[ 7.501112][ T1] ? __pfx_ret_from_fork+0x10/0x10
[ 7.501139][ T1] ? __switch_to+0xc89/0x1420
[ 7.501166][ T1] ? __pfx_kernel_init+0x10/0x10
[ 7.501189][ T1] ret_from_fork_asm+0x1a/0x30
[ 7.501234][ T1] </TASK>
[ 7.501842][ T1] Kernel Offset: disabled
syzkaller build log:
go env (err=<nil>)
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE='auto'
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3631483522=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/syzkaller/jobs-2/linux/gopath/src/
github.com/google/syzkaller/go.mod'
GOMODCACHE='/syzkaller/jobs-2/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs-2/linux/gopath'
GOPRIVATE=''
GOPROXY='
https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='
sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/syzkaller/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.26.0'
GOWORK=''
PKG_CONFIG='pkg-config'
git status (err=<nil>)
HEAD detached at 303e2802d4
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}}' -ldflags="-s -w -X
github.com/google/syzkaller/prog.GitRevision=303e2802d4760a2024848e19b613070c0df2a791 -X
github.com/google/syzkaller/prog.gitRevisionDate=20260418-062724" ./sys/syz-sysgen | grep -q false || go install -ldflags="-s -w -X
github.com/google/syzkaller/prog.GitRevision=303e2802d4760a2024848e19b613070c0df2a791 -X
github.com/google/syzkaller/prog.gitRevisionDate=20260418-062724" ./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=303e2802d4760a2024848e19b613070c0df2a791 -X
github.com/google/syzkaller/prog.gitRevisionDate=20260418-062724" -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=\"303e2802d4760a2024848e19b613070c0df2a791\"
/usr/bin/ld: /tmp/cczXukWt.o: in function `Connection::Connect(char const*, char const*)':
executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x386): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
./tools/check-syzos.sh 2>/dev/null
Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=116ceab9580000
Tested on:
commit: b4515cf4 Add linux-next specific files for 20260722
git tree: linux-next
kernel config:
https://syzkaller.appspot.com/x/.config?x=166282f41bae1040
patch:
https://syzkaller.appspot.com/x/patch.diff?x=15214232580000