Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.17, < 4.19.256 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/417ea9fe972d2654a268ad66e89c8fcae67017c3Patch
- https://git.kernel.org/stable/c/6500eb3a48ac221051b1791818a1ac74744ef617Patch
- https://git.kernel.org/stable/c/6583edbf459de2e06b9759f264c0ae27e452b97aPatch
- https://git.kernel.org/stable/c/7db182a2ebeefded86fea542fcc5d6a68bb77f58Patch
- https://git.kernel.org/stable/c/8aab4295582eb397a125d2788b829fa62b88dbf7Patch
- https://git.kernel.org/stable/c/bf7ebebce2c25071c719fd8a2f1307e0c243c2d7Patch
FAQ
What is CVE-2022-50074?
CVE-2022-50074 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 manage...
How severe is CVE-2022-50074?
CVE-2022-50074 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-50074?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.