{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-50074","published":"2025-06-18T11:15:36.283000Z","last_modified":"2026-06-17T05:22:42.403000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-401"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.17","version_end_excluding":"4.19.256"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.211"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.138"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.63"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"5.19.4"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"epss":{"score":0.0028,"percentile":0.13045,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2022-50074/","html_en":"/en/cve/CVE-2022-50074/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50074","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50074"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: Fix memleak in aa_simple_write_to_buffer()\n\nWhen copy_from_user failed, the memory is freed by kvfree. however the\nmanagement struct and data blob are allocated independently, so only\nkvfree(data) cause a memleak issue here. Use aa_put_loaddata(data) to\nfix this issue.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/417ea9fe972d2654a268ad66e89c8fcae67017c3","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6500eb3a48ac221051b1791818a1ac74744ef617","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6583edbf459de2e06b9759f264c0ae27e452b97a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7db182a2ebeefded86fea542fcc5d6a68bb77f58","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/8aab4295582eb397a125d2788b829fa62b88dbf7","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/bf7ebebce2c25071c719fd8a2f1307e0c243c2d7","tags":["Patch"]}]}}