# CVE-2022-50754: apparmor: fix a memleak in multi\_transaction\_new()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-24T13:05:48.245Z
- **Modified:** 2026-11-10T12:10:00.177Z

## Who should check

- Anyone running Linux \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 11d5fe7da67c3334cefc981297fd5defb78df15c; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 95e6adc6a7a4761ddf69ad713e55a06a3206309d; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 935d86b29093e75b6c547d90b3979c2c2d23f1c4; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 775a37ffa9f4681c4ad84c8634a7eec8af7098d4; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 88989932c2269ea66074f52a6213598838f8b9e7; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 3d27a436e294ac5d7a51bd5348ca63a42a468b35; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< c73275cf6834787ca090317f1d20dbfa3b7f05aa
- Anyone running Linux 4.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

apparmor: fix a memleak in multi\_transaction\_new()

In multi\_transaction\_new(), the variable t is not freed or passed out
on the failure of copy\_from\_user(t-\>data, buf, size), which could lead
to a memleak.

Fix this bug by adding a put\_multi\_transaction(t) in the error path.

## Affected and fixed versions

- Linux: \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 11d5fe7da67c3334cefc981297fd5defb78df15c; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 95e6adc6a7a4761ddf69ad713e55a06a3206309d; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 935d86b29093e75b6c547d90b3979c2c2d23f1c4; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 775a37ffa9f4681c4ad84c8634a7eec8af7098d4; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 88989932c2269ea66074f52a6213598838f8b9e7; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 3d27a436e294ac5d7a51bd5348ca63a42a468b35; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< c73275cf6834787ca090317f1d20dbfa3b7f05aa (cvelist)
- Linux: 4.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50754. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50754.md
Affected: Linux >= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, < 11d5fe7da67c3334cefc981297fd5defb78df15c; >= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, < 95e6adc6a7a4761ddf69ad713e55a06a3206309d; >= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, < eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6; >= 1dea3b41e84c5923173fe65…
Fixed in: Linux 11d5fe7da67c3334cefc981297fd5defb78df15c, Linux 95e6adc6a7a4761ddf69ad713e55a06a3206309d, Linux 935d86b29093e75b6c547d90b3979c2c2d23f1c4, Linux 775a37ffa9f4681c4ad84c8634a7eec8af7098d4, Linux 88989932c2269ea66074f52a6213598838f8b9e7, Linux 3d27a436e294ac5d7a51bd5348ca63a42a468b35

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50754 being exploited?

There is no confirmed exploitation: CVE-2022-50754 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50754?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2022-50754?

Linux \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 11d5fe7da67c3334cefc981297fd5defb78df15c; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 95e6adc6a7a4761ddf69ad713e55a06a3206309d; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 935d86b29093e75b6c547d90b3979c2c2d23f1c4; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 775a37ffa9f4681c4ad84c8634a7eec8af7098d4; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 88989932c2269ea66074f52a6213598838f8b9e7; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< 3d27a436e294ac5d7a51bd5348ca63a42a468b35; \>= 1dea3b41e84c5923173fe654dcb758a5cb4a46e5, \< c73275cf6834787ca090317f1d20dbfa3b7f05aa; Linux 4.13.

### Is there a fix for CVE-2022-50754?

Yes. Fixed in Linux 11d5fe7da67c3334cefc981297fd5defb78df15c, Linux 95e6adc6a7a4761ddf69ad713e55a06a3206309d, Linux 935d86b29093e75b6c547d90b3979c2c2d23f1c4, Linux 775a37ffa9f4681c4ad84c8634a7eec8af7098d4, Linux 88989932c2269ea66074f52a6213598838f8b9e7, Linux 3d27a436e294ac5d7a51bd5348ca63a42a468b35. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50754?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/11d5fe7da67c3334cefc981297fd5defb78df15c>
- other: <https://git.kernel.org/stable/c/95e6adc6a7a4761ddf69ad713e55a06a3206309d>
- other: <https://git.kernel.org/stable/c/eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6>
- other: <https://git.kernel.org/stable/c/935d86b29093e75b6c547d90b3979c2c2d23f1c4>
- other: <https://git.kernel.org/stable/c/775a37ffa9f4681c4ad84c8634a7eec8af7098d4>
- other: <https://git.kernel.org/stable/c/88989932c2269ea66074f52a6213598838f8b9e7>
- other: <https://git.kernel.org/stable/c/3d27a436e294ac5d7a51bd5348ca63a42a468b35>
- other: <https://git.kernel.org/stable/c/c73275cf6834787ca090317f1d20dbfa3b7f05aa>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50754>

HTML: <https://flawdb.com/CVE-2022-50754> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50754>
