CVE-2024-38611CWE-401

CVE-2024-38611

High · published June 19, 2024

CVSS v3.1
7.3
EPSS
0%
Percentile
12.8
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00228 · 12.8th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2024-06-19T18:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 4.11, < 5.10.2365.10.236
linux/linux_kernel≥ 5.11, < 5.15.1805.15.180
linux/linux_kernel≥ 5.16, < 6.1.1336.1.133
linux/linux_kernel≥ 6.2, < 6.6.336.6.33
linux/linux_kernel≥ 6.7, < 6.8.126.8.12
linux/linux_kernel≥ 6.9, < 6.9.36.9.3
References (13)
EPSS history
Timeline
  • 19 JUN 13:56Z
    media: i2c: et8ek8: Don't strip remove function when driver is builtin
    cvelistv5