Re: [syzbot] [jfs?] INFO: task hung in txBegin

syzbot
2024-06-27T02:20:08Z

Hello,

syzbot tried to test the proposed patch but the build/boot failed:

itialized
[ 12.450194][ T1] Bluetooth: RFCOMM socket layer initialized
[ 12.456398][ T1] Bluetooth: RFCOMM ver 1.11
[ 12.461045][ T1] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 12.467274][ T1] Bluetooth: BNEP filters: protocol multicast
[ 12.473507][ T1] Bluetooth: BNEP socket layer initialized
[ 12.479400][ T1] Bluetooth: CMTP (CAPI Emulation) ver 1.0
[ 12.485274][ T1] Bluetooth: CMTP socket layer initialized
[ 12.491147][ T1] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 12.498194][ T1] Bluetooth: HIDP socket layer initialized
[ 12.507632][ T1] NET: Registered PF_RXRPC protocol family
[ 12.513531][ T1] Key type rxrpc registered
[ 12.518063][ T1] Key type rxrpc_s registered
[ 12.523550][ T1] NET: Registered PF_KCM protocol family
[ 12.530117][ T1] lec:lane_module_init: lec.c: initialized
[ 12.536001][ T1] mpoa:atm_mpoa_init: mpc.c: initialized
[ 12.541990][ T1] l2tp_core: L2TP core driver, V2.0
[ 12.547437][ T1] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 12.553068][ T1] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
[ 12.559736][ T1] l2tp_netlink: L2TP netlink interface
[ 12.565426][ T1] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
[ 12.572210][ T1] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
[ 12.579806][ T1] NET: Registered PF_PHONET protocol family
[ 12.586291][ T1] 8021q: 802.1Q VLAN Support v1.8
[ 12.605218][ T1] DCCP: Activated CCID 2 (TCP-like)
[ 12.610742][ T1] DCCP: Activated CCID 3 (TCP-Friendly Rate Control)
[ 12.617954][ T1] DCCP is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list
[ 12.629617][ T1] sctp: Hash tables configured (bind 32/56)
[ 12.637290][ T1] NET: Registered PF_RDS protocol family
[ 12.643689][ T1] Registered RDS/infiniband transport
[ 12.650504][ T1] Registered RDS/tcp transport
[ 12.655260][ T1] tipc: Activated (version 2.0.0)
[ 12.661683][ T1] NET: Registered PF_TIPC protocol family
[ 12.668462][ T1] tipc: Started in single node mode
[ 12.674475][ T1] NET: Registered PF_SMC protocol family
[ 12.680577][ T1] 9pnet: Installing 9P2000 support
[ 12.686466][ T1] NET: Registered PF_CAIF protocol family
[ 12.696408][ T1] NET: Registered PF_IEEE802154 protocol family
[ 12.702904][ T1] Key type dns_resolver registered
[ 12.708146][ T1] Key type ceph registered
[ 12.713281][ T1] libceph: loaded (mon/osd proto 15/24)
[ 12.720605][ T1] batman_adv: B.A.T.M.A.N. advanced 2024.2 (compatibility version 15) loaded
[ 12.730351][ T1] openvswitch: Open vSwitch switching datapath
[ 12.739867][ T1] NET: Registered PF_VSOCK protocol family
[ 12.746313][ T1] mpls_gso: MPLS GSO support
[ 12.768127][ T1] IPI shorthand broadcast: enabled
[ 12.773633][ T1] AVX2 version of gcm_enc/dec engaged.
[ 12.779675][ T1] AES CTR mode by8 optimization enabled
[ 14.227701][ T1] sched_clock: Marking stable (14190061000, 35522337)->(14229701277, -4117940)
[ 14.241866][ T1] Timer migration: 1 hierarchy levels; 8 children per group; 0 crossnode level
[ 14.253943][ T1] registered taskstats version 1
[ 14.270550][ T1] Loading compiled-in X.509 certificates
[ 14.280599][ T1] Loaded X.509 cert 'Build time autogenerated kernel key: 4d8a14ab1354649e588ef893344f8a054513da14'
[ 14.601155][ T1] zswap: loaded using pool lzo/zsmalloc
[ 14.608936][ T1] Demotion targets for Node 0: null
[ 14.614169][ T1] Demotion targets for Node 1: null
[ 14.628617][ T1] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
[ 17.258079][ T1] Key type .fscrypt registered
[ 17.263049][ T1] Key type fscrypt-provisioning registered
[ 17.276013][ T1] kAFS: Red Hat AFS client v0.1 registering.
[ 17.300345][ T1] Btrfs loaded, assert=on, ref-verify=on, zoned=yes, fsverity=yes
[ 17.309004][ T1] Key type big_key registered
[ 17.323034][ T1] Key type encrypted registered
[ 17.328323][ T1] ima: No TPM chip found, activating TPM-bypass!
[ 17.334853][ T1] Loading compiled-in module X.509 certificates
[ 17.344084][ T1] Loaded X.509 cert 'Build time autogenerated kernel key: 4d8a14ab1354649e588ef893344f8a054513da14'
[ 17.354904][ T1] ima: Allocated hash algorithm: sha256
[ 17.360822][ T1] ima: No architecture policies found
[ 17.366993][ T1] evm: Initialising EVM extended attributes:
[ 17.372956][ T1] evm: security.selinux (disabled)
[ 17.378069][ T1] evm: security.SMACK64
[ 17.382213][ T1] evm: security.SMACK64EXEC
[ 17.386715][ T1] evm: security.SMACK64TRANSMUTE
[ 17.391638][ T1] evm: security.SMACK64MMAP
[ 17.396145][ T1] evm: security.apparmor (disabled)
[ 17.401333][ T1] evm: security.ima
[ 17.405130][ T1] evm: security.capability
[ 17.409889][ T1] evm: HMAC attrs: 0x1
[ 17.416387][ T1] PM: Magic number: 12:853:157
[ 17.421445][ T1] usb usb36-port8: hash matches
[ 17.426621][ T1] bdi 1:9: hash matches
[ 17.431495][ T1] printk: legacy console [netcon0] enabled
[ 17.437427][ T1] netconsole: network logging started
[ 17.443443][ T1] gtp: GTP module loaded (pdp ctx size 128 bytes)
[ 17.451315][ T1] rdma_rxe: loaded
[ 17.455890][ T1] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 17.468001][ T1] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 17.477349][ T1] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 17.487009][ T786] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 17.499048][ T1] clk: Disabling unused clocks
[ 17.503984][ T1] ALSA device list:
[ 17.507873][ T786] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 17.515939][ T1] #0: Dummy 1
[ 17.520114][ T1] #1: Loopback 1
[ 17.523819][ T1] #2: Virtual MIDI Card 1
[ 17.531956][ T1] md: Waiting for all devices to be available before autodetect
[ 17.539623][ T1] md: If you don't use raid, use raid=noautodetect
[ 17.546155][ T1] md: Autodetecting RAID arrays.
[ 17.551160][ T1] md: autorun ...
[ 17.554815][ T1] md: ... autorun DONE.
[ 17.623375][ T1] EXT4-fs (sda1): mounted filesystem 5941fea2-f5fa-4b4e-b5ef-9af118b27b95 ro with ordered data mode. Quota mode: none.
[ 17.636264][ T1] VFS: Mounted root (ext4 filesystem) readonly on device 8:1.
[ 17.649480][ T1] devtmpfs: mounted
[ 17.737799][ T1] Freeing unused kernel image (initmem) memory: 25888K
[ 17.748732][ T1] Write protecting the kernel read-only data: 212992k
[ 17.766778][ T1] Freeing unused kernel image (rodata/data gap) memory: 756K
[ 17.872267][ T1] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 17.880469][ T1] x86/mm: Checking user space page tables
[ 17.972322][ T1] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 17.985697][ T1] Failed to set sysctl parameter 'max_rcu_stall_to_panic=1': parameter not found
[ 17.995475][ T1] Run /sbin/init as init process
[ 18.362152][ T4502] mount (4502) used greatest stack depth: 23680 bytes left
[ 18.417722][ T4503] EXT4-fs (sda1): re-mounted 5941fea2-f5fa-4b4e-b5ef-9af118b27b95 r/w. Quota mode: none.
[ 18.432004][ T4503] mount (4503) used greatest stack depth: 23608 bytes left
mount: mounting selinuxfs on /sys/fs/selinux failed: No such file or directory
[ 18.598864][ T4506] mount (4506) used greatest stack depth: 20672 bytes left
Starting syslogd: OK
Starting acpid: OK
Starting klogd: OK
Running sysctl: OK
Populating /dev using udev: [ 19.589483][ T4536] udevd[4536]: starting version 3.2.11
[ 19.881043][ T4537] udevd[4537]: starting eudev-3.2.11
[ 19.883595][ T4536] udevd (4536) used greatest stack depth: 18776 bytes left
[ 23.456570][ T2487] Oops: general protection fault, probably for non-canonical address 0xdffffc000000001c: 0000 [#1] PREEMPT SMP KASAN PTI
[ 23.469312][ T2487] KASAN: null-ptr-deref in range [0x00000000000000e0-0x00000000000000e7]
[ 23.477745][ T2487] CPU: 0 PID: 2487 Comm: kworker/u8:9 Not tainted 6.10.0-rc4-syzkaller-00148-g50736169ecc8-dirty #0
[ 23.488606][ T2487] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
[ 23.498891][ T2487] Workqueue: writeback wb_workfn (flush-8:0)
[ 23.504940][ T2487] RIP: 0010:__lock_acquire+0x6a/0x1fd0
[ 23.510524][ T2487] Code: df 0f b6 04 30 84 c0 0f 85 4b 16 00 00 83 3d c8 e1 39 0e 00 0f 84 1c 11 00 00 83 3d bf 9d ad 0c 00 74 2c 4c 89 e0 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 e7 e8 28 1d 86 00 48 be 00 00 00 00 00 fc
[ 23.530239][ T2487] RSP: 0018:ffffc900097874f0 EFLAGS: 00010002
[ 23.536424][ T2487] RAX: 000000000000001c RBX: 0000000000000000 RCX: 0000000000000000
[ 23.544419][ T2487] RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 00000000000000e0
[ 23.552415][ T2487] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
[ 23.560670][ T2487] R10: dffffc0000000000 R11: fffffbfff1f58356 R12: 00000000000000e0
[ 23.568661][ T2487] R13: 0000000000000000 R14: ffff88802a7a3c00 R15: 0000000000000000
[ 23.576662][ T2487] FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
[ 23.585609][ T2487] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 23.592299][ T2487] CR2: 00007f77ff6ed907 CR3: 000000001f0a4000 CR4: 00000000003506f0
[ 23.600343][ T2487] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 23.608338][ T2487] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 23.616341][ T2487] Call Trace:
[ 23.619811][ T2487] <TASK>
[ 23.622841][ T2487] ? __die_body+0x88/0xe0
[ 23.627291][ T2487] ? die_addr+0x108/0x140
[ 23.631844][ T2487] ? exc_general_protection+0x3dd/0x5d0
[ 23.637448][ T2487] ? asm_exc_general_protection+0x26/0x30
[ 23.643205][ T2487] ? __lock_acquire+0x6a/0x1fd0
[ 23.648379][ T2487] lock_acquire+0x1ed/0x550
[ 23.653004][ T2487] ? wb_writeback+0x13a/0xd80
[ 23.657730][ T2487] ? __pfx_lock_acquire+0x10/0x10
[ 23.662789][ T2487] ? __lock_acquire+0x1346/0x1fd0
[ 23.667840][ T2487] ? __pfx___might_resched+0x10/0x10
[ 23.673653][ T2487] ? __asan_memset+0x23/0x50
[ 23.678272][ T2487] down_write+0x3a/0x50
[ 23.682535][ T2487] ? wb_writeback+0x13a/0xd80
[ 23.687231][ T2487] wb_writeback+0x13a/0xd80
[ 23.691774][ T2487] ? mark_lock+0x9a/0x350
[ 23.696126][ T2487] ? __pfx_wb_writeback+0x10/0x10
[ 23.701173][ T2487] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 23.707179][ T2487] wb_workfn+0xba1/0x1090
[ 23.711621][ T2487] ? __pfx_wb_workfn+0x10/0x10
[ 23.716432][ T2487] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 23.722440][ T2487] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10
[ 23.728884][ T2487] ? process_scheduled_works+0x945/0x1830
[ 23.734721][ T2487] process_scheduled_works+0xa2c/0x1830
[ 23.740393][ T2487] ? __pfx_process_scheduled_works+0x10/0x10
[ 23.746411][ T2487] ? assign_work+0x364/0x3d0
[ 23.751113][ T2487] worker_thread+0x86d/0xd70
[ 23.755744][ T2487] ? _raw_spin_unlock_irqrestore+0xdd/0x140
[ 23.761710][ T2487] ? __kthread_parkme+0x169/0x1d0
[ 23.766764][ T2487] ? __pfx_worker_thread+0x10/0x10
[ 23.772004][ T2487] kthread+0x2f0/0x390
[ 23.776101][ T2487] ? __pfx_worker_thread+0x10/0x10
[ 23.781334][ T2487] ? __pfx_kthread+0x10/0x10
[ 23.786212][ T2487] ret_from_fork+0x4b/0x80
[ 23.790664][ T2487] ? __pfx_kthread+0x10/0x10
[ 23.795373][ T2487] ret_from_fork_asm+0x1a/0x30
[ 23.800262][ T2487] </TASK>
[ 23.803312][ T2487] Modules linked in:
[ 23.807246][ T2487] ---[ end trace 0000000000000000 ]---
[ 23.812972][ T2487] RIP: 0010:__lock_acquire+0x6a/0x1fd0
[ 23.818459][ T2487] Code: df 0f b6 04 30 84 c0 0f 85 4b 16 00 00 83 3d c8 e1 39 0e 00 0f 84 1c 11 00 00 83 3d bf 9d ad 0c 00 74 2c 4c 89 e0 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 e7 e8 28 1d 86 00 48 be 00 00 00 00 00 fc
[ 23.838435][ T2487] RSP: 0018:ffffc900097874f0 EFLAGS: 00010002
[ 23.844527][ T2487] RAX: 000000000000001c RBX: 0000000000000000 RCX: 0000000000000000
[ 23.852515][ T2487] RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 00000000000000e0
[ 23.860505][ T2487] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
[ 23.868584][ T2487] R10: dffffc0000000000 R11: fffffbfff1f58356 R12: 00000000000000e0
[ 23.876574][ T2487] R13: 0000000000000000 R14: ffff88802a7a3c00 R15: 0000000000000000
[ 23.884566][ T2487] FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
[ 23.893785][ T2487] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 23.900586][ T2487] CR2: 00007f77ff6ed907 CR3: 000000001f0a4000 CR4: 00000000003506f0
[ 23.908579][ T2487] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 23.916664][ T2487] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 23.924658][ T2487] Kernel panic - not syncing: Fatal exception
[ 23.931104][ T2487] Kernel Offset: disabled
[ 23.935520][ T2487] 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-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'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.4'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/syzkaller/jobs-2/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-build1113195296=/tmp/go-build -gno-record-gcc-switches'

git status (err=<nil>)
HEAD detached at dac2aa43b4
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
go fmt ./sys/... >/dev/null
touch .descriptions
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=dac2aa43b4dbdbffa2c5e24a736096a6d928f633 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20240620-104534'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=dac2aa43b4dbdbffa2c5e24a736096a6d928f633 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20240620-104534'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -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 -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"dac2aa43b4dbdbffa2c5e24a736096a6d928f633\"

Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=15ee7dfa980000

Tested on:

commit: 50736169 Merge tag 'for-6.10-rc4-tag' of git://git.ker..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel config: https://syzkaller.appspot.com/x/.config?x=12f98862a3c0c799
dashboard link: https://syzkaller.appspot.com/bug?extid=eda89a33c5856f66f823
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=12ee231e980000