Back
CVE-2022-50074apparmor: Fix memleak in aa_simple_write_to_buffer()
- 5.5MediumCVSS base score
- 0.20%Exploitation in 30 daysEPSS · top 90% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.20% · top 90% of all CVEs (15 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected a6a52579e52b55448326db88bd9a5740e7c1a037 – < 6500eb3a48ac221051b1791818a1ac74744ef617
- affected a6a52579e52b55448326db88bd9a5740e7c1a037 – < 7db182a2ebeefded86fea542fcc5d6a68bb77f58
- affected a6a52579e52b55448326db88bd9a5740e7c1a037 – < 8aab4295582eb397a125d2788b829fa62b88dbf7
- affected a6a52579e52b55448326db88bd9a5740e7c1a037 – < bf7ebebce2c25071c719fd8a2f1307e0c243c2d7
- affected a6a52579e52b55448326db88bd9a5740e7c1a037 – < 6583edbf459de2e06b9759f264c0ae27e452b97a
- affected a6a52579e52b55448326db88bd9a5740e7c1a037 – < 417ea9fe972d2654a268ad66e89c8fcae67017c3
- affected 4.17
- unaffected < 4.17
- unaffected 4.19.256 – ≤ 4.19.*
- unaffected 5.4.211 – ≤ 5.4.*
- unaffected 5.10.138 – ≤ 5.10.*
- unaffected 5.15.63 – ≤ 5.15.*
- unaffected 5.19.4 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References
References6
- https://git.kernel.org/stable/c/6500eb3a48ac221051b1791818a1ac74744ef617 (opens in a new tab)
- https://git.kernel.org/stable/c/7db182a2ebeefded86fea542fcc5d6a68bb77f58 (opens in a new tab)
- https://git.kernel.org/stable/c/8aab4295582eb397a125d2788b829fa62b88dbf7 (opens in a new tab)
- https://git.kernel.org/stable/c/bf7ebebce2c25071c719fd8a2f1307e0c243c2d7 (opens in a new tab)
- https://git.kernel.org/stable/c/6583edbf459de2e06b9759f264c0ae27e452b97a (opens in a new tab)
- https://git.kernel.org/stable/c/417ea9fe972d2654a268ad66e89c8fcae67017c3 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-55343 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-50074)Record last updated .