Skip to main content
Network Thinking Solutions Logo

CVE-2022-50074

Linux kernel: apparmor: Fix memleak in aa_simple_write_to_buffer()

All CVEs
CVE-2022-50074Published 6/18/2025

Linux kernel: apparmor: Fix memleak in aa_simple_write_to_buffer()

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
6/18/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.17, < 4.19.256

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.211

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.138

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.63

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.19.4

Verify advisory

Source
Linux
Linux
≥ a6a52579e52b55448326db88bd9a5740e7c1a037, < 6500eb3a48ac221051b1791818a1ac74744ef617

Verify advisory

Source
Linux
Linux
≥ a6a52579e52b55448326db88bd9a5740e7c1a037, < 7db182a2ebeefded86fea542fcc5d6a68bb77f58

Verify advisory

Source
Linux
Linux
≥ a6a52579e52b55448326db88bd9a5740e7c1a037, < 8aab4295582eb397a125d2788b829fa62b88dbf7

Verify advisory

Source
Linux
Linux
≥ a6a52579e52b55448326db88bd9a5740e7c1a037, < bf7ebebce2c25071c719fd8a2f1307e0c243c2d7

Verify advisory

Source
Linux
Linux
≥ a6a52579e52b55448326db88bd9a5740e7c1a037, < 6583edbf459de2e06b9759f264c0ae27e452b97a

Verify advisory

Source
Linux
Linux
≥ a6a52579e52b55448326db88bd9a5740e7c1a037, < 417ea9fe972d2654a268ad66e89c8fcae67017c3

Verify advisory

Source
Linux
Linux
4.17

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.