]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
apparmor: make sure the decompression ctx is promperly initialized
authorJohn Johansen <john.johansen@canonical.com>
Sun, 25 Sep 2022 22:36:45 +0000 (15:36 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 3 Oct 2022 21:49:04 +0000 (14:49 -0700)
commit14d37a7f14569adbf7a019710762271fa2a9e739
treea1ee45d7c600d0ee33999a905e78a5ff1540e652
parent73c7e91c8bc98a5da94be62a9a4ba2793f86a97b
apparmor: make sure the decompression ctx is promperly initialized

The decompress ctx was not properly initialized when reading raw
profile data back to userspace.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 52ccc20c652b ("apparmor: use zstd compression for profile data")
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/apparmorfs.c