CVE-2022-50754

apparmor: fix a memleak in multi_transaction_new()

N/A
Published: December 24, 2025 at 01:05 PM UTC
Updated: June 17, 2026 at 05:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.13 ≤ v < 4.14.3034.13 ≤ v < 4.19.2704.13 ≤ v < 5.10.1634.13 ≤ v < 5.15.864.13 ≤ v < 5.4.2294.13 ≤ v < 6.0.164.13 ≤ v < 6.1.24.13 ≤ v < 6.21dea3b41e84c5923173fe654dcb758a5cb4a46e54.13
Vendor states this is fixed in 11d5fe7da67c3334cefc981297fd5defb78df15c (fixed)
Vendor states this is fixed in 3d27a436e294ac5d7a51bd5348ca63a42a468b35 (fixed)
Vendor states this is fixed in 775a37ffa9f4681c4ad84c8634a7eec8af7098d4 (fixed)
Vendor states this is fixed in 88989932c2269ea66074f52a6213598838f8b9e7 (fixed)
Vendor states this is fixed in 935d86b29093e75b6c547d90b3979c2c2d23f1c4 (fixed)
Vendor states this is fixed in 95e6adc6a7a4761ddf69ad713e55a06a3206309d (fixed)
Vendor states this is fixed in c73275cf6834787ca090317f1d20dbfa3b7f05aa (fixed)
Vendor states this is fixed in eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6 (fixed)
Vendor states this is fixed in 4.13 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card