ci2 starts bisection 2026-10-16 04:15:19.832042753 +0000 UTC m=+29429.377781035 bisecting fixing commit since 7e6e670547210424443261b2d54d2acfff85a37c building syzkaller on 1e72964b0111319984575e60f266d1fa0a98abb5 ensuring issue is reproducible on original commit 7e6e670547210424443261b2d54d2acfff85a37c testing commit 7e6e670547210424443261b2d54d2acfff85a37c gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 228a582547b3440ef163a122923ba252dc2a3eb734fdeca5687d96ba781824cc 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 7e6e670547210424443261b2d54d2acfff85a37c gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 5a689d432f1576bacf0ed835ae7a29b524e67143e8bcdc8f4d6439517a17f5ba 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 [locking atomic_sleep hang memleak ubsan kasan], they are not needed kconfig minimization: base=7508 full=9788 leaves diff=2007 split chunks (needed=false): <2007> split chunk #0 of len 2007 into 5 parts testing without sub-chunk 1/5 disabling configs for [kasan locking atomic_sleep hang memleak ubsan], they are not needed testing commit 7e6e670547210424443261b2d54d2acfff85a37c gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: b3f09225ffebef2e84b57893416b3933e204aae0e1a181f204eca8e24301f2fa 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 7e6e670547210424443261b2d54d2acfff85a37c gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: a52593bbb5ea032ab08d3d41c6baef426d0c17b2ee5c9a50d3469a9ca8387cdd 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 7e6e670547210424443261b2d54d2acfff85a37c gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 10963518aaf0ce5839bcd46785c5717692c02a147bb7b16575889c68f643565e 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 [hang memleak ubsan kasan locking atomic_sleep], they are not needed testing commit 7e6e670547210424443261b2d54d2acfff85a37c gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 6ec3f59666ef30e9fb318fd4525452f80a59a17552deb9cfa57abab4633fc874 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 [memleak ubsan kasan locking atomic_sleep hang], they are not needed testing commit 7e6e670547210424443261b2d54d2acfff85a37c gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 62f0dbc5a35ebcc3a9bb7ca0549fea0c7ddf72ee2e117a3b558a4457947ce2b0 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 [atomic_sleep hang memleak ubsan kasan locking], they are not needed testing current HEAD 79807e970724c1f90cee1316361d61b80db4eef6 testing commit 79807e970724c1f90cee1316361d61b80db4eef6 gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 07cc214e019c61c443e054576a53634b8798b2c35dc3aa599038d08346021cce all runs: OK false negative chance: 0.000 # git bisect start 79807e970724c1f90cee1316361d61b80db4eef6 7e6e670547210424443261b2d54d2acfff85a37c Bisecting: 1318 revisions left to test after this (roughly 10 steps) [45237a1cfaa520e9a98cea511897af3d0e70a6b8] perf auxtrace: Fix queue grow overflow and old array leak determine whether the revision contains the guilty commit revision 7e6e670547210424443261b2d54d2acfff85a37c crashed and is reachable testing commit 45237a1cfaa520e9a98cea511897af3d0e70a6b8 gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 9c67648b0cb43897e333985a38800a3a408c0b6e385f41bd640bc9d2a9e4cda2 all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] # git bisect good 45237a1cfaa520e9a98cea511897af3d0e70a6b8 Bisecting: 659 revisions left to test after this (roughly 9 steps) [91797708f99e4a910ab019760069c0a7e00a6fc0] ASoC: meson: aiu: Validate written enum values determine whether the revision contains the guilty commit revision 7e6e670547210424443261b2d54d2acfff85a37c crashed and is reachable testing commit 91797708f99e4a910ab019760069c0a7e00a6fc0 gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 3a42f118e0033ad5d1ddb032fc26434d8a625e5a0be868c539f1270301f48b31 all runs: OK false negative chance: 0.000 # git bisect bad 91797708f99e4a910ab019760069c0a7e00a6fc0 Bisecting: 329 revisions left to test after this (roughly 8 steps) [b8ec8515d2180b527639c32485523ae741fc343c] arm64: dts: qcom: sm8350: correct PCI phy unit address determine whether the revision contains the guilty commit revision 7e6e670547210424443261b2d54d2acfff85a37c crashed and is reachable testing commit b8ec8515d2180b527639c32485523ae741fc343c gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 4c0514e47c89d2e139cd3029b8fea83fcf89e68368ba3d9747922e988c0777d8 all runs: OK false negative chance: 0.000 # git bisect bad b8ec8515d2180b527639c32485523ae741fc343c Bisecting: 164 revisions left to test after this (roughly 7 steps) [09b27dd01b98480334c10bf6fb8d41d5fb063a4b] ALSA: core: Fix use-after-free in snd_card_do_free() determine whether the revision contains the guilty commit revision 45237a1cfaa520e9a98cea511897af3d0e70a6b8 crashed and is reachable testing commit 09b27dd01b98480334c10bf6fb8d41d5fb063a4b gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 99a089ef7343c1601a43cc7b38baf33070b02bfd9772e16f4ae28c9d9e9c4907 all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] # git bisect good 09b27dd01b98480334c10bf6fb8d41d5fb063a4b Bisecting: 82 revisions left to test after this (roughly 6 steps) [b56a1677219b76e051f1b3a6d6364c1410227a2f] scsi: qla2xxx: Fix an loop timeout test determine whether the revision contains the guilty commit revision 45237a1cfaa520e9a98cea511897af3d0e70a6b8 crashed and is reachable testing commit b56a1677219b76e051f1b3a6d6364c1410227a2f gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 7fb305eb1636085845d3245987d1657d1beef7384e21ca3e49edc71dbbdaaeac all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] # git bisect good b56a1677219b76e051f1b3a6d6364c1410227a2f Bisecting: 41 revisions left to test after this (roughly 5 steps) [6b365260e265f4dd4d1decbd57ea5ea7962274e1] net: stmmac: dwmac1000: Account for the primary MAC address for UC filtering determine whether the revision contains the guilty commit revision 09b27dd01b98480334c10bf6fb8d41d5fb063a4b crashed and is reachable testing commit 6b365260e265f4dd4d1decbd57ea5ea7962274e1 gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 140a60900306ab807d308bcb53b23d64a572d4a64299981d163a12adbbeaaed7 run #0: ignore: lost connection to test machine run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK false negative chance: 0.000 # git bisect bad 6b365260e265f4dd4d1decbd57ea5ea7962274e1 Bisecting: 20 revisions left to test after this (roughly 4 steps) [981307e2e8a930da492c2bcf763865c47c2a5165] tpm: st33zp24: Return zero on status read failure determine whether the revision contains the guilty commit revision 09b27dd01b98480334c10bf6fb8d41d5fb063a4b crashed and is reachable testing commit 981307e2e8a930da492c2bcf763865c47c2a5165 gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 606f92a0ac4fe38d9c28239d54842cd5c07c6d8d98632e6c450a20b4c9d65d49 all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] # git bisect good 981307e2e8a930da492c2bcf763865c47c2a5165 Bisecting: 10 revisions left to test after this (roughly 3 steps) [44a0ce90507c699c19068e621899d51aedf2d4b1] netfilter: xt_cgroup: Make it independent from net_cls determine whether the revision contains the guilty commit revision 7e6e670547210424443261b2d54d2acfff85a37c crashed and is reachable testing commit 44a0ce90507c699c19068e621899d51aedf2d4b1 gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 029cb2a5589ea2c63d02bb57322976d4069f969d352bf19c5328b494e5a4ccfe all runs: OK false negative chance: 0.000 # git bisect bad 44a0ce90507c699c19068e621899d51aedf2d4b1 Bisecting: 4 revisions left to test after this (roughly 2 steps) [6cf666e47f2b51d5a887ec8a3226cde951757d27] libceph: validate banner payload length determine whether the revision contains the guilty commit revision 981307e2e8a930da492c2bcf763865c47c2a5165 crashed and is reachable testing commit 6cf666e47f2b51d5a887ec8a3226cde951757d27 gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: 1f9cdb885f8ad6b3cd74b3902e3434713d7df0903128fbfa2274009a2779ea19 all runs: OK false negative chance: 0.000 # git bisect bad 6cf666e47f2b51d5a887ec8a3226cde951757d27 Bisecting: 2 revisions left to test after this (roughly 1 step) [f3f63462ece0efb11bf70594140f6508710fa39d] apparmor: Replace sprintf/strcpy with scnprintf/strscpy in aa_policy_init determine whether the revision contains the guilty commit revision 7e6e670547210424443261b2d54d2acfff85a37c crashed and is reachable testing commit f3f63462ece0efb11bf70594140f6508710fa39d gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: f4e2f15305632e13d51d1d8ca2253b403ebdc3810dd1750e81814d5bde250bce all runs: crashed: WARNING in aa_policy_destroy representative crash: WARNING in aa_policy_destroy, types: [WARNING] # git bisect good f3f63462ece0efb11bf70594140f6508710fa39d Bisecting: 0 revisions left to test after this (roughly 1 step) [496081b4edc1f6e662418831c5b14cddd8d7920c] ASoC: dapm: Fix off-by-one check on the second enum channel determine whether the revision contains the guilty commit revision 09b27dd01b98480334c10bf6fb8d41d5fb063a4b crashed and is reachable testing commit 496081b4edc1f6e662418831c5b14cddd8d7920c gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: cc20a2bd73b51920970da456aebb6a55faa03909e772666d10a240afa48472f8 all runs: OK false negative chance: 0.000 # git bisect bad 496081b4edc1f6e662418831c5b14cddd8d7920c Bisecting: 0 revisions left to test after this (roughly 0 steps) [62f159fac76468dbbfd977f4f18472d4a01e8d74] apparmor: policy_int make sure list heads are initialized before fail path determine whether the revision contains the guilty commit revision b56a1677219b76e051f1b3a6d6364c1410227a2f crashed and is reachable testing commit 62f159fac76468dbbfd977f4f18472d4a01e8d74 gcc compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 kernel signature: dd0879b2c3f2f19865b56f69536f14b70e5c4a583773024b4cc6895c7550d816 all runs: OK false negative chance: 0.000 # git bisect bad 62f159fac76468dbbfd977f4f18472d4a01e8d74 62f159fac76468dbbfd977f4f18472d4a01e8d74 is the first bad commit commit 62f159fac76468dbbfd977f4f18472d4a01e8d74 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: dd0879b2c3f2f19865b56f69536f14b70e5c4a583773024b4cc6895c7550d816 parent signature: f4e2f15305632e13d51d1d8ca2253b403ebdc3810dd1750e81814d5bde250bce revisions tested: 20, total time: 6h41m51.171936836s (build: 2h11m26.733839623s, test: 4h3m1.993593245s) first good commit: 62f159fac76468dbbfd977f4f18472d4a01e8d74 apparmor: policy_int make sure list heads are initialized before fail path recipients (to): ["john.johansen@canonical.com" "sashal@kernel.org"] recipients (cc): []