CVE-2022-50074

apparmor: Fix memleak in aa_simple_write_to_buffer()

published June 18, 2025

CVSS
—
EPSS
0%
Percentile
8.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00194 · 8.6th percentile
Published
2025-06-18T11:02Z
EPSS history
Timeline
  • 18 JUN 11:02Z
    apparmor: Fix memleak in aa_simple_write_to_buffer()
    cvelistv5