CVE-2024-38611
media: i2c: et8ek8: Don't strip remove function when driver is builtin
Check your servers for CVE-2024-38611
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-38611 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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)
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c5254e72b8edc2ca0a98703e92e8c34959343d2c, before 963523600d9f1e36bc35ba774c2493d6baa4dd8f affected from c5254e72b8edc2ca0a98703e92e8c34959343d2c, before ece3fc1c10197052044048bea4f13cfdcf25b416 affected from c5254e72b8edc2ca0a98703e92e8c34959343d2c, before 04d1086a62ac492ebb6bb0c94c1c8cb55f5d1f36 affected from c5254e72b8edc2ca0a98703e92e8c34959343d2c, before c1a3803e5bb91c13e9ad582003e4288f67f06cd9 affected from c5254e72b8edc2ca0a98703e92e8c34959343d2c, before 43fff07e4b1956d0e5cf23717507e438278ea3d9 affected from c5254e72b8edc2ca0a98703e92e8c34959343d2c, before 904db2ba44ae60641b6378c5013254d09acf5e80 affected from c5254e72b8edc2ca0a98703e92e8c34959343d2c, before 545b215736c5c4b354e182d99c578a472ac9bfce
Other versions: unaffected
|
| Linux |
affected 4.11 unaffected before 4.11 unaffected from 5.10.236 up to and including 5.10.* unaffected from 5.15.180 up to and including 5.15.* unaffected from 6.1.133 up to and including 6.1.* unaffected from 6.6.33 up to and including 6.6.* unaffected from 6.8.12 up to and including 6.8.* unaffected from 6.9.3 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-38611 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-38611
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-38611
trivy image --scanners vuln IMAGE | grep CVE-2024-38611
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/963523600d9f1e36bc35ba774c2493d6baa4dd8f git.kernel.org
- https://git.kernel.org/stable/c/ece3fc1c10197052044048bea4f13cfdcf25b416 git.kernel.org
- https://git.kernel.org/stable/c/04d1086a62ac492ebb6bb0c94c1c8cb55f5d1f36 git.kernel.org
- https://git.kernel.org/stable/c/c1a3803e5bb91c13e9ad582003e4288f67f06cd9 git.kernel.org
- https://git.kernel.org/stable/c/43fff07e4b1956d0e5cf23717507e438278ea3d9 git.kernel.org
- https://git.kernel.org/stable/c/904db2ba44ae60641b6378c5013254d09acf5e80 git.kernel.org
- https://git.kernel.org/stable/c/545b215736c5c4b354e182d99c578a472ac9bfce git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
Source: the record CVE-2024-38611 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse