Lucene search

K
cvelistLinuxCVELIST:CVE-2024-44960
HistorySep 04, 2024 - 6:35 p.m.

CVE-2024-44960 usb: gadget: core: Check for unset descriptor

2024-09-0418:35:58
Linux
www.cve.org
5
linux kernel usb vulnerability

EPSS

0

Percentile

13.7%

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: core: Check for unset descriptor

Make sure the descriptor has been set before looking at maxpacket.
This fixes a null pointer panic in this case.

This may happen if the gadget doesn’t properly set up the endpoint
for the current speed, or the gadget descriptors are malformed and
the descriptor for the speed/endpoint are not found.

No current gadget driver is known to have this problem, but this
may cause a hard-to-find bug during development of new gadgets.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/usb/gadget/udc/core.c"
    ],
    "versions": [
      {
        "version": "d1c188d330ca",
        "lessThan": "ba15815dd24c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "54f83b8c8ea9",
        "lessThan": "df8e734ae5e6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "54f83b8c8ea9",
        "lessThan": "7cc9ebcfe58b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "54f83b8c8ea9",
        "lessThan": "50c5248b0ea8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "54f83b8c8ea9",
        "lessThan": "a0362cd6e503",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "54f83b8c8ea9",
        "lessThan": "1a9df57d5745",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "54f83b8c8ea9",
        "lessThan": "716cba46f73a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "54f83b8c8ea9",
        "lessThan": "973a57891608",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/usb/gadget/udc/core.c"
    ],
    "versions": [
      {
        "version": "5.4",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.4",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.320",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.282",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.224",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.165",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.105",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.46",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.5",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

13.7%