# CVE-2024-43900: media: xc2028: avoid use-after-free in load\_firmware\_cb()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **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.32% (percentile 17, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2024-08-26T10:10:58.767Z
- **Modified:** 2026-06-17T07:51:57.413Z

## Who should check

- Anyone running Linux \>= 61a96113de51e1f8f43ac98cbeadb54e60045905, \< ef517bdfc01818419f7bd426969a0c86b14f3e0e; \>= 61a96113de51e1f8f43ac98cbeadb54e60045905, \< 850304152d367f104d21c77cfbcc05806504218b; \>= 61a96113de51e1f8f43ac98cbeadb54e60045905, \< 208deb6d8c3cb8c3acb1f41eb31cf68ea08726d5; \>= 61a96113de51e1f8f43ac98cbeadb54e60045905, \< 68594cec291ff9523b9feb3f43fd853dcddd1f60
- Anyone running Linux 3.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: xc2028: avoid use-after-free in load\_firmware\_cb()

syzkaller reported use-after-free in load\_firmware\_cb() \[1\].
The reason is because the module allocated a struct tuner in tuner\_probe(),
and then the module initialization failed, the struct tuner was released.
A worker which created during module initialization accesses this struct
tuner later, it caused use-after-free.

The process is as follows:

task-6504           worker\_thread
tuner\_probe                             \<= alloc dvb\_frontend \[2\]
...
request\_firmware\_nowait                 \<= create a worker
...
tuner\_remove                            \<= free dvb\_frontend
...
                    request\_firmware\_work\_func  \<= the firmware is ready
                    load\_firmware\_cb    \<= but now the dvb\_frontend has been freed

To fix the issue, check the dvd\_frontend in load\_firmware\_cb(), if it is
null, report a warning and just return.

\[1\]:
    ==================================================================
     BUG: KASAN: use-after-free in load\_firmware\_cb+0x1310/0x17a0
     Read of size 8 at addr ffff8000d7ca2308 by task kworker/2:3/6504

     Call trace:
      load\_firmware\_cb+0x1310/0x17a0
      request\_firmware\_work\_func+0x128/0x220
      process\_one\_work+0x770/0x1824
      worker\_thread+0x488/0xea0
      kthread+0x300/0x430
      ret\_from\_fork+0x10/0x20

     Allocated by task 6504:
      kzalloc
      tuner\_probe+0xb0/0x1430
      i2c\_device\_probe+0x92c/0xaf0
      really\_probe+0x678/0xcd0
      driver\_probe\_device+0x280/0x370
      \_\_device\_attach\_driver+0x220/0x330
      bus\_for\_each\_drv+0x134/0x1c0
      \_\_device\_attach+0x1f4/0x410
      device\_initial\_probe+0x20/0x30
      bus\_probe\_device+0x184/0x200
      device\_add+0x924/0x12c0
      device\_register+0x24/0x30
      i2c\_new\_device+0x4e0/0xc44
      v4l2\_i2c\_new\_subdev\_board+0xbc/0x290
      v4l2\_i2c\_new\_subdev+0xc8/0x104
      em28xx\_v4l2\_init+0x1dd0/0x3770

     Freed by task 6504:
      kfree+0x238/0x4e4
      tuner\_remove+0x144/0x1c0
      i2c\_device\_remove+0xc8/0x290
      \_\_device\_release\_driver+0x314/0x5fc
      device\_release\_driver+0x30/0x44
      bus\_remove\_device+0x244/0x490
      device\_del+0x350/0x900
      device\_unregister+0x28/0xd0
      i2c\_unregister\_device+0x174/0x1d0
      v4l2\_device\_unregister+0x224/0x380
      em28xx\_v4l2\_init+0x1d90/0x3770

     The buggy address belongs to the object at ffff8000d7ca2000
      which belongs to the cache kmalloc-2k of size 2048
     The buggy address is located 776 bytes inside of
      2048-byte region \[ffff8000d7ca2000, ffff8000d7ca2800)
     The buggy address belongs to the page:
     page:ffff7fe00035f280 count:1 mapcount:0 mapping:ffff8000c001f000 index:0x0
     flags: 0x7ff800000000100(slab)
     raw: 07ff800000000100 ffff7fe00049d880 0000000300000003 ffff8000c001f000
     raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000
     page dumped because: kasan: bad access detected

     Memory state around the buggy address:
      ffff8000d7ca2200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
      ffff8000d7ca2280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
     \>ffff8000d7ca2300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                           ^
      ffff8000d7ca2380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
      ffff8000d7ca2400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
     ==================================================================

