CVE-2022-50754 (GCVE-0-2022-50754)

Vulnerability from cvelistv5 – Published: 2025-12-24 13:05 – Updated: 2026-05-11 19:24
VLAI
Title
apparmor: fix a memleak in multi_transaction_new()
Summary
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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 , < 11d5fe7da67c3334cefc981297fd5defb78df15c (git)
Affected: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 , < 95e6adc6a7a4761ddf69ad713e55a06a3206309d (git)
Affected: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 , < eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6 (git)
Affected: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 , < 935d86b29093e75b6c547d90b3979c2c2d23f1c4 (git)
Affected: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 , < 775a37ffa9f4681c4ad84c8634a7eec8af7098d4 (git)
Affected: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 , < 88989932c2269ea66074f52a6213598838f8b9e7 (git)
Affected: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 , < 3d27a436e294ac5d7a51bd5348ca63a42a468b35 (git)
Affected: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 , < c73275cf6834787ca090317f1d20dbfa3b7f05aa (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.13
Unaffected: 0 , < 4.13 (semver)
Unaffected: 4.14.303 , ≤ 4.14.* (semver)
Unaffected: 4.19.270 , ≤ 4.19.* (semver)
Unaffected: 5.4.229 , ≤ 5.4.* (semver)
Unaffected: 5.10.163 , ≤ 5.10.* (semver)
Unaffected: 5.15.86 , ≤ 5.15.* (semver)
Unaffected: 6.0.16 , ≤ 6.0.* (semver)
Unaffected: 6.1.2 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "security/apparmor/apparmorfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "11d5fe7da67c3334cefc981297fd5defb78df15c",
              "status": "affected",
              "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
              "versionType": "git"
            },
            {
              "lessThan": "95e6adc6a7a4761ddf69ad713e55a06a3206309d",
              "status": "affected",
              "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
              "versionType": "git"
            },
            {
              "lessThan": "eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6",
              "status": "affected",
              "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
              "versionType": "git"
            },
            {
              "lessThan": "935d86b29093e75b6c547d90b3979c2c2d23f1c4",
              "status": "affected",
              "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
              "versionType": "git"
            },
            {
              "lessThan": "775a37ffa9f4681c4ad84c8634a7eec8af7098d4",
              "status": "affected",
              "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
              "versionType": "git"
            },
            {
              "lessThan": "88989932c2269ea66074f52a6213598838f8b9e7",
              "status": "affected",
              "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
              "versionType": "git"
            },
            {
              "lessThan": "3d27a436e294ac5d7a51bd5348ca63a42a468b35",
              "status": "affected",
              "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
              "versionType": "git"
            },
            {
              "lessThan": "c73275cf6834787ca090317f1d20dbfa3b7f05aa",
              "status": "affected",
              "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "security/apparmor/apparmorfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.13"
            },
            {
              "lessThan": "4.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.303",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:24:52.463Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/11d5fe7da67c3334cefc981297fd5defb78df15c"
        },
        {
          "url": "https://git.kernel.org/stable/c/95e6adc6a7a4761ddf69ad713e55a06a3206309d"
        },
        {
          "url": "https://git.kernel.org/stable/c/eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6"
        },
        {
          "url": "https://git.kernel.org/stable/c/935d86b29093e75b6c547d90b3979c2c2d23f1c4"
        },
        {
          "url": "https://git.kernel.org/stable/c/775a37ffa9f4681c4ad84c8634a7eec8af7098d4"
        },
        {
          "url": "https://git.kernel.org/stable/c/88989932c2269ea66074f52a6213598838f8b9e7"
        },
        {
          "url": "https://git.kernel.org/stable/c/3d27a436e294ac5d7a51bd5348ca63a42a468b35"
        },
        {
          "url": "https://git.kernel.org/stable/c/c73275cf6834787ca090317f1d20dbfa3b7f05aa"
        }
      ],
      "title": "apparmor: fix a memleak in multi_transaction_new()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50754",
    "datePublished": "2025-12-24T13:05:48.245Z",
    "dateReserved": "2025-12-24T13:02:21.544Z",
    "dateUpdated": "2026-05-11T19:24:52.463Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50754",
      "date": "2026-09-25",
      "epss": "0.00257",
      "percentile": "0.15525"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "security/apparmor/apparmorfs.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "11d5fe7da67c3334cefc981297fd5defb78df15c",
                    "status": "affected",
                    "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "95e6adc6a7a4761ddf69ad713e55a06a3206309d",
                    "status": "affected",
                    "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6",
                    "status": "affected",
                    "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "935d86b29093e75b6c547d90b3979c2c2d23f1c4",
                    "status": "affected",
                    "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "775a37ffa9f4681c4ad84c8634a7eec8af7098d4",
                    "status": "affected",
                    "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "88989932c2269ea66074f52a6213598838f8b9e7",
                    "status": "affected",
                    "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3d27a436e294ac5d7a51bd5348ca63a42a468b35",
                    "status": "affected",
                    "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c73275cf6834787ca090317f1d20dbfa3b7f05aa",
                    "status": "affected",
                    "version": "1dea3b41e84c5923173fe654dcb758a5cb4a46e5",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "security/apparmor/apparmorfs.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "4.13"
                  },
                  {
                    "lessThan": "4.13",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "4.14.*",
                    "status": "unaffected",
                    "version": "4.14.303",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "4.19.*",
                    "status": "unaffected",
                    "version": "4.19.270",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.4.*",
                    "status": "unaffected",
                    "version": "5.4.229",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.86",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.0.*",
                    "status": "unaffected",
                    "version": "6.0.16",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "6.2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          }
        ],
        "id": "CVE-2022-50754",
        "lastModified": "2026-06-17T05:24:07.267",
        "metrics": {},
        "published": "2025-12-24T13:16:02.140",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/11d5fe7da67c3334cefc981297fd5defb78df15c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3d27a436e294ac5d7a51bd5348ca63a42a468b35"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/775a37ffa9f4681c4ad84c8634a7eec8af7098d4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/88989932c2269ea66074f52a6213598838f8b9e7"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/935d86b29093e75b6c547d90b3979c2c2d23f1c4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/95e6adc6a7a4761ddf69ad713e55a06a3206309d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c73275cf6834787ca090317f1d20dbfa3b7f05aa"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Deferred"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-29T22:00:03+00:00",
      "cve": "CVE-2022-50754",
      "id": "CVE-2022-50754",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: apparmor: fix a memleak in multi_transaction_new()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50754.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-03T16:56:18Z",
      "cve": "CVE-2022-50754",
      "id": "CVE-2022-50754",
      "initial_release_date": "2025-12-25T01:04:08Z",
      "product_status:known_affected": "460",
      "product_status:known_not_affected": "277",
      "product_status:recommended": "196",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50754",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50754.json",
      "version": "26"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…