CVE-2022-50412 (GCVE-0-2022-50412)
Vulnerability from cvelistv5 – Published: 2025-09-18 16:03 – Updated: 2026-01-14 19:13
VLAI?
Title
drm: bridge: adv7511: unregister cec i2c device after cec adapter
Summary
In the Linux kernel, the following vulnerability has been resolved:
drm: bridge: adv7511: unregister cec i2c device after cec adapter
cec_unregister_adapter() assumes that the underlying adapter ops are
callable. For example, if the CEC adapter currently has a valid physical
address, then the unregistration procedure will invalidate the physical
address by setting it to f.f.f.f. Whence the following kernel oops
observed after removing the adv7511 module:
Unable to handle kernel execution of user memory at virtual address 0000000000000000
Internal error: Oops: 86000004 [#1] PREEMPT_RT SMP
Call trace:
0x0
adv7511_cec_adap_log_addr+0x1ac/0x1c8 [adv7511]
cec_adap_unconfigure+0x44/0x90 [cec]
__cec_s_phys_addr.part.0+0x68/0x230 [cec]
__cec_s_phys_addr+0x40/0x50 [cec]
cec_unregister_adapter+0xb4/0x118 [cec]
adv7511_remove+0x60/0x90 [adv7511]
i2c_device_remove+0x34/0xe0
device_release_driver_internal+0x114/0x1f0
driver_detach+0x54/0xe0
bus_remove_driver+0x60/0xd8
driver_unregister+0x34/0x60
i2c_del_driver+0x2c/0x68
adv7511_exit+0x1c/0x67c [adv7511]
__arm64_sys_delete_module+0x154/0x288
invoke_syscall+0x48/0x100
el0_svc_common.constprop.0+0x48/0xe8
do_el0_svc+0x28/0x88
el0_svc+0x1c/0x50
el0t_64_sync_handler+0xa8/0xb0
el0t_64_sync+0x15c/0x160
Code: bad PC value
---[ end trace 0000000000000000 ]---
Protect against this scenario by unregistering i2c_cec after
unregistering the CEC adapter. Duly disable the CEC clock afterwards
too.
Severity ?
7.8 (High)
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Affected:
3b1b975003e4a3da4b93ab032487a3ae4afca7b5 , < 3747465c5da7a11957a34bbb9485d9fc253b91cc
(git)
Affected: 3b1b975003e4a3da4b93ab032487a3ae4afca7b5 , < f369fb4deed7ab997cfa703dc85ec08b3adc1af8 (git) Affected: 3b1b975003e4a3da4b93ab032487a3ae4afca7b5 , < 4d4d5bc659206b187263190ad9a03513f625659d (git) Affected: 3b1b975003e4a3da4b93ab032487a3ae4afca7b5 , < 86ae5170786aea3e1751123ca55700fb9b37b623 (git) Affected: 3b1b975003e4a3da4b93ab032487a3ae4afca7b5 , < 40cdb02cb9f965732eb543d47f15bef8d10f0f5f (git) |
||
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"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"
}
},
{
"other": {
"content": {
"id": "CVE-2022-50412",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-01-14T19:09:15.618187Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "CWE-noinfo Not enough information",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-01-14T19:13:09.192Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/bridge/adv7511/adv7511_drv.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "3747465c5da7a11957a34bbb9485d9fc253b91cc",
"status": "affected",
"version": "3b1b975003e4a3da4b93ab032487a3ae4afca7b5",
"versionType": "git"
},
{
"lessThan": "f369fb4deed7ab997cfa703dc85ec08b3adc1af8",
"status": "affected",
"version": "3b1b975003e4a3da4b93ab032487a3ae4afca7b5",
"versionType": "git"
},
{
"lessThan": "4d4d5bc659206b187263190ad9a03513f625659d",
"status": "affected",
"version": "3b1b975003e4a3da4b93ab032487a3ae4afca7b5",
"versionType": "git"
},
{
"lessThan": "86ae5170786aea3e1751123ca55700fb9b37b623",
"status": "affected",
"version": "3b1b975003e4a3da4b93ab032487a3ae4afca7b5",
"versionType": "git"
},
{
"lessThan": "40cdb02cb9f965732eb543d47f15bef8d10f0f5f",
"status": "affected",
"version": "3b1b975003e4a3da4b93ab032487a3ae4afca7b5",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/bridge/adv7511/adv7511_drv.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.15"
},
{
"lessThan": "4.15",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.234",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.75",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.19.*",
"status": "unaffected",
"version": "5.19.17",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"version": "6.0.3",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.234",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.75",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.19.17",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.0.3",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1",
"versionStartIncluding": "4.15",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: bridge: adv7511: unregister cec i2c device after cec adapter\n\ncec_unregister_adapter() assumes that the underlying adapter ops are\ncallable. For example, if the CEC adapter currently has a valid physical\naddress, then the unregistration procedure will invalidate the physical\naddress by setting it to f.f.f.f. Whence the following kernel oops\nobserved after removing the adv7511 module:\n\n Unable to handle kernel execution of user memory at virtual address 0000000000000000\n Internal error: Oops: 86000004 [#1] PREEMPT_RT SMP\n Call trace:\n 0x0\n adv7511_cec_adap_log_addr+0x1ac/0x1c8 [adv7511]\n cec_adap_unconfigure+0x44/0x90 [cec]\n __cec_s_phys_addr.part.0+0x68/0x230 [cec]\n __cec_s_phys_addr+0x40/0x50 [cec]\n cec_unregister_adapter+0xb4/0x118 [cec]\n adv7511_remove+0x60/0x90 [adv7511]\n i2c_device_remove+0x34/0xe0\n device_release_driver_internal+0x114/0x1f0\n driver_detach+0x54/0xe0\n bus_remove_driver+0x60/0xd8\n driver_unregister+0x34/0x60\n i2c_del_driver+0x2c/0x68\n adv7511_exit+0x1c/0x67c [adv7511]\n __arm64_sys_delete_module+0x154/0x288\n invoke_syscall+0x48/0x100\n el0_svc_common.constprop.0+0x48/0xe8\n do_el0_svc+0x28/0x88\n el0_svc+0x1c/0x50\n el0t_64_sync_handler+0xa8/0xb0\n el0t_64_sync+0x15c/0x160\n Code: bad PC value\n ---[ end trace 0000000000000000 ]---\n\nProtect against this scenario by unregistering i2c_cec after\nunregistering the CEC adapter. Duly disable the CEC clock afterwards\ntoo."
}
],
"providerMetadata": {
"dateUpdated": "2025-09-18T16:03:56.159Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/3747465c5da7a11957a34bbb9485d9fc253b91cc"
},
{
"url": "https://git.kernel.org/stable/c/f369fb4deed7ab997cfa703dc85ec08b3adc1af8"
},
{
"url": "https://git.kernel.org/stable/c/4d4d5bc659206b187263190ad9a03513f625659d"
},
{
"url": "https://git.kernel.org/stable/c/86ae5170786aea3e1751123ca55700fb9b37b623"
},
{
"url": "https://git.kernel.org/stable/c/40cdb02cb9f965732eb543d47f15bef8d10f0f5f"
}
],
"title": "drm: bridge: adv7511: unregister cec i2c device after cec adapter",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-50412",
"datePublished": "2025-09-18T16:03:56.159Z",
"dateReserved": "2025-09-17T14:53:07.002Z",
"dateUpdated": "2026-01-14T19:13:09.192Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.8, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-50412\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-01-14T19:09:15.618187Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"description\": \"CWE-noinfo Not enough information\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-01-14T19:09:11.023Z\"}}], \"cna\": {\"title\": \"drm: bridge: adv7511: unregister cec i2c device after cec adapter\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3b1b975003e4a3da4b93ab032487a3ae4afca7b5\", \"lessThan\": \"3747465c5da7a11957a34bbb9485d9fc253b91cc\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3b1b975003e4a3da4b93ab032487a3ae4afca7b5\", \"lessThan\": \"f369fb4deed7ab997cfa703dc85ec08b3adc1af8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3b1b975003e4a3da4b93ab032487a3ae4afca7b5\", \"lessThan\": \"4d4d5bc659206b187263190ad9a03513f625659d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3b1b975003e4a3da4b93ab032487a3ae4afca7b5\", \"lessThan\": \"86ae5170786aea3e1751123ca55700fb9b37b623\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3b1b975003e4a3da4b93ab032487a3ae4afca7b5\", \"lessThan\": \"40cdb02cb9f965732eb543d47f15bef8d10f0f5f\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/gpu/drm/bridge/adv7511/adv7511_drv.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.15\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.15\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.234\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.75\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.19.17\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.19.*\"}, {\"status\": \"unaffected\", \"version\": \"6.0.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.0.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/gpu/drm/bridge/adv7511/adv7511_drv.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/3747465c5da7a11957a34bbb9485d9fc253b91cc\"}, {\"url\": \"https://git.kernel.org/stable/c/f369fb4deed7ab997cfa703dc85ec08b3adc1af8\"}, {\"url\": \"https://git.kernel.org/stable/c/4d4d5bc659206b187263190ad9a03513f625659d\"}, {\"url\": \"https://git.kernel.org/stable/c/86ae5170786aea3e1751123ca55700fb9b37b623\"}, {\"url\": \"https://git.kernel.org/stable/c/40cdb02cb9f965732eb543d47f15bef8d10f0f5f\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm: bridge: adv7511: unregister cec i2c device after cec adapter\\n\\ncec_unregister_adapter() assumes that the underlying adapter ops are\\ncallable. For example, if the CEC adapter currently has a valid physical\\naddress, then the unregistration procedure will invalidate the physical\\naddress by setting it to f.f.f.f. Whence the following kernel oops\\nobserved after removing the adv7511 module:\\n\\n Unable to handle kernel execution of user memory at virtual address 0000000000000000\\n Internal error: Oops: 86000004 [#1] PREEMPT_RT SMP\\n Call trace:\\n 0x0\\n adv7511_cec_adap_log_addr+0x1ac/0x1c8 [adv7511]\\n cec_adap_unconfigure+0x44/0x90 [cec]\\n __cec_s_phys_addr.part.0+0x68/0x230 [cec]\\n __cec_s_phys_addr+0x40/0x50 [cec]\\n cec_unregister_adapter+0xb4/0x118 [cec]\\n adv7511_remove+0x60/0x90 [adv7511]\\n i2c_device_remove+0x34/0xe0\\n device_release_driver_internal+0x114/0x1f0\\n driver_detach+0x54/0xe0\\n bus_remove_driver+0x60/0xd8\\n driver_unregister+0x34/0x60\\n i2c_del_driver+0x2c/0x68\\n adv7511_exit+0x1c/0x67c [adv7511]\\n __arm64_sys_delete_module+0x154/0x288\\n invoke_syscall+0x48/0x100\\n el0_svc_common.constprop.0+0x48/0xe8\\n do_el0_svc+0x28/0x88\\n el0_svc+0x1c/0x50\\n el0t_64_sync_handler+0xa8/0xb0\\n el0t_64_sync+0x15c/0x160\\n Code: bad PC value\\n ---[ end trace 0000000000000000 ]---\\n\\nProtect against this scenario by unregistering i2c_cec after\\nunregistering the CEC adapter. Duly disable the CEC clock afterwards\\ntoo.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.234\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.75\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.19.17\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.0.3\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1\", \"versionStartIncluding\": \"4.15\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-09-18T16:03:56.159Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2022-50412\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-01-14T19:13:09.192Z\", \"dateReserved\": \"2025-09-17T14:53:07.002Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-09-18T16:03:56.159Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
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…