CVE-2024-26978
"Max310x I2C NULL Pointer Dereference in Linux Kernel"
Description
In the Linux kernel, the following vulnerability has been resolved: serial: max310x: fix NULL pointer dereference in I2C instantiation When trying to instantiate a max14830 device from userspace: echo max14830 0x60 > /sys/bus/i2c/devices/i2c-2/new_device we get the following error: Unable to handle kernel NULL pointer dereference at virtual address... ... Call trace: max310x_i2c_probe+0x48/0x170 [max310x] i2c_device_probe+0x150/0x2a0 ... Add check for validity of devtype to prevent the error, and abort probe with a meaningful error message.
INFO
Published Date :
May 1, 2024, 6:15 a.m.
Last Modified :
July 3, 2024, 1:50 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-26978
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-26978
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-26978
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 03, 2024
Action Type Old Value New Value Added CWE CISA-ADP CWE-476 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
May. 23, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/0d27056c24efd3d63a03f3edfbcfc4827086b110 No Types Assigned https://git.kernel.org/stable/c/0d27056c24efd3d63a03f3edfbcfc4827086b110 Patch Changed Reference Type https://git.kernel.org/stable/c/12609c76b755dbeb1645c0aacc0f0f4743b2eff3 No Types Assigned https://git.kernel.org/stable/c/12609c76b755dbeb1645c0aacc0f0f4743b2eff3 Patch Changed Reference Type https://git.kernel.org/stable/c/2160ad6861c4a21d3fa553d7b2aaec6634a37f8a No Types Assigned https://git.kernel.org/stable/c/2160ad6861c4a21d3fa553d7b2aaec6634a37f8a Patch Changed Reference Type https://git.kernel.org/stable/c/5cd8af02b466e1beeae13e2de3dc58fcc7925e5a No Types Assigned https://git.kernel.org/stable/c/5cd8af02b466e1beeae13e2de3dc58fcc7925e5a Patch Changed Reference Type https://git.kernel.org/stable/c/7d271b798add90c6196539167c019d0817285cf0 No Types Assigned https://git.kernel.org/stable/c/7d271b798add90c6196539167c019d0817285cf0 Patch Changed Reference Type https://git.kernel.org/stable/c/aeca49661fd02fd56fb026768b580ce301b45733 No Types Assigned https://git.kernel.org/stable/c/aeca49661fd02fd56fb026768b580ce301b45733 Patch Changed Reference Type https://git.kernel.org/stable/c/c45e53c27b78afd6c81fc25608003576f27b5735 No Types Assigned https://git.kernel.org/stable/c/c45e53c27b78afd6c81fc25608003576f27b5735 Patch Added CWE NIST CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.4.274 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.215 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 6.1.84 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.24 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.8 up to (including) 6.8.3 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 01, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: serial: max310x: fix NULL pointer dereference in I2C instantiation When trying to instantiate a max14830 device from userspace: echo max14830 0x60 > /sys/bus/i2c/devices/i2c-2/new_device we get the following error: Unable to handle kernel NULL pointer dereference at virtual address... ... Call trace: max310x_i2c_probe+0x48/0x170 [max310x] i2c_device_probe+0x150/0x2a0 ... Add check for validity of devtype to prevent the error, and abort probe with a meaningful error message. Added Reference kernel.org https://git.kernel.org/stable/c/7d271b798add90c6196539167c019d0817285cf0 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c45e53c27b78afd6c81fc25608003576f27b5735 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/12609c76b755dbeb1645c0aacc0f0f4743b2eff3 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2160ad6861c4a21d3fa553d7b2aaec6634a37f8a [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/5cd8af02b466e1beeae13e2de3dc58fcc7925e5a [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/aeca49661fd02fd56fb026768b580ce301b45733 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0d27056c24efd3d63a03f3edfbcfc4827086b110 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-26978
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-26978
weaknesses.