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
Mon, 17 Nov 2025 19:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-401 | |
| CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
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 : Analyzed
Published: 2025-06-18T11:15:36.283
Modified: 2025-11-17T19:31:52.290
Link: CVE-2022-50074