\[2\]
    Actually, it is allocated for struct tuner, and dvb\_frontend is inside.

## Affected and fixed versions

- Linux: \>= 61a96113de51e1f8f43ac98cbeadb54e60045905, \< ef517bdfc01818419f7bd426969a0c86b14f3e0e; \>= 61a96113de51e1f8f43ac98cbeadb54e60045905, \< 850304152d367f104d21c77cfbcc05806504218b; \>= 61a96113de51e1f8f43ac98cbeadb54e60045905, \< 208deb6d8c3cb8c3acb1f41eb31cf68ea08726d5; \>= 61a96113de51e1f8f43ac98cbeadb54e60045905, \< 68594cec291ff9523b9feb3f43fd853dcddd1f60 (cvelist)
- Linux: 3.6 (cvelist)

## Mitigation

- Upgrade Linux to 68594cec291ff9523b9feb3f43fd853dcddd1f60 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-43900. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-43900.md
Affected: Linux >= 61a96113de51e1f8f43ac98cbeadb54e60045905, < ef517bdfc01818419f7bd426969a0c86b14f3e0e; >= 61a96113de51e1f8f43ac98cbeadb54e60045905, < 850304152d367f104d21c77cfbcc05806504218b; >= 61a96113de51e1f8f43ac98cbeadb54e60045905, < 208deb6d8c3cb8c3acb1f41eb31cf68ea08726d5; >= 61a96113de51e1f8f43ac98…
Fixed in: Linux 850304152d367f104d21c77cfbcc05806504218b, Linux 208deb6d8c3cb8c3acb1f41eb31cf68ea08726d5, Linux 68594cec291ff9523b9feb3f43fd853dcddd1f60

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-2024-43900 being exploited?

There is no confirmed exploitation: CVE-2024-43900 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-43900?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-43900?

Linux \>= 61a96113de51e1f8f43ac98cbeadb54e60045905, \< ef517bdfc01818419f7bd426969a0c86b14f3e0e; \>= 61a96113de51e1f8f43ac98cbeadb54e60045905, \< 850304152d367f104d21c77cfbcc05806504218b; \>= 61a96113de51e1f8f43ac98cbeadb54e60045905, \< 208deb6d8c3cb8c3acb1f41eb31cf68ea08726d5; \>= 61a96113de51e1f8f43ac98cbeadb54e60045905, \< 68594cec291ff9523b9feb3f43fd853dcddd1f60; Linux 3.6.

### Is there a fix for CVE-2024-43900?

Yes. Fixed in Linux 850304152d367f104d21c77cfbcc05806504218b, Linux 208deb6d8c3cb8c3acb1f41eb31cf68ea08726d5, Linux 68594cec291ff9523b9feb3f43fd853dcddd1f60. Upgrade Linux to 68594cec291ff9523b9feb3f43fd853dcddd1f60 or later.

### How do I check if I'm affected by CVE-2024-43900?

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/ef517bdfc01818419f7bd426969a0c86b14f3e0e>
- patch: <https://git.kernel.org/stable/c/850304152d367f104d21c77cfbcc05806504218b>
- patch: <https://git.kernel.org/stable/c/208deb6d8c3cb8c3acb1f41eb31cf68ea08726d5>
- patch: <https://git.kernel.org/stable/c/68594cec291ff9523b9feb3f43fd853dcddd1f60>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

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

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