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.
Metrics
Affected Vendors & Products
References
History
Fri, 20 Jun 2025 02:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
Wed, 18 Jun 2025 11:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | apparmor: Fix memleak in aa_simple_write_to_buffer() | |
| References |
|
|
Status: PUBLISHED
Assigner: Linux
Published: 2025-06-18T11:02:18.140Z
Updated: 2025-06-18T11:02:18.140Z
Reserved: 2025-06-18T10:57:27.408Z
Link: CVE-2022-50074
No data.
Status : Awaiting Analysis
Published: 2025-06-18T11:15:36.283
Modified: 2025-06-18T13:47:40.833
Link: CVE-2022-50074