5.5medium
media: imon: fix access to invalid resource for the second interface
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: media: imon: fix access to invalid resource for the second interface imon driver probes two USB interfaces, and at the probe of the second interface, the driver assumes blindly that the first interface got bound with the same imon driver. It's usually true, but it's still possible that the first interface is bound with another driver via a malformed descriptor. Then it may lead to a memory corruption, as spotted by syzkaller; imon driver accesses the data from drvdata as struct imon_context object although it's a completely different one that was assigned by another driver. This patch adds a sanity check -- whether the first interface is really bound with the imon driver or not -- for avoiding the problem above at the probe time.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 21677cfc562a27e099719d413287bc8d1d24deb7 before 0f5068519f89d928d6c51100e4b274479123829f, from 21677cfc562a27e099719d413287bc8d1d24deb7 before 5e0b788fb96be36d1baf1a5c88d09c7c82a0452a, from 21677cfc562a27e099719d413287bc8d1d24deb7 before b083aaf5db2eeca9e362723258e5d8698f7dd84e, from 21677cfc562a27e099719d413287bc8d1d24deb7 before 10ec5a97f8f5a772a1a42b4eb27196b447cd3aa9, from 21677cfc562a27e099719d413287bc8d1d24deb7 before 2a493a34bd6e496c55fabedd82b957193ace178f, from 21677cfc562a27e099719d413287bc8d1d24deb7 before a1766a4fd83befa0b34d932d532e7ebb7fab1fa7, 2.6.35 Not affected: before 2.6.35, from 5.10.202 up to 5.10.*, from 5.15.140 up to 5.15.*, from 6.1.64 up to 6.1.*, from 6.5.13 up to 6.5.*, from 6.6.3 up to 6.6.* | CVE List |
| linux linux_kernel | before 5.10.202, from 5.11 before 5.15.140, from 5.16 before 6.1.64, from 6.2 before 6.5.13, from 6.6 before 6.6.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: media: imon: fix access to invalid resource for the second interface imon driver probes two USB interfaces, and at the probe of the second interface, the driver assumes blindly that the first interface got bound with the same imon driver. It's usually true, but it's still possible that the first interface is bound with another driver via a malformed descriptor. Then it may lead to a memory corruption, as spotted by syzkaller; imon driver accesses the data from drvdata as struct imon_context object although it's a completely different one that was assigned by another driver. This patch adds a sanity check -- whether the first interface is really bound with the imon driver or not -- for avoiding the problem above at the probe time.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: medios: imon: corrige el acceso a un recurso no válido para la segunda interfaz. El controlador imon prueba dos interfaces USB y, en la prueba de la segunda interfaz, el controlador asume ciegamente que la primera interfaz obtuvo atado con el mismo conductor imon. Generalmente es cierto, pero aún es posible que la primera interfaz esté vinculada con otro controlador a través de un descriptor con formato incorrecto. Entonces puede provocar una corrupción de la memoria, como descubrió syzkaller; El controlador imon accede a los datos de drvdata como objeto struct imon_context aunque es uno completamente diferente asignado por otro controlador. Este parche agrega una verificación de cordura (si la primera interfaz está realmente vinculada con el controlador imon o no) para evitar el problema anterior en el momento de la prueba.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52754 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-52754 changed 2026-06-17 | Public domain |