BUG: key ADDR has not been registered!
BUG: key ffff888018a980d8 has not been registered!
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(1)
WARNING: CPU: 0 PID: 5098 at kernel/locking/lockdep.c:4945 lockdep_init_map_type+0x4e3/0x910 kernel/locking/lockdep.c:4945
Modules linked in:
CPU: 0 PID: 5098 Comm: syz-executor.0 Not tainted 6.10.0-rc4-next-20240617-syzkaller-06646-g76db4c64526c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:lockdep_init_map_type+0x4e3/0x910 kernel/locking/lockdep.c:4945
Code: 00 00 83 3d 0e ee 3f 0e 00 75 23 90 48 c7 c7 c0 bf ca 8b 48 c7 c6 60 c2 ca 8b e8 98 12 e6 ff 48 ba 00 00 00 00 00 fc ff df 90 <0f> 0b 90 90 90 e9 0d ff ff ff 48 c7 c7 00 c2 ca 8b 4c 89 fe e8 d4
RSP: 0018:ffffc9000366f560 EFLAGS: 00010246
RAX: e879aa8ed345bf00 RBX: ffff88802c36798a RCX: ffff888027369e00
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000366f630 R08: ffffffff81552402 R09: 1ffff1101728519a
R10: dffffc0000000000 R11: ffffed101728519b R12: ffff88802c367968
R13: 1ffff920006cdeb0 R14: 0000000000000000 R15: ffff888018a980d8
FS: 000000000efc8480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004af000 CR3: 000000007e848000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lockdep_init_map_waits include/linux/lockdep.h:135 [inline]
lockdep_init_map_wait include/linux/lockdep.h:142 [inline]
lockdep_init_map include/linux/lockdep.h:148 [inline]
__kernfs_create_file+0x112/0x2e0 fs/kernfs/file.c:1046
cgroup_add_file kernel/cgroup/cgroup.c:4216 [inline]
cgroup_addrm_files+0xab8/0xe50 kernel/cgroup/cgroup.c:4270
css_populate_dir+0x120/0x3b0 kernel/cgroup/cgroup.c:1761
cgroup_apply_control_enable+0x621/0xaf0 kernel/cgroup/cgroup.c:3240
cgroup_apply_control+0x97/0x800 kernel/cgroup/cgroup.c:3314
rebind_subsystems+0x10a0/0x1500 kernel/cgroup/cgroup.c:1882
cgroup_setup_root+0x3d3/0xb30 kernel/cgroup/cgroup.c:2132
cgroup1_root_to_use kernel/cgroup/cgroup-v1.c:1224 [inline]
cgroup1_get_tree+0x582/0x8c0 kernel/cgroup/cgroup-v1.c:1244
vfs_get_tree+0x90/0x2a0 fs/super.c:1789
do_new_mount+0x2be/0xb40 fs/namespace.c:3379
do_mount fs/namespace.c:3719 [inline]
__do_sys_mount fs/namespace.c:3925 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3902
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x4566fa
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 4e 0a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b4 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe50b20ed8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 000000000049f21c RCX: 00000000004566fa
RDX: 00000000004a9a25 RSI: 000000000049f21c RDI: 000000000049f1df
RBP: 000000000049f1df R08: 00000000004aeaa8 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004a9a25
R13: 00007ffe50b211b8 R14: 0000000000000000 R15: 0000000000000001
Warning: Permanently added '10.128.1.156' (ED25519) to the list of known hosts.
2024/06/18 08:49:53 parsed 1 programs
2024/06/18 08:49:53 executed programs: 0
[ 54.662536][ T5098] BUG: key ffff888018a980d8 has not been registered!
[ 54.669377][ T5098] ------------[ cut here ]------------
[ 54.674824][ T5098] DEBUG_LOCKS_WARN_ON(1)
[ 54.674874][ T5098] WARNING: CPU: 0 PID: 5098 at kernel/locking/lockdep.c:4945 lockdep_init_map_type+0x4e3/0x910
[ 54.674906][ T5098] Modules linked in:
[ 54.674923][ T5098] CPU: 0 PID: 5098 Comm: syz-executor.0 Not tainted 6.10.0-rc4-next-20240617-syzkaller-06646-g76db4c64526c #0
[ 54.674934][ T5098] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
[ 54.674949][ T5098] RIP: 0010:lockdep_init_map_type+0x4e3/0x910
[ 54.674962][ T5098] Code: 00 00 83 3d 0e ee 3f 0e 00 75 23 90 48 c7 c7 c0 bf ca 8b 48 c7 c6 60 c2 ca 8b e8 98 12 e6 ff 48 ba 00 00 00 00 00 fc ff df 90 <0f> 0b 90 90 90 e9 0d ff ff ff 48 c7 c7 00 c2 ca 8b 4c 89 fe e8 d4
[ 54.674971][ T5098] RSP: 0018:ffffc9000366f560 EFLAGS: 00010246
[ 54.674979][ T5098] RAX: e879aa8ed345bf00 RBX: ffff88802c36798a RCX: ffff888027369e00
[ 54.674987][ T5098] RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 54.674993][ T5098] RBP: ffffc9000366f630 R08: ffffffff81552402 R09: 1ffff1101728519a
[ 54.675000][ T5098] R10: dffffc0000000000 R11: ffffed101728519b R12: ffff88802c367968
[ 54.675007][ T5098] R13: 1ffff920006cdeb0 R14: 0000000000000000 R15: ffff888018a980d8
[ 54.675015][ T5098] FS: 000000000efc8480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
[ 54.675023][ T5098] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 54.675030][ T5098] CR2: 00000000004af000 CR3: 000000007e848000 CR4: 00000000003506f0
[ 54.675039][ T5098] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 54.675045][ T5098] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 54.675051][ T5098] Call Trace:
[ 54.675056][ T5098]
[ 54.675061][ T5098] ? __warn+0x168/0x4e0
[ 54.675070][ T5098] ? lockdep_init_map_type+0x4e3/0x910
[ 54.675082][ T5098] ? report_bug+0x2b3/0x500
[ 54.675101][ T5098] ? lockdep_init_map_type+0x4e3/0x910
[ 54.675113][ T5098] ? handle_bug+0x3e/0x70
[ 54.675124][ T5098] ? exc_invalid_op+0x1a/0x50
[ 54.675176][ T5098] ? asm_exc_invalid_op+0x1a/0x20
[ 54.675199][ T5098] ? __warn_printk+0x292/0x360
[ 54.675213][ T5098] ? lockdep_init_map_type+0x4e3/0x910
[ 54.675232][ T5098] ? __pfx_lockdep_init_map_type+0x10/0x10
[ 54.675249][ T5098] ? snprintf+0xda/0x120
[ 54.675271][ T5098] ? kernfs_new_node+0x18a/0x240
[ 54.675289][ T5098] __kernfs_create_file+0x112/0x2e0
[ 54.675311][ T5098] cgroup_addrm_files+0xab8/0xe50
[ 54.675338][ T5098] ? __pfx_cgroup_addrm_files+0x10/0x10
[ 54.675355][ T5098] ? __pfx_do_sync_core+0x10/0x10
[ 54.675371][ T5098] ? hugetlb_cgroup_read_numa_stat+0xbb/0x880
[ 54.675399][ T5098] css_populate_dir+0x120/0x3b0
[ 54.675422][ T5098] cgroup_apply_control_enable+0x621/0xaf0
[ 54.675442][ T5098] ? cgroup_propagate_control+0x653/0x6d0
[ 54.675465][ T5098] cgroup_apply_control+0x97/0x800
[ 54.675489][ T5098] ? __pfx_cgroup_apply_control+0x10/0x10
[ 54.675514][ T5098] ? rcu_read_lock_any_held+0xb7/0x160
[ 54.675537][ T5098] ? __pfx_rcu_read_lock_any_held+0x10/0x10
[ 54.675562][ T5098] rebind_subsystems+0x10a0/0x1500
[ 54.675590][ T5098] cgroup_setup_root+0x3d3/0xb30
[ 54.675616][ T5098] ? __pfx_cgroup_setup_root+0x10/0x10
[ 54.675643][ T5098] cgroup1_get_tree+0x582/0x8c0
[ 54.675664][ T5098] ? bpf_lsm_capable+0x9/0x10
[ 54.675683][ T5098] vfs_get_tree+0x90/0x2a0
[ 54.675703][ T5098] do_new_mount+0x2be/0xb40
[ 54.675723][ T5098] ? __pfx_do_new_mount+0x10/0x10
[ 54.675745][ T5098] __se_sys_mount+0x2d6/0x3c0
[ 54.675774][ T5098] ? __pfx___se_sys_mount+0x10/0x10
[ 54.675794][ T5098] ? do_syscall_64+0x100/0x230
[ 54.675813][ T5098] ? __x64_sys_mount+0x20/0xc0
[ 54.675832][ T5098] do_syscall_64+0xf3/0x230
[ 54.675849][ T5098] ? clear_bhb_loop+0x35/0x90
[ 54.675870][ T5098] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 54.675889][ T5098] RIP: 0033:0x4566fa
[ 54.675907][ T5098] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 4e 0a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b4 ff ff ff f7 d8 64 89 01 48
[ 54.675920][ T5098] RSP: 002b:00007ffe50b20ed8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
[ 54.675936][ T5098] RAX: ffffffffffffffda RBX: 000000000049f21c RCX: 00000000004566fa
[ 54.675951][ T5098] RDX: 00000000004a9a25 RSI: 000000000049f21c RDI: 000000000049f1df
[ 54.675957][ T5098] RBP: 000000000049f1df R08: 00000000004aeaa8 R09: 0000000000000000
[ 54.675963][ T5098] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004a9a25
[ 54.675970][ T5098] R13: 00007ffe50b211b8 R14: 0000000000000000 R15: 0000000000000001
[ 54.675980][ T5098]
[ 54.675985][ T5098] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 55.111632][ T5098] CPU: 0 PID: 5098 Comm: syz-executor.0 Not tainted 6.10.0-rc4-next-20240617-syzkaller-06646-g76db4c64526c #0
[ 55.123244][ T5098] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
[ 55.133282][ T5098] Call Trace:
[ 55.136551][ T5098]
[ 55.139468][ T5098] dump_stack_lvl+0x241/0x360
[ 55.144151][ T5098] ? __pfx_dump_stack_lvl+0x10/0x10
[ 55.149334][ T5098] ? __pfx__printk+0x10/0x10
[ 55.153948][ T5098] ? vscnprintf+0x5d/0x90
[ 55.158261][ T5098] panic+0x349/0x870
[ 55.162139][ T5098] ? __warn+0x177/0x4e0
[ 55.166277][ T5098] ? __pfx_panic+0x10/0x10
[ 55.170680][ T5098] __warn+0x34b/0x4e0
[ 55.174648][ T5098] ? lockdep_init_map_type+0x4e3/0x910
[ 55.180094][ T5098] report_bug+0x2b3/0x500
[ 55.184414][ T5098] ? lockdep_init_map_type+0x4e3/0x910
[ 55.189946][ T5098] handle_bug+0x3e/0x70
[ 55.194087][ T5098] exc_invalid_op+0x1a/0x50
[ 55.198578][ T5098] asm_exc_invalid_op+0x1a/0x20
[ 55.203418][ T5098] RIP: 0010:lockdep_init_map_type+0x4e3/0x910
[ 55.209474][ T5098] Code: 00 00 83 3d 0e ee 3f 0e 00 75 23 90 48 c7 c7 c0 bf ca 8b 48 c7 c6 60 c2 ca 8b e8 98 12 e6 ff 48 ba 00 00 00 00 00 fc ff df 90 <0f> 0b 90 90 90 e9 0d ff ff ff 48 c7 c7 00 c2 ca 8b 4c 89 fe e8 d4
[ 55.229062][ T5098] RSP: 0018:ffffc9000366f560 EFLAGS: 00010246
[ 55.235114][ T5098] RAX: e879aa8ed345bf00 RBX: ffff88802c36798a RCX: ffff888027369e00
[ 55.243071][ T5098] RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 55.251030][ T5098] RBP: ffffc9000366f630 R08: ffffffff81552402 R09: 1ffff1101728519a
[ 55.258986][ T5098] R10: dffffc0000000000 R11: ffffed101728519b R12: ffff88802c367968
[ 55.266953][ T5098] R13: 1ffff920006cdeb0 R14: 0000000000000000 R15: ffff888018a980d8
[ 55.275000][ T5098] ? __warn_printk+0x292/0x360
[ 55.279754][ T5098] ? __pfx_lockdep_init_map_type+0x10/0x10
[ 55.285547][ T5098] ? snprintf+0xda/0x120
[ 55.289776][ T5098] ? kernfs_new_node+0x18a/0x240
[ 55.294697][ T5098] __kernfs_create_file+0x112/0x2e0
[ 55.299881][ T5098] cgroup_addrm_files+0xab8/0xe50
[ 55.304915][ T5098] ? __pfx_cgroup_addrm_files+0x10/0x10
[ 55.310447][ T5098] ? __pfx_do_sync_core+0x10/0x10
[ 55.315456][ T5098] ? hugetlb_cgroup_read_numa_stat+0xbb/0x880
[ 55.321517][ T5098] css_populate_dir+0x120/0x3b0
[ 55.326361][ T5098] cgroup_apply_control_enable+0x621/0xaf0
[ 55.332155][ T5098] ? cgroup_propagate_control+0x653/0x6d0
[ 55.337866][ T5098] cgroup_apply_control+0x97/0x800
[ 55.342973][ T5098] ? __pfx_cgroup_apply_control+0x10/0x10
[ 55.348683][ T5098] ? rcu_read_lock_any_held+0xb7/0x160
[ 55.354128][ T5098] ? __pfx_rcu_read_lock_any_held+0x10/0x10
[ 55.360012][ T5098] rebind_subsystems+0x10a0/0x1500
[ 55.365117][ T5098] cgroup_setup_root+0x3d3/0xb30
[ 55.370049][ T5098] ? __pfx_cgroup_setup_root+0x10/0x10
[ 55.375499][ T5098] cgroup1_get_tree+0x582/0x8c0
[ 55.380340][ T5098] ? bpf_lsm_capable+0x9/0x10
[ 55.385002][ T5098] vfs_get_tree+0x90/0x2a0
[ 55.389404][ T5098] do_new_mount+0x2be/0xb40
[ 55.393997][ T5098] ? __pfx_do_new_mount+0x10/0x10
[ 55.399009][ T5098] __se_sys_mount+0x2d6/0x3c0
[ 55.403673][ T5098] ? __pfx___se_sys_mount+0x10/0x10
[ 55.408856][ T5098] ? do_syscall_64+0x100/0x230
[ 55.413605][ T5098] ? __x64_sys_mount+0x20/0xc0
[ 55.418354][ T5098] do_syscall_64+0xf3/0x230
[ 55.422843][ T5098] ? clear_bhb_loop+0x35/0x90
[ 55.427509][ T5098] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 55.433390][ T5098] RIP: 0033:0x4566fa
[ 55.437270][ T5098] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 4e 0a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b4 ff ff ff f7 d8 64 89 01 48
[ 55.456872][ T5098] RSP: 002b:00007ffe50b20ed8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
[ 55.465283][ T5098] RAX: ffffffffffffffda RBX: 000000000049f21c RCX: 00000000004566fa
[ 55.473246][ T5098] RDX: 00000000004a9a25 RSI: 000000000049f21c RDI: 000000000049f1df
[ 55.481220][ T5098] RBP: 000000000049f1df R08: 00000000004aeaa8 R09: 0000000000000000
[ 55.489184][ T5098] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004a9a25
[ 55.497142][ T5098] R13: 00007ffe50b211b8 R14: 0000000000000000 R15: 0000000000000001
[ 55.505111][ T5098]
[ 55.508324][ T5098] Kernel Offset: disabled
[ 55.512632][ T5098] Rebooting in 86400 seconds..
syzkaller build log:
go env (err=)
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-build3381797569=/tmp/go-build -gno-record-gcc-switches'
git status (err=)
HEAD detached at abf9ba4fc7
nothing to commit, working tree clean
go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen
make .descriptions
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=abf9ba4fc75d9b29af15625d44dcfc1360fad3b7 -X 'github.com/google/syzkaller/prog.gitRevisionDate=Tue Sep 1 10:54:55 2020 -0700'" "-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=abf9ba4fc75d9b29af15625d44dcfc1360fad3b7 -X 'github.com/google/syzkaller/prog.gitRevisionDate=Tue Sep 1 10:54:55 2020 -0700'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=abf9ba4fc75d9b29af15625d44dcfc1360fad3b7 -X 'github.com/google/syzkaller/prog.gitRevisionDate=Tue Sep 1 10:54:55 2020 -0700'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress
mkdir -p ./bin/linux_amd64
gcc -o ./bin/linux_amd64/syz-executor executor/executor.cc \
-m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"abf9ba4fc75d9b29af15625d44dcfc1360fad3b7\"