🤖 Generated by the Agentic Engineer
Description
Coroot reports a recurring audit: rate limit exceeded alert and a log-error indicator on the host init application. These are current events, not retained rollout history: the September 25 sample contains fresh rate-limit errors and SELinux permissive AVC denials from ordinary Coroot cache access. Audit loss also means security records are being dropped.
Steps to reproduce
- Inspect the production Talos patch and factory schematic at the current main revision.
- Observe that
lsm= puts SELinux before AppArmor and BPF before AppArmor.
- Read the Coroot
init logs for the current hour. The warning is a kernel audit rate limit, not a GitHub API quota response.
Expected behavior
The declared AppArmor configuration should actually select AppArmor and preserve the other compatible hardening modules. Audit logging should remain enabled without a continuous permissive SELinux denial stream or the earlier audit subject-context error.
Actual behavior and environment
All seven production nodes are Ready and run Talos v1.13.10 / Linux 6.18.48 with the declared factory image. This rules out the stale rollout repaired by #4098/#4099. Coroot currently reports one non-OK application for log errors; the latest compact sample also reports warning alerts. Application SLO, warning, integration-required and risk counters are zero.
The configured order is yama,selinux,loadpin,safesetid,integrity,bpf,apparmor,lockdown,landlock. Linux marks SELinux and AppArmor exclusive, so SELinux wins. Separately, the audit context conversion takes the first matching LSM hook; BPF before AppArmor can reproduce the earlier audit-context failure.
Repair and acceptance criteria
References
Estimated scope: small configuration/test correction, with production rollout and observation required to close.
Description
Coroot reports a recurring
audit: rate limit exceededalert and a log-error indicator on the hostinitapplication. These are current events, not retained rollout history: the September 25 sample contains fresh rate-limit errors and SELinux permissive AVC denials from ordinary Coroot cache access. Audit loss also means security records are being dropped.Steps to reproduce
lsm=puts SELinux before AppArmor and BPF before AppArmor.initlogs for the current hour. The warning is a kernel audit rate limit, not a GitHub API quota response.Expected behavior
The declared AppArmor configuration should actually select AppArmor and preserve the other compatible hardening modules. Audit logging should remain enabled without a continuous permissive SELinux denial stream or the earlier audit subject-context error.
Actual behavior and environment
All seven production nodes are Ready and run Talos v1.13.10 / Linux 6.18.48 with the declared factory image. This rules out the stale rollout repaired by #4098/#4099. Coroot currently reports one non-OK application for log errors; the latest compact sample also reports warning alerts. Application SLO, warning, integration-required and risk counters are zero.
The configured order is
yama,selinux,loadpin,safesetid,integrity,bpf,apparmor,lockdown,landlock. Linux marks SELinux and AppArmor exclusive, so SELinux wins. Separately, the audit context conversion takes the first matching LSM hook; BPF before AppArmor can reproduce the earlier audit-context failure.Repair and acceptance criteria
References
security/security.c,security/apparmor/lsm.c,security/selinux/hooks.c.Estimated scope: small configuration/test correction, with production rollout and observation required to close.