CVE-2022-50754

Source
https://cve.org/CVERecord?id=CVE-2022-50754
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50754.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50754
Downstream
Related
Published
2025-12-24T13:05:48.245Z
Modified
2026-03-20T12:22:38.336162Z
Summary
apparmor: fix a memleak in multi_transaction_new()
Details

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

apparmor: fix a memleak in multitransactionnew()

In multitransactionnew(), the variable t is not freed or passed out on the failure of copyfromuser(t->data, buf, size), which could lead to a memleak.

Fix this bug by adding a putmultitransaction(t) in the error path.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50754.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1dea3b41e84c5923173fe654dcb758a5cb4a46e5
Fixed
11d5fe7da67c3334cefc981297fd5defb78df15c
Fixed
95e6adc6a7a4761ddf69ad713e55a06a3206309d
Fixed
eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6
Fixed
935d86b29093e75b6c547d90b3979c2c2d23f1c4
Fixed
775a37ffa9f4681c4ad84c8634a7eec8af7098d4
Fixed
88989932c2269ea66074f52a6213598838f8b9e7
Fixed
3d27a436e294ac5d7a51bd5348ca63a42a468b35
Fixed
c73275cf6834787ca090317f1d20dbfa3b7f05aa

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50754.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.13.0
Fixed
4.14.303
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.270
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.229
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50754.json"