CVE-2022-50754

apparmor: fix a memleak in multi_transaction_new()

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 to before 11d5fe7da67c3334cefc981297fd5defb78df15cAffected
  • 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 to before 95e6adc6a7a4761ddf69ad713e55a06a3206309dAffected
  • 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 to before eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6Affected
  • 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 to before 935d86b29093e75b6c547d90b3979c2c2d23f1c4Affected
  • 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 to before 775a37ffa9f4681c4ad84c8634a7eec8af7098d4Affected
  • 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 to before 88989932c2269ea66074f52a6213598838f8b9e7Affected
  • 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 to before 3d27a436e294ac5d7a51bd5348ca63a42a468b35Affected
  • 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 to before c73275cf6834787ca090317f1d20dbfa3b7f05aaAffected
LinuxLinux
  • 4.13Affected
  • before 4.13Not affected
  • 4.14.303 through 4.14.*Not affected
  • 4.19.270 through 4.19.*Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.