{"id":"CVE-2022-50754","summary":"apparmor: fix a memleak in multi_transaction_new()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: fix a memleak in multi_transaction_new()\n\nIn multi_transaction_new(), the variable t is not freed or passed out\non the failure of copy_from_user(t-\u003edata, buf, size), which could lead\nto a memleak.\n\nFix this bug by adding a put_multi_transaction(t) in the error path.","modified":"2026-04-02T08:28:44.356349Z","published":"2025-12-24T13:05:48.245Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50754.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/11d5fe7da67c3334cefc981297fd5defb78df15c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d27a436e294ac5d7a51bd5348ca63a42a468b35"},{"type":"WEB","url":"https://git.kernel.org/stable/c/775a37ffa9f4681c4ad84c8634a7eec8af7098d4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/88989932c2269ea66074f52a6213598838f8b9e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/935d86b29093e75b6c547d90b3979c2c2d23f1c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95e6adc6a7a4761ddf69ad713e55a06a3206309d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c73275cf6834787ca090317f1d20dbfa3b7f05aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50754.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50754"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2022-50754.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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/cve-osv-conversion/osv-output/CVE-2022-50754.json"}}],"schema_version":"1.7.5"}