cve-2021-47270
Vulnerability from cvelistv5
Published
2024-05-21 14:19
Modified
2024-12-19 07:38
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: fix various gadgets null ptr deref on 10gbps cabling. This avoids a null pointer dereference in f_{ecm,eem,hid,loopback,printer,rndis,serial,sourcesink,subset,tcm} by simply reusing the 5gbps config for 10gbps.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/10770d2ac0094b053c8897d96d7b2737cd72f7c5
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/4b289a0f3033f465b4fd51ba995251a7867a2aa2
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8cd5f45c1b769e3e9e0f4325dd08b6c3749dc7ee
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/90c4d05780d47e14a50e11a7f17373104cd47d25
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/b4903f7fdc484628d0b8022daf86e2439d3ab4db
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/beb1e67a5ca8d69703c776db9000527f44c0c93c
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f17aae7c4009160f0630a91842a281773976a5bc
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/10770d2ac0094b053c8897d96d7b2737cd72f7c5
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/4b289a0f3033f465b4fd51ba995251a7867a2aa2
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8cd5f45c1b769e3e9e0f4325dd08b6c3749dc7ee
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/90c4d05780d47e14a50e11a7f17373104cd47d25
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/b4903f7fdc484628d0b8022daf86e2439d3ab4db
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/beb1e67a5ca8d69703c776db9000527f44c0c93c
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f17aae7c4009160f0630a91842a281773976a5bc
Impacted products
Vendor Product Version
Linux Linux Version: 4.6
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T05:32:08.023Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/beb1e67a5ca8d69703c776db9000527f44c0c93c"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8cd5f45c1b769e3e9e0f4325dd08b6c3749dc7ee"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/10770d2ac0094b053c8897d96d7b2737cd72f7c5"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b4903f7fdc484628d0b8022daf86e2439d3ab4db"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/4b289a0f3033f465b4fd51ba995251a7867a2aa2"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f17aae7c4009160f0630a91842a281773976a5bc"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/90c4d05780d47e14a50e11a7f17373104cd47d25"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2021-47270",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T15:39:41.783429Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:32:47.414Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/gadget/function/f_ecm.c",
            "drivers/usb/gadget/function/f_eem.c",
            "drivers/usb/gadget/function/f_hid.c",
            "drivers/usb/gadget/function/f_loopback.c",
            "drivers/usb/gadget/function/f_printer.c",
            "drivers/usb/gadget/function/f_rndis.c",
            "drivers/usb/gadget/function/f_serial.c",
            "drivers/usb/gadget/function/f_sourcesink.c",
            "drivers/usb/gadget/function/f_subset.c",
            "drivers/usb/gadget/function/f_tcm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "beb1e67a5ca8d69703c776db9000527f44c0c93c",
              "status": "affected",
              "version": "eaef50c760576bca70b87fdc26eb87a3660529f8",
              "versionType": "git"
            },
            {
              "lessThan": "8cd5f45c1b769e3e9e0f4325dd08b6c3749dc7ee",
              "status": "affected",
              "version": "eaef50c760576bca70b87fdc26eb87a3660529f8",
              "versionType": "git"
            },
            {
              "lessThan": "10770d2ac0094b053c8897d96d7b2737cd72f7c5",
              "status": "affected",
              "version": "eaef50c760576bca70b87fdc26eb87a3660529f8",
              "versionType": "git"
            },
            {
              "lessThan": "b4903f7fdc484628d0b8022daf86e2439d3ab4db",
              "status": "affected",
              "version": "eaef50c760576bca70b87fdc26eb87a3660529f8",
              "versionType": "git"
            },
            {
              "lessThan": "4b289a0f3033f465b4fd51ba995251a7867a2aa2",
              "status": "affected",
              "version": "eaef50c760576bca70b87fdc26eb87a3660529f8",
              "versionType": "git"
            },
            {
              "lessThan": "f17aae7c4009160f0630a91842a281773976a5bc",
              "status": "affected",
              "version": "eaef50c760576bca70b87fdc26eb87a3660529f8",
              "versionType": "git"
            },
            {
              "lessThan": "90c4d05780d47e14a50e11a7f17373104cd47d25",
              "status": "affected",
              "version": "eaef50c760576bca70b87fdc26eb87a3660529f8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/gadget/function/f_ecm.c",
            "drivers/usb/gadget/function/f_eem.c",
            "drivers/usb/gadget/function/f_hid.c",
            "drivers/usb/gadget/function/f_loopback.c",
            "drivers/usb/gadget/function/f_printer.c",
            "drivers/usb/gadget/function/f_rndis.c",
            "drivers/usb/gadget/function/f_serial.c",
            "drivers/usb/gadget/function/f_sourcesink.c",
            "drivers/usb/gadget/function/f_subset.c",
            "drivers/usb/gadget/function/f_tcm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.6"
            },
            {
              "lessThan": "4.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.273",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.237",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.195",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.126",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.44",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.12.*",
              "status": "unaffected",
              "version": "5.12.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: fix various gadgets null ptr deref on 10gbps cabling.\n\nThis avoids a null pointer dereference in\nf_{ecm,eem,hid,loopback,printer,rndis,serial,sourcesink,subset,tcm}\nby simply reusing the 5gbps config for 10gbps."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T07:38:37.939Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/beb1e67a5ca8d69703c776db9000527f44c0c93c"
        },
        {
          "url": "https://git.kernel.org/stable/c/8cd5f45c1b769e3e9e0f4325dd08b6c3749dc7ee"
        },
        {
          "url": "https://git.kernel.org/stable/c/10770d2ac0094b053c8897d96d7b2737cd72f7c5"
        },
        {
          "url": "https://git.kernel.org/stable/c/b4903f7fdc484628d0b8022daf86e2439d3ab4db"
        },
        {
          "url": "https://git.kernel.org/stable/c/4b289a0f3033f465b4fd51ba995251a7867a2aa2"
        },
        {
          "url": "https://git.kernel.org/stable/c/f17aae7c4009160f0630a91842a281773976a5bc"
        },
        {
          "url": "https://git.kernel.org/stable/c/90c4d05780d47e14a50e11a7f17373104cd47d25"
        }
      ],
      "title": "usb: fix various gadgets null ptr deref on 10gbps cabling.",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47270",
    "datePublished": "2024-05-21T14:19:59.874Z",
    "dateReserved": "2024-05-21T13:27:52.127Z",
    "dateUpdated": "2024-12-19T07:38:37.939Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2021-47270\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-21T15:15:15.540\",\"lastModified\":\"2024-11-21T06:35:46.003\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: fix various gadgets null ptr deref on 10gbps cabling.\\n\\nThis avoids a null pointer dereference in\\nf_{ecm,eem,hid,loopback,printer,rndis,serial,sourcesink,subset,tcm}\\nby simply reusing the 5gbps config for 10gbps.\"},{\"lang\":\"es\",\"value\":\" En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: usb: repara varios gadgets null ptr deref en cableado de 10gbps. Esto evita una desreferencia de puntero null en f_{ecm,eem,hid,loopback,printer,rndis,serial,sourcesink,subset,tcm} simplemente reutilizando la configuraci\u00f3n de 5 gbps para 10 gbps.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/10770d2ac0094b053c8897d96d7b2737cd72f7c5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4b289a0f3033f465b4fd51ba995251a7867a2aa2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8cd5f45c1b769e3e9e0f4325dd08b6c3749dc7ee\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/90c4d05780d47e14a50e11a7f17373104cd47d25\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b4903f7fdc484628d0b8022daf86e2439d3ab4db\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/beb1e67a5ca8d69703c776db9000527f44c0c93c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f17aae7c4009160f0630a91842a281773976a5bc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/10770d2ac0094b053c8897d96d7b2737cd72f7c5\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/4b289a0f3033f465b4fd51ba995251a7867a2aa2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/8cd5f45c1b769e3e9e0f4325dd08b6c3749dc7ee\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/90c4d05780d47e14a50e11a7f17373104cd47d25\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/b4903f7fdc484628d0b8022daf86e2439d3ab4db\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/beb1e67a5ca8d69703c776db9000527f44c0c93c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/f17aae7c4009160f0630a91842a281773976a5bc\",\"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.