CVE-2022-50754 (GCVE-0-2022-50754)
Vulnerability from cvelistv5
Published
2025-12-24 13:05
Modified
2025-12-24 13:05
Severity ?
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.
Impacted products
Vendor Product Version
Linux Linux Version: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5
Version: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5
Version: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5
Version: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5
Version: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5
Version: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5
Version: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5
Version: 1dea3b41e84c5923173fe654dcb758a5cb4a46e5
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": "2025-12-24T13:05:48.245Z",
        "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": "2025-12-24T13:05:48.245Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50754\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T13:16:02.140\",\"lastModified\":\"2025-12-24T13:16:02.140\",\"vulnStatus\":\"Received\",\"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.\"}],\"metrics\":{},\"references\":[{\"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\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…