CVE-2022-50074
apparmor: Fix memleak in aa_simple_write_to_buffer()
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Jun 18, 2025 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
a6a52579e52b55448326db88bd9a5740e7c1a037 < 6500eb3a48ac221051b1791818a1ac74744ef617 a6a52579e52b55448326db88bd9a5740e7c1a037 < 7db182a2ebeefded86fea542fcc5d6a68bb77f58 a6a52579e52b55448326db88bd9a5740e7c1a037 < 8aab4295582eb397a125d2788b829fa62b88dbf7 a6a52579e52b55448326db88bd9a5740e7c1a037 < bf7ebebce2c25071c719fd8a2f1307e0c243c2d7 a6a52579e52b55448326db88bd9a5740e7c1a037 < 6583edbf459de2e06b9759f264c0ae27e452b97a a6a52579e52b55448326db88bd9a5740e7c1a037 < 417ea9fe972d2654a268ad66e89c8fcae67017c3
Linux / Linux
4.17
References
git.kernel.org: https://git.kernel.org/stable/c/6500eb3a48ac221051b1791818a1ac74744ef617 git.kernel.org: https://git.kernel.org/stable/c/7db182a2ebeefded86fea542fcc5d6a68bb77f58 git.kernel.org: https://git.kernel.org/stable/c/8aab4295582eb397a125d2788b829fa62b88dbf7 git.kernel.org: https://git.kernel.org/stable/c/bf7ebebce2c25071c719fd8a2f1307e0c243c2d7 git.kernel.org: https://git.kernel.org/stable/c/6583edbf459de2e06b9759f264c0ae27e452b97a git.kernel.org: https://git.kernel.org/stable/c/417ea9fe972d2654a268ad66e89c8fcae67017c3