CVE-2023-52754

media: imon: fix access to invalid resource for the second interface

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 21677cfc562a27e099719d413287bc8d1d24deb7 to before 0f5068519f89d928d6c51100e4b274479123829fAffected
  • 21677cfc562a27e099719d413287bc8d1d24deb7 to before 5e0b788fb96be36d1baf1a5c88d09c7c82a0452aAffected
  • 21677cfc562a27e099719d413287bc8d1d24deb7 to before b083aaf5db2eeca9e362723258e5d8698f7dd84eAffected
  • 21677cfc562a27e099719d413287bc8d1d24deb7 to before 10ec5a97f8f5a772a1a42b4eb27196b447cd3aa9Affected
  • 21677cfc562a27e099719d413287bc8d1d24deb7 to before 2a493a34bd6e496c55fabedd82b957193ace178fAffected
  • 21677cfc562a27e099719d413287bc8d1d24deb7 to before a1766a4fd83befa0b34d932d532e7ebb7fab1fa7Affected
LinuxLinux
  • 2.6.35Affected
  • before 2.6.35Not affected
  • 5.10.202 through 5.10.*Not affected
  • 5.15.140 through 5.15.*Not affected
  • 6.1.64 through 6.1.*Not affected
  • 6.5.13 through 6.5.*Not affected
  • 6.6.3 through 6.6.*Not affected
  • 6.7 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.