ci2 starts bisection 2026-10-17 17:19:06.659150304 +0000 UTC m=+63449.043664016 bisecting fixing commit since 0eb903b5b519d037c723d47a58c5d4f20eed7342 building syzkaller on 1e72964b0111319984575e60f266d1fa0a98abb5 ensuring issue is reproducible on original commit 0eb903b5b519d037c723d47a58c5d4f20eed7342 testing commit 0eb903b5b519d037c723d47a58c5d4f20eed7342 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: b43131a73897178feac45afc8e44e7cfa1b635c5c4ef5cd882ad0fcc2c676d7c all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [kasan locking atomic_sleep hang memleak ubsan], they are not needed testing commit 0eb903b5b519d037c723d47a58c5d4f20eed7342 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 88720ec55a1212090e9b1101b1e73fabe916f318bc69f0c3fc5dbc4f19608f01 all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [ubsan kasan locking atomic_sleep hang memleak], they are not needed kconfig minimization: base=3708 full=7427 leaves diff=2099 split chunks (needed=false): <2099> split chunk #0 of len 2099 into 5 parts testing without sub-chunk 1/5 disabling configs for [hang memleak ubsan kasan locking atomic_sleep], they are not needed testing commit 0eb903b5b519d037c723d47a58c5d4f20eed7342 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 1167df20558b22eacbc0c0237c6bfab2b0da731d2eb81f4efe425c92327079fc all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [kasan locking atomic_sleep hang memleak ubsan], they are not needed testing commit 0eb903b5b519d037c723d47a58c5d4f20eed7342 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 8881be3c6442006b6e006da8bc1dba4a9f1a2b37f3776d29175e84b907ce658d all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [hang memleak ubsan kasan locking atomic_sleep], they are not needed testing commit 0eb903b5b519d037c723d47a58c5d4f20eed7342 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 7231a2c8d861e383c77e54dd791b84ea143edc961dc8f550decc2ed183eb7695 all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [kasan locking atomic_sleep hang memleak ubsan], they are not needed testing commit 0eb903b5b519d037c723d47a58c5d4f20eed7342 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 2e24f6bc919d0b314db03cdc006510b36728b73782d17a964b51863ed79acd20 all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [locking atomic_sleep hang memleak ubsan kasan], they are not needed testing commit 0eb903b5b519d037c723d47a58c5d4f20eed7342 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: e951f84c59b6d58d48b95831d97e31cda2fcce37e65d37097ef9767f4a432d57 all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] the chunk can be dropped disabling configs for [kasan locking atomic_sleep hang memleak ubsan], they are not needed testing current HEAD 792fbe1537d8daeca9bd1917e84078b5432aadc2 testing commit 792fbe1537d8daeca9bd1917e84078b5432aadc2 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 22acf0a101cb2c9c4863cb3eee230079d4305eaee25c2bc91759a393080e6783 all runs: OK false negative chance: 0.000 # git bisect start 792fbe1537d8daeca9bd1917e84078b5432aadc2 0eb903b5b519d037c723d47a58c5d4f20eed7342 Bisecting: 1047 revisions left to test after this (roughly 10 steps) [a4750d5d7d1a3bac1b23ac5817f2bfbedcc95ac7] power: supply: isp1704_charger: cancel work on remove determine whether the revision contains the guilty commit revision 0eb903b5b519d037c723d47a58c5d4f20eed7342 crashed and is reachable testing commit a4750d5d7d1a3bac1b23ac5817f2bfbedcc95ac7 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 8c43fffe7873155f51698cea5cf4a827d1614c27c16f5569118ce5a4489361dc all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] # git bisect good a4750d5d7d1a3bac1b23ac5817f2bfbedcc95ac7 Bisecting: 523 revisions left to test after this (roughly 9 steps) [ba2e246aa294f9acd86194ea87fb6834ed0a37ac] netfilter: nfnetlink_log: wait for rcu grace period before freeing pernet state determine whether the revision contains the guilty commit revision a4750d5d7d1a3bac1b23ac5817f2bfbedcc95ac7 crashed and is reachable testing commit ba2e246aa294f9acd86194ea87fb6834ed0a37ac gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: ab4a7bc214787bfbbbab990849db7ced75b4c39f810a98e385cfa3c7a7ba9546 all runs: OK false negative chance: 0.000 # git bisect bad ba2e246aa294f9acd86194ea87fb6834ed0a37ac Bisecting: 261 revisions left to test after this (roughly 8 steps) [bb5c1fd737f7d6f5035b03f8c82d99e6bfa347d0] apparmor: Replace sprintf/strcpy with scnprintf/strscpy in aa_policy_init determine whether the revision contains the guilty commit revision a4750d5d7d1a3bac1b23ac5817f2bfbedcc95ac7 crashed and is reachable testing commit bb5c1fd737f7d6f5035b03f8c82d99e6bfa347d0 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 4b75aad00f7592a94aee92bac662c780141717c4047473e232be0ddff9b3e231 all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] # git bisect good bb5c1fd737f7d6f5035b03f8c82d99e6bfa347d0 Bisecting: 130 revisions left to test after this (roughly 7 steps) [1493aa15ecc61e4ab313ce4a67822e4062321779] perf/ftrace: Fix WARNING in __unregister_ftrace_function determine whether the revision contains the guilty commit revision bb5c1fd737f7d6f5035b03f8c82d99e6bfa347d0 crashed and is reachable testing commit 1493aa15ecc61e4ab313ce4a67822e4062321779 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 012bce4f968cffb2d7c7b4afd6e3be84ceb1984447625e5fae6cfeae94f674fd all runs: OK false negative chance: 0.000 # git bisect bad 1493aa15ecc61e4ab313ce4a67822e4062321779 Bisecting: 65 revisions left to test after this (roughly 6 steps) [0e3cdd1bfc260d98d1f99dc8b10cf333abb411cc] scsi: pm8001: Reject non-fatal dump when controller is crashed determine whether the revision contains the guilty commit revision 0eb903b5b519d037c723d47a58c5d4f20eed7342 crashed and is reachable testing commit 0e3cdd1bfc260d98d1f99dc8b10cf333abb411cc gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 8098e2ea4c51080b54a459c782f4226de2ebd44d0289ed5c0f124684d59dcd61 all runs: OK false negative chance: 0.000 # git bisect bad 0e3cdd1bfc260d98d1f99dc8b10cf333abb411cc Bisecting: 32 revisions left to test after this (roughly 5 steps) [186414a6a1a34e081b07e8873622f90402346235] nvmet-rdma: fix queue leak when connect backlog is exceeded determine whether the revision contains the guilty commit revision 0eb903b5b519d037c723d47a58c5d4f20eed7342 crashed and is reachable testing commit 186414a6a1a34e081b07e8873622f90402346235 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 80d1e3f8b35e9affc3772066f739a3f6db7efdc030d3af284b32a88668ac1570 all runs: OK false negative chance: 0.000 # git bisect bad 186414a6a1a34e081b07e8873622f90402346235 Bisecting: 15 revisions left to test after this (roughly 4 steps) [961faa8cc6ce994ed51f348da06dad1d634632f0] net: stmmac: dwmac4: Account for the primary MAC address for UC filtering determine whether the revision contains the guilty commit revision 0eb903b5b519d037c723d47a58c5d4f20eed7342 crashed and is reachable testing commit 961faa8cc6ce994ed51f348da06dad1d634632f0 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 03200d92041e92cac42deb816f52851e15b4cee777de8154d290196aa55a61b4 all runs: OK false negative chance: 0.000 # git bisect bad 961faa8cc6ce994ed51f348da06dad1d634632f0 Bisecting: 7 revisions left to test after this (roughly 3 steps) [ce9f416844a625cf3a588cbb915824aa46d198ab] netfilter: xt_cgroup: Make it independent from net_cls determine whether the revision contains the guilty commit revision 0eb903b5b519d037c723d47a58c5d4f20eed7342 crashed and is reachable testing commit ce9f416844a625cf3a588cbb915824aa46d198ab gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 03200d92041e92cac42deb816f52851e15b4cee777de8154d290196aa55a61b4 all runs: OK false negative chance: 0.000 # git bisect bad ce9f416844a625cf3a588cbb915824aa46d198ab Bisecting: 3 revisions left to test after this (roughly 2 steps) [526b1a97c60a5241775aabe3c3c4684a3b85ddde] net: ethernet: sun4i-emac: Fix IRQ error handling determine whether the revision contains the guilty commit revision 0eb903b5b519d037c723d47a58c5d4f20eed7342 crashed and is reachable testing commit 526b1a97c60a5241775aabe3c3c4684a3b85ddde gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: e6e3d230b5b26a750b9c7170943fde8b7ed45e09267b9f9663c54da29506e68d all runs: OK false negative chance: 0.000 # git bisect bad 526b1a97c60a5241775aabe3c3c4684a3b85ddde Bisecting: 1 revision left to test after this (roughly 1 step) [806fa4e1f2bf73c54bc4b6360790ecc69d095ca5] ASoC: dapm: Fix off-by-one check on the second enum channel determine whether the revision contains the guilty commit revision 0eb903b5b519d037c723d47a58c5d4f20eed7342 crashed and is reachable testing commit 806fa4e1f2bf73c54bc4b6360790ecc69d095ca5 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: e6e3d230b5b26a750b9c7170943fde8b7ed45e09267b9f9663c54da29506e68d all runs: OK false negative chance: 0.000 # git bisect bad 806fa4e1f2bf73c54bc4b6360790ecc69d095ca5 Bisecting: 0 revisions left to test after this (roughly 0 steps) [ee017ef9aa2cf20d85d4a20c09ef3db9fb240310] apparmor: policy_int make sure list heads are initialized before fail path determine whether the revision contains the guilty commit revision 0eb903b5b519d037c723d47a58c5d4f20eed7342 crashed and is reachable testing commit ee017ef9aa2cf20d85d4a20c09ef3db9fb240310 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: e6e3d230b5b26a750b9c7170943fde8b7ed45e09267b9f9663c54da29506e68d all runs: OK false negative chance: 0.000 # git bisect bad ee017ef9aa2cf20d85d4a20c09ef3db9fb240310 ee017ef9aa2cf20d85d4a20c09ef3db9fb240310 is the first bad commit commit ee017ef9aa2cf20d85d4a20c09ef3db9fb240310 Author: John Johansen Date: Mon Aug 24 11:01:18 2026 -0700 apparmor: policy_int make sure list heads are initialized before fail path [ Upstream commit 3daad923a8685adb66087e0d819559b7eb6ba975 ] If profile create fails before policy_init is complete the list heads are not properly initialized causing profile_free() sanity checks to trigger the following splat. AppArmor WARN aa_policy_destroy: (((!list_empty(&policy->profiles) && (&policy->profiles)->prev != ((void *) 0x122 + (0xdead000000000000UL))))): WARNING: security/apparmor/lib.c:509 at aa_policy_destroy+0x164/0x1b0 security/apparmor/lib.c:509, CPU#0: syz.0.17/5541 Modules linked in: CPU: 0 UID: 0 PID: 5541 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:aa_policy_destroy+0x16b/0x1b0 security/apparmor/lib.c:509 Code: 85 ed 7e 4d e8 96 bc 37 fd 5b 41 5c 41 5e 41 5f 5d e9 19 27 4e 07 cc e8 83 bc 37 fd 48 8d 3d 0c f0 d3 0b 48 c7 c6 a4 eb 38 8e <67> 48 0f b9 3a e9 04 ff ff ff e8 66 bc 37 fd 48 8d 3d ff ef d3 0b RSP: 0018:ffffc9000345eaa0 EFLAGS: 00010293 RAX: ffffffff848f530d RBX: ffff88803f734800 RCX: ffff88801af2a580 RDX: 0000000000000000 RSI: ffffffff8e38eba4 RDI: ffffffff90634320 RBP: 0000000000000000 R08: 0000000000000cc0 R09: 00000000ffffffff R10: dffffc0000000000 R11: fffffbfff1d95913 R12: dead000000000122 R13: ffff88803f734800 R14: ffff88803f734828 R15: dffffc0000000000 FS: 00007f5f6a1836c0(0000) GS:ffff88808c519000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d02407b048 CR3: 0000000012aa9000 CR4: 0000000000352ef0 Call Trace: aa_free_profile+0x9d/0x9f0 security/apparmor/policy.c:334 aa_alloc_profile+0x1e4/0x3e0 security/apparmor/policy.c:416 unpack_profile security/apparmor/policy_unpack.c:1153 [inline] aa_unpack+0x17db/0x7430 security/apparmor/policy_unpack.c:1748 aa_replace_profiles+0x226/0x2a20 security/apparmor/policy.c:1183 policy_update+0x234/0x4a0 security/apparmor/apparmorfs.c:505 profile_load+0x1cb/0x320 security/apparmor/apparmorfs.c:522 vfs_write+0x296/0xba0 fs/read_write.c:685 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5f6939e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5f6a183028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5f69625fa0 RCX: 00007f5f6939e0d9 RDX: 0000000000000041 RSI: 0000200000000400 RDI: 0000000000000003 RBP: 00007f5f6a183090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f5f69626038 R14: 00007f5f69625fa0 R15: 00007ffe23725c18 Reported-by: syzbot+faed97c4ed43bfe7fee5@syzkaller.appspotmail.com Link: https://syzkaller.appspot.com/bug?extid=faed97c4ed43bfe7fee5 Fixes: fe6bb31f590c9 ("apparmor: split out shared policy_XXX fns to lib") Signed-off-by: John Johansen Signed-off-by: Sasha Levin security/apparmor/lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) accumulated error probability: 0.00 culprit signature: e6e3d230b5b26a750b9c7170943fde8b7ed45e09267b9f9663c54da29506e68d parent signature: 4b75aad00f7592a94aee92bac662c780141717c4047473e232be0ddff9b3e231 revisions tested: 19, total time: 6h25m1.108809406s (build: 1h38m4.567422087s, test: 4h24m34.293613021s) first good commit: ee017ef9aa2cf20d85d4a20c09ef3db9fb240310 apparmor: policy_int make sure list heads are initialized before fail path recipients (to): ["john.johansen@canonical.com" "sashal@kernel.org"] recipients (cc): []