CVEvulnerability
CVE-2024-26978
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-05-01
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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.
Affected configurations
• linux linux kernel (< 5.4.274)
• linux linux kernel (>= 5.5 < 5.10.215)
• linux linux kernel (>= 5.11 < 6.1.84)
• linux linux kernel (>= 6.2 < 6.6.24)
• linux linux kernel (>= 6.7 < 6.7.12)
• linux linux kernel (>= 6.8 <= 6.8.3)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/0d27056c24efd3d63a03f3edfbcfc4827086b110 Patch
- https://git.kernel.org/stable/c/12609c76b755dbeb1645c0aacc0f0f4743b2eff3 Patch
- https://git.kernel.org/stable/c/2160ad6861c4a21d3fa553d7b2aaec6634a37f8a Patch
- https://git.kernel.org/stable/c/5cd8af02b466e1beeae13e2de3dc58fcc7925e5a Patch
- https://git.kernel.org/stable/c/7d271b798add90c6196539167c019d0817285cf0 Patch
- https://git.kernel.org/stable/c/aeca49661fd02fd56fb026768b580ce301b45733 Patch
- https://git.kernel.org/stable/c/c45e53c27b78afd6c81fc25608003576f27b5735 Patch
- https://git.kernel.org/stable/c/0d27056c24efd3d63a03f3edfbcfc4827086b110 Patch
- https://git.kernel.org/stable/c/12609c76b755dbeb1645c0aacc0f0f4743b2eff3 Patch
- https://git.kernel.org/stable/c/2160ad6861c4a21d3fa553d7b2aaec6634a37f8a Patch
- https://git.kernel.org/stable/c/5cd8af02b466e1beeae13e2de3dc58fcc7925e5a Patch
- https://git.kernel.org/stable/c/7d271b798add90c6196539167c019d0817285cf0 Patch
- https://git.kernel.org/stable/c/aeca49661fd02fd56fb026768b580ce301b45733 Patch
- https://git.kernel.org/stable/c/c45e53c27b78afd6c81fc25608003576f27b5735 Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org