diff options
| author | GONG Ruiqi <gongruiqi1@huawei.com> | 2026-04-23 06:10:56 +0300 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-04-23 06:11:08 +0300 |
| commit | 11b7df0952663f20ce72c9a22a3cf9278cf84db7 (patch) | |
| tree | 5a568bc2a666d4d7bcf4b9cc6f73e89bc7150d5c /include/uapi/linux | |
| parent | 828bf7929bedcb79b560b5b4e44f22abee07d31b (diff) | |
| download | linux-11b7df0952663f20ce72c9a22a3cf9278cf84db7.tar.xz | |
apparmor/lsm: Fix aa_dfa_unpack's error handling in aa_setup_dfa_engine
aa_dfa_unpack returns ERR_PTR not NULL when it fails, but aa_put_dfa
only checks NULL for its input, which would cause invalid memory access
in aa_put_dfa. Set nulldfa to NULL explicitly to fix that.
Fixes: 98b824ff8984 ("apparmor: refcount the pdb")
Signed-off-by: GONG Ruiqi <gongruiqi1@huawei.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
