CVE-2022-50074: Linux Kernel

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Linux Linux Kernel: from 4.17, before 4.19.256 (fixed in 4.19.256); from 4.20, before 5.4.211 (fixed in 5.4.211); from 5.5, before 5.10.138 (fixed in 5.10.138); from 5.11, before 5.15.63 (fixed in 5.15.63); from 5.16, before 5.19.4 (fixed in 5.19.4)

Published 2025-06-18. Last modified 2026-06-17.