CVE-2022-49524
media: pci: cx23885: Fix the error handling in cx23885_initdev()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 6041d1a0365baa729b6adfb6ed5386d9388018db; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 7b9978e1c94e569d65a0e7e719abb9340f5db4a0; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < fa636e9ee4442215cd9a2e079cd5a8e1fe0cb8ba; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < ca17e7a532d1a55466cc007b3f4d319541a27493; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 98106f100f50c487469903b9cf6d966785fc9cc3; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 86bd6a579c6c60547706cabf299cd2c9feab3332; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 453514a874c78df1e7804e6e3aaa60c8d8deb6a8; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < e8123311cf06d7dae71e8c5fe78e0510d20cd30b
- Anyone running Linux 4.8
Vulnerability facts
- Affected
- Linux >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 6041d1a0365baa729b6adfb6ed5386d9388018db; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 7b9978e1c94e569d65a0e7e719abb9340f5db4a0; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < fa636e9ee4442215cd9a2e079cd5a8e1fe0cb8ba; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < ca17e7a532d1a55466cc007b3f4d319541a27493; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 98106f100f50c487469903b9cf6d966785fc9cc3; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 86bd6a579c6c60547706cabf299cd2c9feab3332; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 453514a874c78df1e7804e6e3aaa60c8d8deb6a8; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < e8123311cf06d7dae71e8c5fe78e0510d20cd30b; Linux 4.8
- Fixed in
- Linux 6041d1a0365baa729b6adfb6ed5386d9388018db, Linux 7b9978e1c94e569d65a0e7e719abb9340f5db4a0, Linux 98106f100f50c487469903b9cf6d966785fc9cc3, Linux 86bd6a579c6c60547706cabf299cd2c9feab3332, Linux 453514a874c78df1e7804e6e3aaa60c8d8deb6a8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: media: pci: cx23885: Fix the error handling in cx23885_initdev() When the driver fails to call the dma_set_mask(), the driver will get the following splat: [ 55.853884] BUG: KASAN: use-after-free in __process_removed_driver+0x3c/0x240 [ 55.854486] Read of size 8 at addr ffff88810de60408 by task modprobe/590 [ 55.856822] Call Trace: [ 55.860327] __process_removed_driver+0x3c/0x240 [ 55.861347] bus_for_each_dev+0x102/0x160 [ 55.861681] i2c_del_driver+0x2f/0x50 This is because the driver has initialized the i2c related resources in cx23885_dev_setup() but not released them in error handling, fix this bug by modifying the error path that jumps after failing to call the dma_set_mask().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 6041d1a0365baa729b6adfb6ed5386d9388018db; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 7b9978e1c94e569d65a0e7e719abb9340f5db4a0; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < fa636e9ee4442215cd9a2e079cd5a8e1fe0cb8ba; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < ca17e7a532d1a55466cc007b3f4d319541a27493; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 98106f100f50c487469903b9cf6d966785fc9cc3; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 86bd6a579c6c60547706cabf299cd2c9feab3332; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 453514a874c78df1e7804e6e3aaa60c8d8deb6a8; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < e8123311cf06d7dae71e8c5fe78e0510d20cd30b | — | cvelist |
| Linux | 4.8 | — | 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-49524. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49524.md Affected: Linux >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 6041d1a0365baa729b6adfb6ed5386d9388018db; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 7b9978e1c94e569d65a0e7e719abb9340f5db4a0; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < fa636e9ee4442215cd9a2e079cd5a8e1fe0cb8ba; >= 2bc46b3ad3c15165f91459b… Fixed in: Linux 6041d1a0365baa729b6adfb6ed5386d9388018db, Linux 7b9978e1c94e569d65a0e7e719abb9340f5db4a0, Linux 98106f100f50c487469903b9cf6d966785fc9cc3, Linux 86bd6a579c6c60547706cabf299cd2c9feab3332, Linux 453514a874c78df1e7804e6e3aaa60c8d8deb6a8 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/6041d1a0365baa729b6adfb6ed5386d9388018db
- https://git.kernel.org/stable/c/7b9978e1c94e569d65a0e7e719abb9340f5db4a0
- https://git.kernel.org/stable/c/fa636e9ee4442215cd9a2e079cd5a8e1fe0cb8ba
- https://git.kernel.org/stable/c/ca17e7a532d1a55466cc007b3f4d319541a27493
- https://git.kernel.org/stable/c/98106f100f50c487469903b9cf6d966785fc9cc3
- https://git.kernel.org/stable/c/86bd6a579c6c60547706cabf299cd2c9feab3332
- https://git.kernel.org/stable/c/453514a874c78df1e7804e6e3aaa60c8d8deb6a8
- https://git.kernel.org/stable/c/e8123311cf06d7dae71e8c5fe78e0510d20cd30b
FAQ
Is CVE-2022-49524 being exploited?
There is no confirmed exploitation: CVE-2022-49524 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49524?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49524?
Linux >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 6041d1a0365baa729b6adfb6ed5386d9388018db; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 7b9978e1c94e569d65a0e7e719abb9340f5db4a0; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < fa636e9ee4442215cd9a2e079cd5a8e1fe0cb8ba; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < ca17e7a532d1a55466cc007b3f4d319541a27493; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 98106f100f50c487469903b9cf6d966785fc9cc3; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 86bd6a579c6c60547706cabf299cd2c9feab3332; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < 453514a874c78df1e7804e6e3aaa60c8d8deb6a8; >= 2bc46b3ad3c15165f91459b07ff8682478683194, < e8123311cf06d7dae71e8c5fe78e0510d20cd30b; Linux 4.8.
Is there a fix for CVE-2022-49524?
Yes. Fixed in Linux 6041d1a0365baa729b6adfb6ed5386d9388018db, Linux 7b9978e1c94e569d65a0e7e719abb9340f5db4a0, Linux 98106f100f50c487469903b9cf6d966785fc9cc3, Linux 86bd6a579c6c60547706cabf299cd2c9feab3332, Linux 453514a874c78df1e7804e6e3aaa60c8d8deb6a8. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49524?
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.