In the Linux kernel, the following vulnerability has been resolved: apparmor: Fix memleak in aa_simple_write_to_buffer() When copy_from_user failed, the memory is freed by kvfree. however the management struct and data blob are allocated independently, so only kvfree(data) cause a memleak issue here. Use aa_put_loaddata(data) to fix this issue.
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | 12.2(28)SB5 |
| Linux | Linux | 12.2(31)SB11 |
| Linux | Linux | 5.2.2.1 |
| Linux | Linux | n/a |