CVE-2021-47413 (GCVE-0-2021-47413)
Vulnerability from cvelistv5 – Published: 2024-05-21 15:04 – Updated: 2026-05-11 13:54
VLAI
EPSS
VEX
Title
usb: chipidea: ci_hdrc_imx: Also search for 'phys' phandle
Summary
In the Linux kernel, the following vulnerability has been resolved:
usb: chipidea: ci_hdrc_imx: Also search for 'phys' phandle
When passing 'phys' 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+0x3f0/0x510
[ 1.573973] lr : imx7d_charger_detection+0x22c/0x510
This happens because the charger functions check for the phy presence
inside the imx_usbmisc_data structure (data->usb_phy), but the chipidea
core populates the usb_phy passed via 'phys' inside 'struct ci_hdrc'
(ci->usb_phy) instead.
This causes the NULL pointer dereference inside imx7d_charger_detection().
Fix it by also searching for 'phys' in case 'fsl,usbphy' is not found.
Tested on a imx7s-warp board.
Severity
No CVSS data available.
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-06-11 17:27 UTC
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
746f316b753a83e366bfc5f936cbf0d72d1c2d1d , < b3265b88e83b16c7be762fa5fb7e0632bce0002c
(git)
Affected: 746f316b753a83e366bfc5f936cbf0d72d1c2d1d , < 66dd03b10e1c0b2fae006c6e34c18ea8ee033e7b (git) Affected: 746f316b753a83e366bfc5f936cbf0d72d1c2d1d , < 8253a34bfae3278baca52fc1209b7c29270486ca (git) |
guessed | |
| Linux | Linux |
Affected:
5.8
Unaffected: 0 , < 5.8 (semver) Unaffected: 5.10.73 , ≤ 5.10.* (semver) Unaffected: 5.14.12 , ≤ 5.14.* (semver) Unaffected: 5.15 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2021-47413",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-06-11T17:27:34.761405Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-06-11T17:27:45.884Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-04T05:39:59.295Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/b3265b88e83b16c7be762fa5fb7e0632bce0002c"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/66dd03b10e1c0b2fae006c6e34c18ea8ee033e7b"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/8253a34bfae3278baca52fc1209b7c29270486ca"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/usb/chipidea/ci_hdrc_imx.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "b3265b88e83b16c7be762fa5fb7e0632bce0002c",
"status": "affected",
"version": "746f316b753a83e366bfc5f936cbf0d72d1c2d1d",
"versionType": "git"
},
{
"lessThan": "66dd03b10e1c0b2fae006c6e34c18ea8ee033e7b",
"status": "affected",
"version": "746f316b753a83e366bfc5f936cbf0d72d1c2d1d",
"versionType": "git"
},
{
"lessThan": "8253a34bfae3278baca52fc1209b7c29270486ca",
"status": "affected",
"version": "746f316b753a83e366bfc5f936cbf0d72d1c2d1d",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/usb/chipidea/ci_hdrc_imx.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.8"
},
{
"lessThan": "5.8",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.73",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.14.*",
"status": "unaffected",
"version": "5.14.12",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "5.15",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.73",
"versionStartIncluding": "5.8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.14.12",
"versionStartIncluding": "5.8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15",
"versionStartIncluding": "5.8",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: chipidea: ci_hdrc_imx: Also search for \u0027phys\u0027 phandle\n\nWhen passing \u0027phys\u0027 in the devicetree to describe the USB PHY phandle\n(which is the recommended way according to\nDocumentation/devicetree/bindings/usb/ci-hdrc-usb2.txt) the\nfollowing NULL pointer dereference is observed on i.MX7 and i.MX8MM:\n\n[ 1.489344] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000098\n[ 1.498170] Mem abort info:\n[ 1.500966] ESR = 0x96000044\n[ 1.504030] EC = 0x25: DABT (current EL), IL = 32 bits\n[ 1.509356] SET = 0, FnV = 0\n[ 1.512416] EA = 0, S1PTW = 0\n[ 1.515569] FSC = 0x04: level 0 translation fault\n[ 1.520458] Data abort info:\n[ 1.523349] ISV = 0, ISS = 0x00000044\n[ 1.527196] CM = 0, WnR = 1\n[ 1.530176] [0000000000000098] user address but active_mm is swapper\n[ 1.536544] Internal error: Oops: 96000044 [#1] PREEMPT SMP\n[ 1.542125] Modules linked in:\n[ 1.545190] CPU: 3 PID: 7 Comm: kworker/u8:0 Not tainted 5.14.0-dirty #3\n[ 1.551901] Hardware name: Kontron i.MX8MM N801X S (DT)\n[ 1.557133] Workqueue: events_unbound deferred_probe_work_func\n[ 1.562984] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)\n[ 1.568998] pc : imx7d_charger_detection+0x3f0/0x510\n[ 1.573973] lr : imx7d_charger_detection+0x22c/0x510\n\nThis happens because the charger functions check for the phy presence\ninside the imx_usbmisc_data structure (data-\u003eusb_phy), but the chipidea\ncore populates the usb_phy passed via \u0027phys\u0027 inside \u0027struct ci_hdrc\u0027\n(ci-\u003eusb_phy) instead.\n\nThis causes the NULL pointer dereference inside imx7d_charger_detection().\n\nFix it by also searching for \u0027phys\u0027 in case \u0027fsl,usbphy\u0027 is not found.\n\nTested on a imx7s-warp board."
}
],
"providerMetadata": {
"dateUpdated": "2026-05-11T13:54:13.468Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/b3265b88e83b16c7be762fa5fb7e0632bce0002c"
},
{
"url": "https://git.kernel.org/stable/c/66dd03b10e1c0b2fae006c6e34c18ea8ee033e7b"
},
{
"url": "https://git.kernel.org/stable/c/8253a34bfae3278baca52fc1209b7c29270486ca"
}
],
"title": "usb: chipidea: ci_hdrc_imx: Also search for \u0027phys\u0027 phandle",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2021-47413",
"datePublished": "2024-05-21T15:04:04.060Z",
"dateReserved": "2024-05-21T14:58:30.818Z",
"dateUpdated": "2026-05-11T13:54:13.468Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2021-47413",
"date": "2026-09-15",
"epss": "0.00222",
"percentile": "0.12925"
},
"fkie_nvd": {
"configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"5.8\", \"versionEndExcluding\": \"5.10.73\", \"matchCriteriaId\": \"CF25CE87-2A22-42E7-B959-33757194C123\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"5.11\", \"versionEndExcluding\": \"5.14.12\", \"matchCriteriaId\": \"20EB962C-32DC-448F-A900-BCF9A726F9EB\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*\", \"matchCriteriaId\": \"E46C74C6-B76B-4C94-A6A4-FD2FFF62D644\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:*\", \"matchCriteriaId\": \"60134C3A-06E4-48C1-B04F-2903732A4E56\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:*\", \"matchCriteriaId\": \"0460DA88-8FE1-46A2-9DDA-1F1ABA552E71\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:*\", \"matchCriteriaId\": \"AF55383D-4DF2-45DC-93F7-571F4F978EAB\"}]}]}]",
"descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: chipidea: ci_hdrc_imx: Also search for \u0027phys\u0027 phandle\\n\\nWhen passing \u0027phys\u0027 in the devicetree to describe the USB PHY phandle\\n(which is the recommended way according to\\nDocumentation/devicetree/bindings/usb/ci-hdrc-usb2.txt) the\\nfollowing NULL pointer dereference is observed on i.MX7 and i.MX8MM:\\n\\n[ 1.489344] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000098\\n[ 1.498170] Mem abort info:\\n[ 1.500966] ESR = 0x96000044\\n[ 1.504030] EC = 0x25: DABT (current EL), IL = 32 bits\\n[ 1.509356] SET = 0, FnV = 0\\n[ 1.512416] EA = 0, S1PTW = 0\\n[ 1.515569] FSC = 0x04: level 0 translation fault\\n[ 1.520458] Data abort info:\\n[ 1.523349] ISV = 0, ISS = 0x00000044\\n[ 1.527196] CM = 0, WnR = 1\\n[ 1.530176] [0000000000000098] user address but active_mm is swapper\\n[ 1.536544] Internal error: Oops: 96000044 [#1] PREEMPT SMP\\n[ 1.542125] Modules linked in:\\n[ 1.545190] CPU: 3 PID: 7 Comm: kworker/u8:0 Not tainted 5.14.0-dirty #3\\n[ 1.551901] Hardware name: Kontron i.MX8MM N801X S (DT)\\n[ 1.557133] Workqueue: events_unbound deferred_probe_work_func\\n[ 1.562984] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)\\n[ 1.568998] pc : imx7d_charger_detection+0x3f0/0x510\\n[ 1.573973] lr : imx7d_charger_detection+0x22c/0x510\\n\\nThis happens because the charger functions check for the phy presence\\ninside the imx_usbmisc_data structure (data-\u003eusb_phy), but the chipidea\\ncore populates the usb_phy passed via \u0027phys\u0027 inside \u0027struct ci_hdrc\u0027\\n(ci-\u003eusb_phy) instead.\\n\\nThis causes the NULL pointer dereference inside imx7d_charger_detection().\\n\\nFix it by also searching for \u0027phys\u0027 in case \u0027fsl,usbphy\u0027 is not found.\\n\\nTested on a imx7s-warp board.\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: chipidea: ci_hdrc_imx: tambi\\u00e9n busque \u0027phys\u0027 phandle. Al pasar \u0027phys\u0027 en el \\u00e1rbol de dispositivos para describir el phandle USB PHY (que es la forma recomendada seg\\u00fan Documentation/devicetree /bindings/usb/ci-hdrc-usb2.txt) se observa la siguiente desreferencia del puntero NULL en i.MX7 e i.MX8MM: [1.489344] No se puede manejar la desreferencia del puntero NULL del kernel en la direcci\\u00f3n virtual 00000000000000098 [1.498170] Informaci\\u00f3n de cancelaci\\u00f3n de memoria: [ 1.500966] ESR = 0x96000044 [ 1.504030] EC = 0x25: DABT (EL actual), IL = 32 bits [ 1.509356] SET = 0, FnV = 0 [ 1.512416] EA = 0, S1PTW = 0 [ 1.515569] FSC = 0x04: error de traducci\\u00f3n de nivel 0 [1.520458] Informaci\\u00f3n de cancelaci\\u00f3n de datos: [1.523349] ISV = 0, ISS = 0x00000044 [1.527196] CM = 0, WnR = 1 [1.530176] [0000000000000098] direcci\\u00f3n de usuario pero active_mm es intercambiador [1.536544 ] Error interno: Ups : 96000044 [#1] PREEMPT SMP [ 1.542125] M\\u00f3dulos vinculados en: [ 1.545190] CPU: 3 PID: 7 Comm: kworker/u8:0 Not tainted 5.14.0-dirty #3 [ 1.551901] Nombre de hardware: Kontron i.MX8MM N801X S (DT) [1.557133] Cola de trabajo: events_unbound deferred_probe_work_func [1.562984] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--) [1.568998] pc: imx7d_charger_detection+0x3f0/0x510 [ 1. 573973] lr: imx7d_charger_detection+0x22c /0x510 Esto sucede porque las funciones del cargador verifican la presencia de phy dentro de la estructura imx_usbmisc_data (data-\u0026gt;usb_phy), pero el n\\u00facleo chipidea llena el usb_phy pasado a trav\\u00e9s de \u0027phys\u0027 dentro de \u0027struct ci_hdrc\u0027 (ci-\u0026gt;usb_phy). Esto provoca la desreferencia del puntero NULL dentro de imx7d_charger_detection(). Solucione el problema buscando tambi\\u00e9n \u0027phys\u0027 en caso de que no se encuentre \u0027fsl,usbphy\u0027. Probado en una placa imx7s-warp.\"}]",
"id": "CVE-2021-47413",
"lastModified": "2024-12-30T20:00:33.497",
"metrics": "{\"cvssMetricV31\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"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}]}",
"published": "2024-05-21T15:15:26.793",
"references": "[{\"url\": \"https://git.kernel.org/stable/c/66dd03b10e1c0b2fae006c6e34c18ea8ee033e7b\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/8253a34bfae3278baca52fc1209b7c29270486ca\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/b3265b88e83b16c7be762fa5fb7e0632bce0002c\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/66dd03b10e1c0b2fae006c6e34c18ea8ee033e7b\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/8253a34bfae3278baca52fc1209b7c29270486ca\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://git.kernel.org/stable/c/b3265b88e83b16c7be762fa5fb7e0632bce0002c\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}]",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Analyzed",
"weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-476\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2021-47413\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-21T15:15:26.793\",\"lastModified\":\"2026-06-17T04:17:24.967\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: chipidea: ci_hdrc_imx: Also search for \u0027phys\u0027 phandle\\n\\nWhen passing \u0027phys\u0027 in the devicetree to describe the USB PHY phandle\\n(which is the recommended way according to\\nDocumentation/devicetree/bindings/usb/ci-hdrc-usb2.txt) the\\nfollowing NULL pointer dereference is observed on i.MX7 and i.MX8MM:\\n\\n[ 1.489344] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000098\\n[ 1.498170] Mem abort info:\\n[ 1.500966] ESR = 0x96000044\\n[ 1.504030] EC = 0x25: DABT (current EL), IL = 32 bits\\n[ 1.509356] SET = 0, FnV = 0\\n[ 1.512416] EA = 0, S1PTW = 0\\n[ 1.515569] FSC = 0x04: level 0 translation fault\\n[ 1.520458] Data abort info:\\n[ 1.523349] ISV = 0, ISS = 0x00000044\\n[ 1.527196] CM = 0, WnR = 1\\n[ 1.530176] [0000000000000098] user address but active_mm is swapper\\n[ 1.536544] Internal error: Oops: 96000044 [#1] PREEMPT SMP\\n[ 1.542125] Modules linked in:\\n[ 1.545190] CPU: 3 PID: 7 Comm: kworker/u8:0 Not tainted 5.14.0-dirty #3\\n[ 1.551901] Hardware name: Kontron i.MX8MM N801X S (DT)\\n[ 1.557133] Workqueue: events_unbound deferred_probe_work_func\\n[ 1.562984] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)\\n[ 1.568998] pc : imx7d_charger_detection+0x3f0/0x510\\n[ 1.573973] lr : imx7d_charger_detection+0x22c/0x510\\n\\nThis happens because the charger functions check for the phy presence\\ninside the imx_usbmisc_data structure (data-\u003eusb_phy), but the chipidea\\ncore populates the usb_phy passed via \u0027phys\u0027 inside \u0027struct ci_hdrc\u0027\\n(ci-\u003eusb_phy) instead.\\n\\nThis causes the NULL pointer dereference inside imx7d_charger_detection().\\n\\nFix it by also searching for \u0027phys\u0027 in case \u0027fsl,usbphy\u0027 is not found.\\n\\nTested on a imx7s-warp board.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: chipidea: ci_hdrc_imx: tambi\u00e9n busque \u0027phys\u0027 phandle. Al pasar \u0027phys\u0027 en el \u00e1rbol de dispositivos para describir el phandle USB PHY (que es la forma recomendada seg\u00fan Documentation/devicetree /bindings/usb/ci-hdrc-usb2.txt) se observa la siguiente desreferencia del puntero NULL en i.MX7 e i.MX8MM: [1.489344] No se puede manejar la desreferencia del puntero NULL del kernel en la direcci\u00f3n virtual 00000000000000098 [1.498170] Informaci\u00f3n de cancelaci\u00f3n de memoria: [ 1.500966] ESR = 0x96000044 [ 1.504030] EC = 0x25: DABT (EL actual), IL = 32 bits [ 1.509356] SET = 0, FnV = 0 [ 1.512416] EA = 0, S1PTW = 0 [ 1.515569] FSC = 0x04: error de traducci\u00f3n de nivel 0 [1.520458] Informaci\u00f3n de cancelaci\u00f3n de datos: [1.523349] ISV = 0, ISS = 0x00000044 [1.527196] CM = 0, WnR = 1 [1.530176] [0000000000000098] direcci\u00f3n de usuario pero active_mm es intercambiador [1.536544 ] Error interno: Ups : 96000044 [#1] PREEMPT SMP [ 1.542125] M\u00f3dulos vinculados en: [ 1.545190] CPU: 3 PID: 7 Comm: kworker/u8:0 Not tainted 5.14.0-dirty #3 [ 1.551901] Nombre de hardware: Kontron i.MX8MM N801X S (DT) [1.557133] Cola de trabajo: events_unbound deferred_probe_work_func [1.562984] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--) [1.568998] pc: imx7d_charger_detection+0x3f0/0x510 [ 1. 573973] lr: imx7d_charger_detection+0x22c /0x510 Esto sucede porque las funciones del cargador verifican la presencia de phy dentro de la estructura imx_usbmisc_data (data-\u0026gt;usb_phy), pero el n\u00facleo chipidea llena el usb_phy pasado a trav\u00e9s de \u0027phys\u0027 dentro de \u0027struct ci_hdrc\u0027 (ci-\u0026gt;usb_phy). Esto provoca la desreferencia del puntero NULL dentro de imx7d_charger_detection(). Solucione el problema buscando tambi\u00e9n \u0027phys\u0027 en caso de que no se encuentre \u0027fsl,usbphy\u0027. Probado en una placa imx7s-warp.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/usb/chipidea/ci_hdrc_imx.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"746f316b753a83e366bfc5f936cbf0d72d1c2d1d\",\"lessThan\":\"b3265b88e83b16c7be762fa5fb7e0632bce0002c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"746f316b753a83e366bfc5f936cbf0d72d1c2d1d\",\"lessThan\":\"66dd03b10e1c0b2fae006c6e34c18ea8ee033e7b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"746f316b753a83e366bfc5f936cbf0d72d1c2d1d\",\"lessThan\":\"8253a34bfae3278baca52fc1209b7c29270486ca\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/usb/chipidea/ci_hdrc_imx.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.8\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.8\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.73\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.14.12\",\"lessThanOrEqual\":\"5.14.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"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}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-06-11T17:27:34.761405Z\",\"id\":\"CVE-2021-47413\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.8\",\"versionEndExcluding\":\"5.10.73\",\"matchCriteriaId\":\"CF25CE87-2A22-42E7-B959-33757194C123\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.14.12\",\"matchCriteriaId\":\"20EB962C-32DC-448F-A900-BCF9A726F9EB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"E46C74C6-B76B-4C94-A6A4-FD2FFF62D644\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"60134C3A-06E4-48C1-B04F-2903732A4E56\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"0460DA88-8FE1-46A2-9DDA-1F1ABA552E71\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:*\",\"matchCriteriaId\":\"AF55383D-4DF2-45DC-93F7-571F4F978EAB\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/66dd03b10e1c0b2fae006c6e34c18ea8ee033e7b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8253a34bfae3278baca52fc1209b7c29270486ca\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b3265b88e83b16c7be762fa5fb7e0632bce0002c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/66dd03b10e1c0b2fae006c6e34c18ea8ee033e7b\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8253a34bfae3278baca52fc1209b7c29270486ca\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b3265b88e83b16c7be762fa5fb7e0632bce0002c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
"redhat_vex": {
"aggregate_severity": "Low",
"current_release_date": "2025-11-21T14:09:56+00:00",
"cve": "CVE-2021-47413",
"id": "CVE-2021-47413",
"initial_release_date": "2021-01-01T00:00:00+00:00",
"product_status:known_affected": "48",
"product_status:known_not_affected": "150",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: usb: chipidea: ci_hdrc_imx: Also search for \u0027phys\u0027 phandle",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-47413.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-09-11T02:38:28Z",
"cve": "CVE-2021-47413",
"id": "CVE-2021-47413",
"initial_release_date": "2024-05-28T03:34:03Z",
"product_status:known_affected": "269",
"product_status:known_not_affected": "224",
"product_status:recommended": "543",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2021-47413",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2021-47413.json",
"version": "52"
},
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b3265b88e83b16c7be762fa5fb7e0632bce0002c\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/66dd03b10e1c0b2fae006c6e34c18ea8ee033e7b\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/8253a34bfae3278baca52fc1209b7c29270486ca\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:39:59.295Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47413\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-11T17:27:34.761405Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-11T17:27:41.221Z\"}}], \"cna\": {\"title\": \"usb: chipidea: ci_hdrc_imx: Also search for \u0027phys\u0027 phandle\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"746f316b753a83e366bfc5f936cbf0d72d1c2d1d\", \"lessThan\": \"b3265b88e83b16c7be762fa5fb7e0632bce0002c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"746f316b753a83e366bfc5f936cbf0d72d1c2d1d\", \"lessThan\": \"66dd03b10e1c0b2fae006c6e34c18ea8ee033e7b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"746f316b753a83e366bfc5f936cbf0d72d1c2d1d\", \"lessThan\": \"8253a34bfae3278baca52fc1209b7c29270486ca\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/usb/chipidea/ci_hdrc_imx.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.8\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.8\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.73\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.14.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.14.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/usb/chipidea/ci_hdrc_imx.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b3265b88e83b16c7be762fa5fb7e0632bce0002c\"}, {\"url\": \"https://git.kernel.org/stable/c/66dd03b10e1c0b2fae006c6e34c18ea8ee033e7b\"}, {\"url\": \"https://git.kernel.org/stable/c/8253a34bfae3278baca52fc1209b7c29270486ca\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: chipidea: ci_hdrc_imx: Also search for \u0027phys\u0027 phandle\\n\\nWhen passing \u0027phys\u0027 in the devicetree to describe the USB PHY phandle\\n(which is the recommended way according to\\nDocumentation/devicetree/bindings/usb/ci-hdrc-usb2.txt) the\\nfollowing NULL pointer dereference is observed on i.MX7 and i.MX8MM:\\n\\n[ 1.489344] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000098\\n[ 1.498170] Mem abort info:\\n[ 1.500966] ESR = 0x96000044\\n[ 1.504030] EC = 0x25: DABT (current EL), IL = 32 bits\\n[ 1.509356] SET = 0, FnV = 0\\n[ 1.512416] EA = 0, S1PTW = 0\\n[ 1.515569] FSC = 0x04: level 0 translation fault\\n[ 1.520458] Data abort info:\\n[ 1.523349] ISV = 0, ISS = 0x00000044\\n[ 1.527196] CM = 0, WnR = 1\\n[ 1.530176] [0000000000000098] user address but active_mm is swapper\\n[ 1.536544] Internal error: Oops: 96000044 [#1] PREEMPT SMP\\n[ 1.542125] Modules linked in:\\n[ 1.545190] CPU: 3 PID: 7 Comm: kworker/u8:0 Not tainted 5.14.0-dirty #3\\n[ 1.551901] Hardware name: Kontron i.MX8MM N801X S (DT)\\n[ 1.557133] Workqueue: events_unbound deferred_probe_work_func\\n[ 1.562984] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)\\n[ 1.568998] pc : imx7d_charger_detection+0x3f0/0x510\\n[ 1.573973] lr : imx7d_charger_detection+0x22c/0x510\\n\\nThis happens because the charger functions check for the phy presence\\ninside the imx_usbmisc_data structure (data-\u003eusb_phy), but the chipidea\\ncore populates the usb_phy passed via \u0027phys\u0027 inside \u0027struct ci_hdrc\u0027\\n(ci-\u003eusb_phy) instead.\\n\\nThis causes the NULL pointer dereference inside imx7d_charger_detection().\\n\\nFix it by also searching for \u0027phys\u0027 in case \u0027fsl,usbphy\u0027 is not found.\\n\\nTested on a imx7s-warp board.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.73\", \"versionStartIncluding\": \"5.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.14.12\", \"versionStartIncluding\": \"5.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15\", \"versionStartIncluding\": \"5.8\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T07:10:24.640Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2021-47413\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T07:10:24.640Z\", \"dateReserved\": \"2024-05-21T14:58:30.818Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-21T15:04:04.060Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
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…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…