CVE-2022-50340
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2022
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
media: vimc: Fix wrong function called when vimc_init() fails
In the Linux kernel, the following vulnerability has been resolved: media: vimc: Fix wrong function called when vimc_init() fails In vimc_init(), when platform_driver_register(&vimc_pdrv) fails, platform_driver_unregister(&vimc_pdrv) is wrongly called rather than platform_device_unregister(&vimc_pdev), which causes kernel warning: Unexpected driver unregister! WARNING: CPU: 1 PID: 14517 at drivers/base/driver.c:270 driver_unregister+0x8f/0xb0 RIP: 0010:driver_unregister+0x8f/0xb0 Call Trace: <TASK> vimc_init+0x7d/0x1000 [vimc] do_one_initcall+0xd0/0x4e0 do_init_module+0x1cf/0x6b0 load_module+0x65c2/0x7820
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 4a29b70907496aa9da79112ec31cf9cf2b972c3f | affected | git | 14d85b600bb1f6f8ef61fa8fc1907e2e623d8350 | Unavailable | None listed |
| 4a29b70907496aa9da79112ec31cf9cf2b972c3f | affected | git | 9c9ff35d68691aaea85b2e93763772e23930b3a3 | Unavailable | None listed |
| 4a29b70907496aa9da79112ec31cf9cf2b972c3f | affected | git | 681ac2902039d9b497b3ae18fdc204314979e61e | Unavailable | None listed |
| 4a29b70907496aa9da79112ec31cf9cf2b972c3f | affected | git | f38df8984ef1b45ba23888d0e232cc21a95bd04b | Unavailable | None listed |
| 4a29b70907496aa9da79112ec31cf9cf2b972c3f | affected | git | f74d3f326d1d5b8951ce263c59a121ecfa65e7c0 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 4.13 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 4.13 | Unavailable | None listed |
| 5.10.163 | unaffected | semver | Unavailable | 5.10.* | None listed |
| 5.15.86 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.0.16 | unaffected | semver | Unavailable | 6.0.* | None listed |
| 6.1.2 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.2 | unaffected | original_commit_for_fix | Unavailable | * | None listed |