# CVE-2022-49308: extcon: Modify extcon device to be created after driver data is set

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-02-26T02:10:39.648Z
- **Modified:** 2026-11-05T20:17:03.440Z

## 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

## 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

- Linux: \>= de55d8716ac50a356cea736c29bb7db5ac3d0190, \< 6e721f3ad0535b24f19a62420f4da95212cf069c; \>= de55d8716ac50a356cea736c29bb7db5ac3d0190, \< cb81ea998c461868d1168411a867d8ffee12f23f; \>= de55d8716ac50a356cea736c29bb7db5ac3d0190, \< d472c78cc82999d07bd09193a6718016ce9cd386; \>= de55d8716ac50a356cea736c29bb7db5ac3d0190, \< abf3b222614f49f98e606fccdd269161c0d70204; \>= de55d8716ac50a356cea736c29bb7db5ac3d0190, \< 368e68ad6da4317fc4170e8d92b51c13d1bfe7a7; \>= de55d8716ac50a356cea736c29bb7db5ac3d0190, \< 35ff1ac55d301efb3f467cf5426faaeb3452994b; \>= de55d8716ac50a356cea736c29bb7db5ac3d0190, \< 033ec4e7e59ae5e1ef1e8c10bc6552926044ed1c; \>= de55d8716ac50a356cea736c29bb7db5ac3d0190, \< 5dcc2afe716d69f5112ce035cb14f007461ff189 (cvelist)
- Linux: 3.5 (cvelist)

## Mitigation

- Upgrade Linux to 5dcc2afe716d69f5112ce035cb14f007461ff189 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/6e721f3ad0535b24f19a62420f4da95212cf069c>
- patch: <https://git.kernel.org/stable/c/cb81ea998c461868d1168411a867d8ffee12f23f>
- patch: <https://git.kernel.org/stable/c/d472c78cc82999d07bd09193a6718016ce9cd386>
- patch: <https://git.kernel.org/stable/c/abf3b222614f49f98e606fccdd269161c0d70204>
- patch: <https://git.kernel.org/stable/c/368e68ad6da4317fc4170e8d92b51c13d1bfe7a7>
- patch: <https://git.kernel.org/stable/c/35ff1ac55d301efb3f467cf5426faaeb3452994b>
- patch: <https://git.kernel.org/stable/c/033ec4e7e59ae5e1ef1e8c10bc6552926044ed1c>
- patch: <https://git.kernel.org/stable/c/5dcc2afe716d69f5112ce035cb14f007461ff189>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49308>

HTML: <https://flawdb.com/CVE-2022-49308> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49308>
