lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024061921-CVE-2024-38611-bb0f@gregkh>
Date: Wed, 19 Jun 2024 15:56:24 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-38611: media: i2c: et8ek8: Don't strip remove function when driver is builtin

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)

The Linux kernel CVE team has assigned CVE-2024-38611 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 4.11 with commit c5254e72b8ed and fixed in 6.6.33 with commit c1a3803e5bb9
	Issue introduced in 4.11 with commit c5254e72b8ed and fixed in 6.8.12 with commit 43fff07e4b19
	Issue introduced in 4.11 with commit c5254e72b8ed and fixed in 6.9.3 with commit 904db2ba44ae
	Issue introduced in 4.11 with commit c5254e72b8ed and fixed in 6.10-rc1 with commit 545b215736c5

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2024-38611
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/media/i2c/et8ek8/et8ek8_driver.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/c1a3803e5bb91c13e9ad582003e4288f67f06cd9
	https://git.kernel.org/stable/c/43fff07e4b1956d0e5cf23717507e438278ea3d9
	https://git.kernel.org/stable/c/904db2ba44ae60641b6378c5013254d09acf5e80
	https://git.kernel.org/stable/c/545b215736c5c4b354e182d99c578a472ac9bfce

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