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

- Severity: High 7.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-06-19T13:56:12.742Z
- Modified: 2026-08-05T11:33:10.211Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from c5254e72b8edc2ca0a98703e92e8c34959343d2c before 963523600d9f1e36bc35ba774c2493d6baa4dd8f; from c5254e72b8edc2ca0a98703e92e8c34959343d2c before ece3fc1c10197052044048bea4f13cfdcf25b416; from c5254e72b8edc2ca0a98703e92e8c34959343d2c before 04d1086a62ac492ebb6bb0c94c1c8cb55f5d1f36; from c5254e72b8edc2ca0a98703e92e8c34959343d2c before c1a3803e5bb91c13e9ad582003e4288f67f06cd9; from c5254e72b8edc2ca0a98703e92e8c34959343d2c before 43fff07e4b1956d0e5cf23717507e438278ea3d9; from c5254e72b8edc2ca0a98703e92e8c34959343d2c before 904db2ba44ae60641b6378c5013254d09acf5e80; from c5254e72b8edc2ca0a98703e92e8c34959343d2c before 545b215736c5c4b354e182d99c578a472ac9bfce; 4.11 (not affected: before 4.11; from 5.10.236 up to 5.10.*; from 5.15.180 up to 5.15.*; from 6.1.133 up to 6.1.*; from 6.6.33 up to 6.6.*; from 6.8.12 up to 6.8.*; from 6.9.3 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 4.11 before 5.10.236; from 5.11 before 5.15.180; from 5.16 before 6.1.133; from 6.2 before 6.6.33; from 6.7 before 6.8.12; from 6.9 before 6.9.3

## Every score

- Linux: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## Sources

- CVE List: [CVE-2024-38611](https://www.cve.org/CVERecord?id=CVE-2024-38611), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-38611](https://nvd.nist.gov/vuln/detail/CVE-2024-38611), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-38611 · Whole record: https://cve.day/CVE-2024-38611.json · Rebuilt by cve.day 2026-11-25T22:58:42.045Z
