cbcvebase.
CVE-2022-50074
published 2025-06-18

CVE-2022-50074: 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…

PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.16%
5.6th percentile
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

17 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.0.2-1 (bookworm)linux 6.0.2-1 (bookworm)
linuxlinux
linuxlinux>= a6a52579e52b55448326db88bd9a5740e7c1a037 < 6500eb3a48ac221051b1791818a1ac74744ef6176500eb3a48ac221051b1791818a1ac74744ef617
linuxlinux>= a6a52579e52b55448326db88bd9a5740e7c1a037 < 7db182a2ebeefded86fea542fcc5d6a68bb77f587db182a2ebeefded86fea542fcc5d6a68bb77f58
linuxlinux>= a6a52579e52b55448326db88bd9a5740e7c1a037 < 8aab4295582eb397a125d2788b829fa62b88dbf78aab4295582eb397a125d2788b829fa62b88dbf7
linuxlinux>= a6a52579e52b55448326db88bd9a5740e7c1a037 < bf7ebebce2c25071c719fd8a2f1307e0c243c2d7bf7ebebce2c25071c719fd8a2f1307e0c243c2d7
linuxlinux>= a6a52579e52b55448326db88bd9a5740e7c1a037 < 6583edbf459de2e06b9759f264c0ae27e452b97a6583edbf459de2e06b9759f264c0ae27e452b97a
linuxlinux>= a6a52579e52b55448326db88bd9a5740e7c1a037 < 417ea9fe972d2654a268ad66e89c8fcae67017c3417ea9fe972d2654a268ad66e89c8fcae67017c3
linuxlinux_kernel>= 0 < 5.10.140-15.10.140-1
linuxlinux_kernel>= 0 < 6.0.2-16.0.2-1
linuxlinux_kernel>= 0 < 6.0.2-16.0.2-1
linuxlinux_kernel>= 0 < 6.0.2-16.0.2-1
linuxlinux_kernel>= 4.17 < 4.19.2564.19.256
linuxlinux_kernel>= 4.20 < 5.4.2115.4.211
linuxlinux_kernel>= 5.11 < 5.15.635.15.63
linuxlinux_kernel>= 5.16 < 5.19.45.19.4
linuxlinux_kernel>= 5.5 < 5.10.1385.10.138

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.