media: imon: fix access to invalid resource for the second interface (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % · percentile 15 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-401 — Missing Release of Memory after Effective Lifetime
References
- https://git.kernel.org/stable/c/0f5068519f89d928d6c51100e4b274479123829f
- https://git.kernel.org/stable/c/5e0b788fb96be36d1baf1a5c88d09c7c82a0452a
- https://git.kernel.org/stable/c/b083aaf5db2eeca9e362723258e5d8698f7dd84e
- https://git.kernel.org/stable/c/10ec5a97f8f5a772a1a42b4eb27196b447cd3aa9
- https://git.kernel.org/stable/c/2a493a34bd6e496c55fabedd82b957193ace178f
- https://git.kernel.org/stable/c/a1766a4fd83befa0b34d932d532e7ebb7fab1fa7
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2023-59473
- GCVE · GCVE-0-2023-52754
CERT-FR advisories
- CERTFR-2024-AVI-0717 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0693 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0632 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0610 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0578 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0526 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0496 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*< 5.10.202cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.140cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.64cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.5.13cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.6 < 6.6.3
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 21677cfc562a27e099719d413287bc8d1d24deb7 < 0f5068519f89d928d6c51100e4b274479123829f ; affected 21677cfc562a27e099719d413287bc8d1d24deb7 < 5e0b788fb96be36d1baf1a5c88d09c7c82a0452a ; affected 21677cfc562a27e099719d413287bc8d1d24deb7 < b083aaf5db2eeca9e362723258e5d8698f7dd84e ; affected 21677cfc562a27e099719d413287bc8d1d24deb7 < 10ec5a97f8f5a772a1a42b4eb27196b447cd3aa9 ; affected 21677cfc562a27e099719d413287bc8d1d24deb7 < 2a493a34bd6e496c55fabedd82b957193ace178f ; affected 21677cfc562a27e099719d413287bc8d1d24deb7 < a1766a4fd83befa0b34d932d532e7ebb7fab1fa7 |
| Linux · Linux | affected 2.6.35 ; unaffected 0 < 2.6.35 ; unaffected 5.10.202 ≤ 5.10.* ; unaffected 5.15.140 ≤ 5.15.* ; unaffected 6.1.64 ≤ 6.1.* ; unaffected 6.5.13 ≤ 6.5.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |