CVE-2022-49308
extcon: Modify extcon device to be created after driver data is set
Mitigation
- Upgrade Linux to 5dcc2afe716d69f5112ce035cb14f007461ff189 or later.
Who should check
- Anyone running Linux >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 6e721f3ad0535b24f19a62420f4da95212cf069c; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < cb81ea998c461868d1168411a867d8ffee12f23f; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < d472c78cc82999d07bd09193a6718016ce9cd386; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < abf3b222614f49f98e606fccdd269161c0d70204; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 368e68ad6da4317fc4170e8d92b51c13d1bfe7a7; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 35ff1ac55d301efb3f467cf5426faaeb3452994b; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 033ec4e7e59ae5e1ef1e8c10bc6552926044ed1c; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 5dcc2afe716d69f5112ce035cb14f007461ff189
- Anyone running Linux 3.5
Vulnerability facts
- Affected
- Linux >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 6e721f3ad0535b24f19a62420f4da95212cf069c; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < cb81ea998c461868d1168411a867d8ffee12f23f; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < d472c78cc82999d07bd09193a6718016ce9cd386; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < abf3b222614f49f98e606fccdd269161c0d70204; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 368e68ad6da4317fc4170e8d92b51c13d1bfe7a7; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 35ff1ac55d301efb3f467cf5426faaeb3452994b; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 033ec4e7e59ae5e1ef1e8c10bc6552926044ed1c; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 5dcc2afe716d69f5112ce035cb14f007461ff189; Linux 3.5
- Fixed in
- Linux 6e721f3ad0535b24f19a62420f4da95212cf069c, Linux 368e68ad6da4317fc4170e8d92b51c13d1bfe7a7, Linux 35ff1ac55d301efb3f467cf5426faaeb3452994b, Linux 033ec4e7e59ae5e1ef1e8c10bc6552926044ed1c, Linux 5dcc2afe716d69f5112ce035cb14f007461ff189
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: extcon: Modify extcon device to be created after driver data is set Currently, someone can invoke the sysfs such as state_show() intermittently before dev_set_drvdata() is done. And it can be a cause of kernel Oops because of edev is Null at that time. So modified the driver registration to after setting drviver data. - Oops's backtrace. Backtrace: [<c067865c>] (state_show) from [<c05222e8>] (dev_attr_show) [<c05222c0>] (dev_attr_show) from [<c02c66e0>] (sysfs_kf_seq_show) [<c02c6648>] (sysfs_kf_seq_show) from [<c02c496c>] (kernfs_seq_show) [<c02c4938>] (kernfs_seq_show) from [<c025e2a0>] (seq_read) [<c025e11c>] (seq_read) from [<c02c50a0>] (kernfs_fop_read) [<c02c5064>] (kernfs_fop_read) from [<c0231cac>] (__vfs_read) [<c0231c5c>] (__vfs_read) from [<c0231ee0>] (vfs_read) [<c0231e34>] (vfs_read) from [<c0232464>] (ksys_read) [<c02323f0>] (ksys_read) from [<c02324fc>] (sys_read) [<c02324e4>] (sys_read) from [<c00091d0>] (__sys_trace_return)
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 6e721f3ad0535b24f19a62420f4da95212cf069c; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < cb81ea998c461868d1168411a867d8ffee12f23f; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < d472c78cc82999d07bd09193a6718016ce9cd386; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < abf3b222614f49f98e606fccdd269161c0d70204; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 368e68ad6da4317fc4170e8d92b51c13d1bfe7a7; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 35ff1ac55d301efb3f467cf5426faaeb3452994b; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 033ec4e7e59ae5e1ef1e8c10bc6552926044ed1c; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 5dcc2afe716d69f5112ce035cb14f007461ff189 | — | cvelist |
| Linux | 3.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49308. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49308.md Affected: Linux >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 6e721f3ad0535b24f19a62420f4da95212cf069c; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < cb81ea998c461868d1168411a867d8ffee12f23f; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < d472c78cc82999d07bd09193a6718016ce9cd386; >= de55d8716ac50a356cea736… Fixed in: Linux 6e721f3ad0535b24f19a62420f4da95212cf069c, Linux 368e68ad6da4317fc4170e8d92b51c13d1bfe7a7, Linux 35ff1ac55d301efb3f467cf5426faaeb3452994b, Linux 033ec4e7e59ae5e1ef1e8c10bc6552926044ed1c, Linux 5dcc2afe716d69f5112ce035cb14f007461ff189 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/6e721f3ad0535b24f19a62420f4da95212cf069c
- https://git.kernel.org/stable/c/cb81ea998c461868d1168411a867d8ffee12f23f
- https://git.kernel.org/stable/c/d472c78cc82999d07bd09193a6718016ce9cd386
- https://git.kernel.org/stable/c/abf3b222614f49f98e606fccdd269161c0d70204
- https://git.kernel.org/stable/c/368e68ad6da4317fc4170e8d92b51c13d1bfe7a7
- https://git.kernel.org/stable/c/35ff1ac55d301efb3f467cf5426faaeb3452994b
- https://git.kernel.org/stable/c/033ec4e7e59ae5e1ef1e8c10bc6552926044ed1c
- https://git.kernel.org/stable/c/5dcc2afe716d69f5112ce035cb14f007461ff189
FAQ
Is CVE-2022-49308 being exploited?
There is no confirmed exploitation: CVE-2022-49308 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49308?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49308?
Linux >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 6e721f3ad0535b24f19a62420f4da95212cf069c; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < cb81ea998c461868d1168411a867d8ffee12f23f; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < d472c78cc82999d07bd09193a6718016ce9cd386; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < abf3b222614f49f98e606fccdd269161c0d70204; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 368e68ad6da4317fc4170e8d92b51c13d1bfe7a7; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 35ff1ac55d301efb3f467cf5426faaeb3452994b; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 033ec4e7e59ae5e1ef1e8c10bc6552926044ed1c; >= de55d8716ac50a356cea736c29bb7db5ac3d0190, < 5dcc2afe716d69f5112ce035cb14f007461ff189; Linux 3.5.
Is there a fix for CVE-2022-49308?
Yes. Fixed in Linux 6e721f3ad0535b24f19a62420f4da95212cf069c, Linux 368e68ad6da4317fc4170e8d92b51c13d1bfe7a7, Linux 35ff1ac55d301efb3f467cf5426faaeb3452994b, Linux 033ec4e7e59ae5e1ef1e8c10bc6552926044ed1c, Linux 5dcc2afe716d69f5112ce035cb14f007461ff189. Upgrade Linux to 5dcc2afe716d69f5112ce035cb14f007461ff189 or later.
How do I check if I'm affected by CVE-2022-49308?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.