Repository navigation
Conversation
This was referenced Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On a OnePlus Ace 5 Pro (LineageOS 24, kernel 6.6.144) the device hard-freezes and is reset by the PMIC watchdog when the App terminal is closed (typing
exitor pressing the tab ×). No kernel panic, no pstore.The verified cause is the audit backlog, not the container runtime:
kmsg at the same moment:
audit_log_start()sleeps whileskb_queue_len(&audit_queue) > audit_backlog_limit(64 here). The container runs inu:r:droidspacesd:s0, which this module declarespermissive droidspacesdand which is missing several allows, so every container file operation emits an AVC record. The queue never drains, tasks sleep inaudit_log_start(), and the watchdog resets the phone.Full analysis and traces: #390
Change
Append
dontauditrules for the observed denials of the permissive container domain toAndroid/app/src/main/assets/boot-module/sepolicy.rule.avc: deniedlines in the crash logs (43 target-type/class groups, permissions merged).dontauditis the standard way to stop auditing expected denials of a permissive domain, and it is the same mechanism a policy author would use.Testing / caveats
hummer), LineageOS 24.0, kernel6.6.144-4k-g01ee97578159, Droidspaces v7.2.0, daemon mode, Kali container.sepolicy.ruleon the device (the owner does not want phone-side changes while we are still narrowing the crash). The rules are derived from the exact denial signatures in the crash logs; they still need a run on real hardware.allowrules instead of usingdontaudit, that is fine too — the goal is only to stop the per-domain flood.Related
slow_avc_auditLKM hook was considered but is only a workaround (6.6 (OnePlus Ace 5 Pro): hard hang in __tty_hangup / tty_signal_session_leader when an entered container session exits Dere3046/_patchHarmony#15).