diff options
| author | Massimiliano Pellizzer <massimiliano.pellizzer@canonical.com> | 2026-01-20 15:24:05 +0100 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-02-23 20:58:07 -0800 |
| commit | 8813837aa7f5f5a262a5ebc1a1a2a3a5ec818c70 (patch) | |
| tree | aaf0ce6ac05a16e07a72bea9de4e791fcfce5f11 /include/linux/timerqueue.h | |
| parent | 4afc61702bdcc3b9b519749ef966cf762a6e7051 (diff) | |
apparmor: return error on namespace mismatch in verify_header
When profiles in a multi-profile load specify different namesapaces,
the audit record is generated but execution continues, causing the
function to return success. This violates the load requirement that
all profiles must target the same namespace.
Add the missing return statement after auditing the error.
Reported-by: Qualys Security Advisory <qsa@qualys.com>
Fixes: dd51c8485763 ("apparmor: provide base for multiple profiles to be replaced at once")
Signed-off-by: Massimiliano Pellizzer <massimiliano.pellizzer@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
