FKIE_CVE-2021-47239

Vulnerability from fkie_nvd - Published: 2024-05-21 15:15 - Updated: 2026-06-17 04:16
Summary
In the Linux kernel, the following vulnerability has been resolved: net: usb: fix possible use-after-free in smsc75xx_bind The commit 46a8b29c6306 ("net: usb: fix memory leak in smsc75xx_bind") fails to clean up the work scheduled in smsc75xx_reset-> smsc75xx_set_multicast, which leads to use-after-free if the work is scheduled to start after the deallocation. In addition, this patch also removes a dangling pointer - dev->data[0]. This patch calls cancel_work_sync to cancel the scheduled work and set the dangling pointer to NULL.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43dPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59bPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5bPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3dPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cbPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9bPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050bPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43dPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59bPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5bPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3dPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cbPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9bPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050bPatch

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/usb/smsc75xx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7cc8b2e05fcea6edd022d26e82091d781af8fd9b",
              "status": "affected",
              "version": "200dbfcad8011e50c3cec269ed7b980836eeb1fa",
              "versionType": "git"
            },
            {
              "lessThan": "64160d1741a3de5204d1a822e058e0b4cc526504",
              "status": "affected",
              "version": "22c840596af0c09068b6cf948616e6496e59e07f",
              "versionType": "git"
            },
            {
              "lessThan": "c4e3be2e7742863e454ce31faf8fd0109c00050b",
              "status": "affected",
              "version": "9e6b8c1ff9d997e1fa16cbd2d60739adf6dc1bbc",
              "versionType": "git"
            },
            {
              "lessThan": "2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b",
              "status": "affected",
              "version": "9e6a3eccb28779710cbbafc4f4258d92509c6d07",
              "versionType": "git"
            },
            {
              "lessThan": "4252bf6c2b245f47011098113d405ffad6ad5d5b",
              "status": "affected",
              "version": "b95fb96e6339e34694dd578fb6bde3575b01af17",
              "versionType": "git"
            },
            {
              "lessThan": "570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb",
              "status": "affected",
              "version": "635ac38b36255d3cfb8312cf7c471334f4d537e0",
              "versionType": "git"
            },
            {
              "lessThan": "14616c372a7be01a2fb8c56c9d8debd232b9e43d",
              "status": "affected",
              "version": "70c886ac93f87ae7214a0c69151a28a8075dd95b",
              "versionType": "git"
            },
            {
              "lessThan": "56b786d86694e079d8aad9b314e015cd4ac02a3d",
              "status": "affected",
              "version": "46a8b29c6306d8bbfd92b614ef65a47c900d8e70",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/usb/smsc75xx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4.4.274",
              "status": "affected",
              "version": "4.4.271",
              "versionType": "semver"
            },
            {
              "lessThan": "4.9.274",
              "status": "affected",
              "version": "4.9.271",
              "versionType": "semver"
            },
            {
              "lessThan": "4.14.238",
              "status": "affected",
              "version": "4.14.235",
              "versionType": "semver"
            },
            {
              "lessThan": "4.19.196",
              "status": "affected",
              "version": "4.19.193",
              "versionType": "semver"
            },
            {
              "lessThan": "5.4.128",
              "status": "affected",
              "version": "5.4.124",
              "versionType": "semver"
            },
            {
              "lessThan": "5.10.46",
              "status": "affected",
              "version": "5.10.42",
              "versionType": "semver"
            },
            {
              "lessThan": "5.12.13",
              "status": "affected",
              "version": "5.12.9",
              "versionType": "semver"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "737AAC58-BB4E-47DF-AC5F-FA6F3A7A1103",
              "versionEndExcluding": "4.4.274",
              "versionStartIncluding": "4.4.271",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "8C445B8A-4E12-47FB-8627-E8B96B9579D0",
              "versionEndExcluding": "4.9.274",
              "versionStartIncluding": "4.9.271",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "BCBDE75C-DF50-4E70-B1D1-A20BD3099318",
              "versionEndExcluding": "4.14.238",
              "versionStartIncluding": "4.14.235",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "E6000807-8020-4E7C-A445-BAF2F14A52A1",
              "versionEndExcluding": "4.19.196",
              "versionStartIncluding": "4.19.193",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "6DBC83E0-6B98-400C-9F10-299D808706FB",
              "versionEndExcluding": "5.4.128",
              "versionStartIncluding": "5.4.124",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "F9F66318-6AFC-40FF-A36E-F936221016D7",
              "versionEndExcluding": "5.10.46",
              "versionStartIncluding": "5.10.42",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "7AA02305-D22E-49CF-8F2A-272D97B16E7C",
              "versionEndExcluding": "5.12.13",
              "versionStartIncluding": "5.12.9",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: fix possible use-after-free in smsc75xx_bind\n\nThe commit 46a8b29c6306 (\"net: usb: fix memory leak in smsc75xx_bind\")\nfails to clean up the work scheduled in smsc75xx_reset-\u003e\nsmsc75xx_set_multicast, which leads to use-after-free if the work is\nscheduled to start after the deallocation. In addition, this patch\nalso removes a dangling pointer - dev-\u003edata[0].\n\nThis patch calls cancel_work_sync to cancel the scheduled work and set\nthe dangling pointer to NULL."
    },
    {
      "lang": "es",
      "value": " En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net:usb: corrige posible use after free en smsc75xx_bind. La confirmaci\u00f3n 46a8b29c6306 (\"net:usb: corrige la p\u00e9rdida de memoria en smsc75xx_bind\") no logra limpiar el trabajo programado en smsc75xx_reset -\u0026gt; smsc75xx_set_multicast, lo que genera use after free si el trabajo est\u00e1 programado para comenzar despu\u00e9s de la desasignaci\u00f3n. Adem\u00e1s, este parche tambi\u00e9n elimina un puntero colgante: dev-\u0026gt;data[0]. Este parche llama a cancel_work_sync para cancelar el trabajo programado y establecer el puntero colgante en NULL."
    }
  ],
  "id": "CVE-2021-47239",
  "lastModified": "2026-06-17T04:16:59.147",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "LOCAL",
          "availabilityImpact": "HIGH",
          "baseScore": 7.8,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.9,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2021-47239",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "timestamp": "2024-09-10T15:40:00.710972Z",
          "version": "2.0.3"
        }
      }
    ]
  },
  "published": "2024-05-21T15:15:13.100",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-416"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



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…