Bug 216405

Summary: 5.19.3 rcu_sched detected expedited stalls on CPUs/tasks: task:apparmor_parser
Product: Other Reporter: Robert Dinse (nanook)
Component: Loadable Security Modules (LSM)Assignee: Other/LSM (other_lsm)
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description Robert Dinse 2022-08-23 21:06:05 UTC
[    6.832919] rcu: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 4-... } 4 jiffies s: 101 root: 0x10/.
[    6.832940] rcu: blocking rcu_node structures (internal RCU debug):
[    6.832943] Task dump for CPU 4:
[    6.832945] task:apparmor_parser state:R  running task     stack:    0 pid:  546 ppid:   530 flags:0x00000008
[    6.832949] Call Trace:
[    6.832956]  <TASK>
[    6.832960]  ? longest_match+0x1c0/0x250
[    6.832984]  ? deflate_slow+0x2d0/0x580
[    6.832986]  ? zlib_deflate+0x172/0x560
[    6.832988]  ? aa_unpack+0x1045/0x1cb0
[    6.833000]  ? aa_replace_profiles+0x9d/0x10b0
[    6.833003]  ? policy_update+0xc4/0x150
[    6.833006]  ? profile_replace+0xaa/0x120
[    6.833007]  ? vfs_write+0xbb/0x260
[    6.833020]  ? ksys_write+0x6b/0xf0
[    6.833022]  ? __x64_sys_write+0x19/0x20
[    6.833025]  ? do_syscall_64+0x58/0x80
[    6.833041]  ? putname+0x57/0x70
[    6.833048]  ? do_sys_openat2+0x86/0x160
[    6.833050]  ? exit_to_user_mode_prepare+0x41/0x1e0
[    6.833065]  ? syscall_exit_to_user_mode+0x1b/0x40
[    6.833070]  ? do_syscall_64+0x67/0x80
[    6.833072]  ? do_syscall_64+0x67/0x80
[    6.833074]  ? exc_page_fault+0x86/0x160
[    6.833077]  ? entry_SYSCALL_64_after_hwframe+0x63/0xcd
[    6.833087]  </TASK>

     This is in a KVM/Qemu guest running Linux 5.19.3 OS Ubuntu 22.04.  The
host machine is an i7-6700k based system running 5.19.1 OS Ubuntu 22.04.  Both compiled with gcc 12.1.0 on an i7-9700k machine.
Comment 1 Robert Dinse 2022-08-23 21:08:16 UTC
I've tried to add the configuration file and the xml file for the kvm/qemu virtual machine but I am getting a post error from Bugzilla.
Comment 2 Artem S. Tashkinov 2022-08-26 06:41:16 UTC
The regression could be elsewhere.

Please perform git bisect.

https://docs.kernel.org/admin-guide/bug-bisect.html
https://ldpreload.com/blog/git-bisect-run
https://wiki.gentoo.org/wiki/Kernel_git-bisect
Comment 3 Robert Dinse 2022-09-04 04:18:55 UTC
     It's become clear that this bug is a duplicate of 216399, it has also become clear that this bug was introduced between 5.18.19 which runs totally clean and 5.19.0 through 5.19.6 (so far) which does not.

*** This bug has been marked as a duplicate of bug 216399 ***