# CVE-2024-38611: media: i2c: et8ek8: Don't strip remove function when driver is builtin

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

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: Required; 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.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-06-19T13:56:12.742Z
- **Modified:** 2026-08-05T11:33:10.211Z

## Who should check

- Anyone running Linux \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 963523600d9f1e36bc35ba774c2493d6baa4dd8f; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< ece3fc1c10197052044048bea4f13cfdcf25b416; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 04d1086a62ac492ebb6bb0c94c1c8cb55f5d1f36; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< c1a3803e5bb91c13e9ad582003e4288f67f06cd9; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 43fff07e4b1956d0e5cf23717507e438278ea3d9; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 904db2ba44ae60641b6378c5013254d09acf5e80; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 545b215736c5c4b354e182d99c578a472ac9bfce
- Anyone running Linux 4.11

## Description

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

media: i2c: et8ek8: Don't strip remove function when driver is builtin

Using \_\_exit for the remove function results in the remove callback
being discarded with CONFIG\_VIDEO\_ET8EK8=y. When such a device gets
unbound (e.g. using sysfs or hotplug), the driver is just removed
without the cleanup being performed. This results in resource leaks. Fix
it by compiling in the remove callback unconditionally.

This also fixes a W=1 modpost warning:

	WARNING: modpost: drivers/media/i2c/et8ek8/et8ek8: section mismatch in reference: et8ek8\_i2c\_driver+0x10 (section: .data) -\> et8ek8\_remove (section: .exit.text)

## Affected and fixed versions

- Linux: \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 963523600d9f1e36bc35ba774c2493d6baa4dd8f; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< ece3fc1c10197052044048bea4f13cfdcf25b416; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 04d1086a62ac492ebb6bb0c94c1c8cb55f5d1f36; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< c1a3803e5bb91c13e9ad582003e4288f67f06cd9; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 43fff07e4b1956d0e5cf23717507e438278ea3d9; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 904db2ba44ae60641b6378c5013254d09acf5e80; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 545b215736c5c4b354e182d99c578a472ac9bfce (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- Upgrade Linux to 545b215736c5c4b354e182d99c578a472ac9bfce 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-38611. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-38611.md
Affected: Linux >= c5254e72b8edc2ca0a98703e92e8c34959343d2c, < 963523600d9f1e36bc35ba774c2493d6baa4dd8f; >= c5254e72b8edc2ca0a98703e92e8c34959343d2c, < ece3fc1c10197052044048bea4f13cfdcf25b416; >= c5254e72b8edc2ca0a98703e92e8c34959343d2c, < 04d1086a62ac492ebb6bb0c94c1c8cb55f5d1f36; >= c5254e72b8edc2ca0a98703…
Fixed in: Linux 963523600d9f1e36bc35ba774c2493d6baa4dd8f, Linux 04d1086a62ac492ebb6bb0c94c1c8cb55f5d1f36, Linux 43fff07e4b1956d0e5cf23717507e438278ea3d9, Linux 904db2ba44ae60641b6378c5013254d09acf5e80, Linux 545b215736c5c4b354e182d99c578a472ac9bfce

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-38611 being exploited?

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

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

High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

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

Linux \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 963523600d9f1e36bc35ba774c2493d6baa4dd8f; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< ece3fc1c10197052044048bea4f13cfdcf25b416; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 04d1086a62ac492ebb6bb0c94c1c8cb55f5d1f36; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< c1a3803e5bb91c13e9ad582003e4288f67f06cd9; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 43fff07e4b1956d0e5cf23717507e438278ea3d9; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 904db2ba44ae60641b6378c5013254d09acf5e80; \>= c5254e72b8edc2ca0a98703e92e8c34959343d2c, \< 545b215736c5c4b354e182d99c578a472ac9bfce; Linux 4.11.

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

Yes. Fixed in Linux 963523600d9f1e36bc35ba774c2493d6baa4dd8f, Linux 04d1086a62ac492ebb6bb0c94c1c8cb55f5d1f36, Linux 43fff07e4b1956d0e5cf23717507e438278ea3d9, Linux 904db2ba44ae60641b6378c5013254d09acf5e80, Linux 545b215736c5c4b354e182d99c578a472ac9bfce. Upgrade Linux to 545b215736c5c4b354e182d99c578a472ac9bfce or later.

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

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/963523600d9f1e36bc35ba774c2493d6baa4dd8f>
- patch: <https://git.kernel.org/stable/c/ece3fc1c10197052044048bea4f13cfdcf25b416>
- patch: <https://git.kernel.org/stable/c/04d1086a62ac492ebb6bb0c94c1c8cb55f5d1f36>
- patch: <https://git.kernel.org/stable/c/c1a3803e5bb91c13e9ad582003e4288f67f06cd9>
- patch: <https://git.kernel.org/stable/c/43fff07e4b1956d0e5cf23717507e438278ea3d9>
- patch: <https://git.kernel.org/stable/c/904db2ba44ae60641b6378c5013254d09acf5e80>
- patch: <https://git.kernel.org/stable/c/545b215736c5c4b354e182d99c578a472ac9bfce>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.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-38611>

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