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

Published Jun 19, 2024
·
Updated

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 CONFIGVIDEOET8EK8=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: et8ek8i2cdriver+0x10 (section: .data) -> et8ek8remove (section: .exit.text)

Affected Software

10 affected componentsFixes available
Linux Linux kernel>=4.11<5.10.236
Linux Linux kernel>=5.11<5.15.180
Linux Linux kernel>=5.16<6.1.133
Linux Linux kernel>=6.2<6.6.33
Linux Linux kernel>=6.7<6.8.12
Linux Linux kernel>=6.9<6.9.3
debian/linux<6.1.133-1
6.1.133-1
debian/linux<6.8.12-1
6.8.12-1
debian/linux<6.8.12-1
6.8.12-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Compensating control

    For the affected Linux kernel driver media/i2c/et8ek8, ensure the remove callback is not stripped/discarded when the driver is builtin (CONFIG_VIDEO_ET8EK8=y) by compiling in the remove callback unconditionally.

Event History

Jun 19, 2024
CVE Published
via MITRE·01:56 PM
Data Sourced
via MITRE·01:56 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-38611?

CVE-2024-38611 is classified with a medium severity level due to potential impacts on device functionality when the remove function is improperly discarded.

2

How do I fix CVE-2024-38611?

To fix CVE-2024-38611, upgrade the Linux kernel to version 6.12.12-1 or later.

3

Which Linux kernel versions are affected by CVE-2024-38611?

CVE-2024-38611 affects Linux kernel versions up to 5.10.226-1 and 6.1.128-1.

4

Is there a workaround for CVE-2024-38611?

There are no specific workarounds for CVE-2024-38611; the recommended solution is to apply the necessary kernel updates.

5

What component of the Linux kernel is impacted by CVE-2024-38611?

CVE-2024-38611 impacts the media: i2c: et8ek8 driver component within the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203