cve-2021-47443
Vulnerability from cvelistv5
Published
2024-05-22 06:19
Modified
2024-12-19 07:42
Summary
In the Linux kernel, the following vulnerability has been resolved: NFC: digital: fix possible memory leak in digital_tg_listen_mdaa() 'params' is allocated in digital_tg_listen_mdaa(), but not free when digital_send_cmd() failed, which will cause memory leak. Fix it by freeing 'params' if digital_send_cmd() return failed.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/3f2960b39f22e26cf8addae93c3f5884d1c183c9
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/429054ec51e648d241a7e0b465cf44f6633334c5
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/564249219e5b5673a8416b5181875d828c3f1e8c
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/58e7dcc9ca29c14e44267a4d0ea61e3229124907
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/7ab488d7228a9dceb2456867f1f0919decf6efed
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/9881b0c860649f27ef2565deef011e516390f416
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/a67d47e32c91e2b10402cb8c081774cbf08edb2e
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/b7b023e6ff567e991c31cd425b0e1d16779c938b
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/3f2960b39f22e26cf8addae93c3f5884d1c183c9
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/429054ec51e648d241a7e0b465cf44f6633334c5
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/564249219e5b5673a8416b5181875d828c3f1e8c
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/58e7dcc9ca29c14e44267a4d0ea61e3229124907
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/7ab488d7228a9dceb2456867f1f0919decf6efed
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/9881b0c860649f27ef2565deef011e516390f416
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/a67d47e32c91e2b10402cb8c081774cbf08edb2e
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/b7b023e6ff567e991c31cd425b0e1d16779c938b
Impacted products
Vendor Product Version
Linux Linux Version: 3.13
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2021-47443",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-29T18:42:00.760765Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "description": "CWE-noinfo Not enough information",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-11-06T16:16:01.807Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T05:39:59.240Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/429054ec51e648d241a7e0b465cf44f6633334c5"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a67d47e32c91e2b10402cb8c081774cbf08edb2e"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b7b023e6ff567e991c31cd425b0e1d16779c938b"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/9881b0c860649f27ef2565deef011e516390f416"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/7ab488d7228a9dceb2456867f1f0919decf6efed"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/3f2960b39f22e26cf8addae93c3f5884d1c183c9"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/564249219e5b5673a8416b5181875d828c3f1e8c"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/58e7dcc9ca29c14e44267a4d0ea61e3229124907"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/nfc/digital_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "429054ec51e648d241a7e0b465cf44f6633334c5",
              "status": "affected",
              "version": "1c7a4c24fbfd99442cc6e14dc80fcb00f118e8b8",
              "versionType": "git"
            },
            {
              "lessThan": "a67d47e32c91e2b10402cb8c081774cbf08edb2e",
              "status": "affected",
              "version": "1c7a4c24fbfd99442cc6e14dc80fcb00f118e8b8",
              "versionType": "git"
            },
            {
              "lessThan": "b7b023e6ff567e991c31cd425b0e1d16779c938b",
              "status": "affected",
              "version": "1c7a4c24fbfd99442cc6e14dc80fcb00f118e8b8",
              "versionType": "git"
            },
            {
              "lessThan": "9881b0c860649f27ef2565deef011e516390f416",
              "status": "affected",
              "version": "1c7a4c24fbfd99442cc6e14dc80fcb00f118e8b8",
              "versionType": "git"
            },
            {
              "lessThan": "7ab488d7228a9dceb2456867f1f0919decf6efed",
              "status": "affected",
              "version": "1c7a4c24fbfd99442cc6e14dc80fcb00f118e8b8",
              "versionType": "git"
            },
            {
              "lessThan": "3f2960b39f22e26cf8addae93c3f5884d1c183c9",
              "status": "affected",
              "version": "1c7a4c24fbfd99442cc6e14dc80fcb00f118e8b8",
              "versionType": "git"
            },
            {
              "lessThan": "564249219e5b5673a8416b5181875d828c3f1e8c",
              "status": "affected",
              "version": "1c7a4c24fbfd99442cc6e14dc80fcb00f118e8b8",
              "versionType": "git"
            },
            {
              "lessThan": "58e7dcc9ca29c14e44267a4d0ea61e3229124907",
              "status": "affected",
              "version": "1c7a4c24fbfd99442cc6e14dc80fcb00f118e8b8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/nfc/digital_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.13"
            },
            {
              "lessThan": "3.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.4.*",
              "status": "unaffected",
              "version": "4.4.290",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.288",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.252",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.213",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.155",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.14.*",
              "status": "unaffected",
              "version": "5.14.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFC: digital: fix possible memory leak in digital_tg_listen_mdaa()\n\n\u0027params\u0027 is allocated in digital_tg_listen_mdaa(), but not free when\ndigital_send_cmd() failed, which will cause memory leak. Fix it by\nfreeing \u0027params\u0027 if digital_send_cmd() return failed."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T07:42:23.761Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/429054ec51e648d241a7e0b465cf44f6633334c5"
        },
        {
          "url": "https://git.kernel.org/stable/c/a67d47e32c91e2b10402cb8c081774cbf08edb2e"
        },
        {
          "url": "https://git.kernel.org/stable/c/b7b023e6ff567e991c31cd425b0e1d16779c938b"
        },
        {
          "url": "https://git.kernel.org/stable/c/9881b0c860649f27ef2565deef011e516390f416"
        },
        {
          "url": "https://git.kernel.org/stable/c/7ab488d7228a9dceb2456867f1f0919decf6efed"
        },
        {
          "url": "https://git.kernel.org/stable/c/3f2960b39f22e26cf8addae93c3f5884d1c183c9"
        },
        {
          "url": "https://git.kernel.org/stable/c/564249219e5b5673a8416b5181875d828c3f1e8c"
        },
        {
          "url": "https://git.kernel.org/stable/c/58e7dcc9ca29c14e44267a4d0ea61e3229124907"
        }
      ],
      "title": "NFC: digital: fix possible memory leak in digital_tg_listen_mdaa()",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47443",
    "datePublished": "2024-05-22T06:19:36.889Z",
    "dateReserved": "2024-05-21T14:58:30.832Z",
    "dateUpdated": "2024-12-19T07:42:23.761Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2021-47443\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-22T07:15:09.570\",\"lastModified\":\"2024-11-21T06:36:09.423\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nNFC: digital: fix possible memory leak in digital_tg_listen_mdaa()\\n\\n\u0027params\u0027 is allocated in digital_tg_listen_mdaa(), but not free when\\ndigital_send_cmd() failed, which will cause memory leak. Fix it by\\nfreeing \u0027params\u0027 if digital_send_cmd() return failed.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: NFC: digital: corrige una posible p\u00e9rdida de memoria en digital_tg_listen_mdaa() Los \u0027params\u0027 se asignan en digital_tg_listen_mdaa(), pero no est\u00e1n libres cuando falla digital_send_cmd(), lo que provocar\u00e1 una p\u00e9rdida de memoria. Solucionelo liberando \u0027params\u0027 si falla la devoluci\u00f3n de digital_send_cmd().\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3f2960b39f22e26cf8addae93c3f5884d1c183c9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/429054ec51e648d241a7e0b465cf44f6633334c5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/564249219e5b5673a8416b5181875d828c3f1e8c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/58e7dcc9ca29c14e44267a4d0ea61e3229124907\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7ab488d7228a9dceb2456867f1f0919decf6efed\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9881b0c860649f27ef2565deef011e516390f416\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a67d47e32c91e2b10402cb8c081774cbf08edb2e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b7b023e6ff567e991c31cd425b0e1d16779c938b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3f2960b39f22e26cf8addae93c3f5884d1c183c9\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/429054ec51e648d241a7e0b465cf44f6633334c5\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/564249219e5b5673a8416b5181875d828c3f1e8c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/58e7dcc9ca29c14e44267a4d0ea61e3229124907\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/7ab488d7228a9dceb2456867f1f0919decf6efed\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/9881b0c860649f27ef2565deef011e516390f416\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/a67d47e32c91e2b10402cb8c081774cbf08edb2e\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/b7b023e6ff567e991c31cd425b0e1d16779c938b\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


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.
  • 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.