An issue was discovered in the Linux kernel through 5.3.9. There is a use-after-free when aa_label_parse() fails in aa_audit_rule_init() in security/apparmor/audit.c.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://lore.kernel.org/patchwork/patch/1142523/ | mailing list third party advisory patch |
https://support.f5.com/csp/article/K21561554?utm_source=f5support&%3Butm_medium=RSS | |
https://security.netapp.com/advisory/ntap-20191205-0001/ | |
https://lists.debian.org/debian-lts-announce/2020/08/msg00019.html | mailing list |