{
  "cveId": "CVE-2021-47413",
  "url": "https://patchblox.com/security/cve/CVE-2021-47413",
  "summary": "CVE-2021-47413 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-47413, released May 21, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  usb: chipidea: ci_hdrc_imx: Also search for \u0027phy...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  usb: chipidea: ci_hdrc_imx: Also search for \u0027phys\u0027 phandle  When passing \u0027phys\u0027 in the devicetree to describe the USB PHY phandle (which is the recommended way according to Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt) the following NULL pointer dereference is observed on i.MX7 and i.MX8MM:  [    1.489344] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000098 [    1.498170] Mem abort info: [    1.500966]   ESR = 0x96000044 [    1.504030]   EC = 0x25: DABT (current EL), IL = 32 bits [    1.509356]   SET = 0, FnV = 0 [    1.512416]   EA = 0, S1PTW = 0 [    1.515569]   FSC = 0x04: level 0 translation fault [    1.520458] Data abort info: [    1.523349]   ISV = 0, ISS = 0x00000044 [    1.527196]   CM = 0, WnR = 1 [    1.530176] [0000000000000098] user address but active_mm is swapper [    1.536544] Internal error: Oops: 96000044 [#1] PREEMPT SMP [    1.542125] Modules linked in: [    1.545190] CPU: 3 PID: 7 Comm: kworker/u8:0 Not tainted 5.14.0-dirty #3 [    1.551901] Hardware name: Kontron i.MX8MM N801X S (DT) [    1.557133] Workqueue: events_unbound deferred_probe_work_func [    1.562984] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--) [    1.568998] pc : imx7d_charger_detection\u002B0x3f0/0x510 [    1.573973] lr : imx7d_charger_detection\u002B0x22c/0x510  This happens because the charger functions check for the phy presence inside the imx_usbmisc_data structure (data-\u003Eusb_phy), but the chipidea core populates the usb_phy passed via \u0027phys\u0027 inside \u0027struct ci_hdrc\u0027 (ci-\u003Eusb_phy) instead.  This causes the NULL pointer dereference inside imx7d_charger_detection().  Fix it by also searching for \u0027phys\u0027 in case \u0027fsl,usbphy\u0027 is not found.  Tested on a imx7s-warp board.",
  "published": "2024-05-21T15:15:26Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00222,
  "epssPercentile": 0.12927,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.14.12-1",
      "fix": "DEBIAN-CVE-2021-47413",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47413",
      "released": "2024-05-21T15:15:26Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.14.12-1",
      "fix": "DEBIAN-CVE-2021-47413",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47413",
      "released": "2024-05-21T15:15:26Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.14.12-1",
      "fix": "DEBIAN-CVE-2021-47413",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47413",
      "released": "2024-05-21T15:15:26Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}