CVE-2018-10902

Advisory lineage Upstream: 0 Downstream: 41
Modified
Published: 21 Aug 2018, 19:00
Last modified:05 Aug 2024, 07:54

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.8 HIGH
v3.0 (cve.org)
EPSS Score
0.04% LOW
0% probability -0.04%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

21 Aug 2018, 19:00
Published
Vulnerability first disclosed
05 Aug 2024, 07:54
Last Modified
Vulnerability information updated

Description

It was found that the raw midi kernel driver does not protect against concurrent access which leads to a double realloc (double free) in snd_rawmidi_input_params() and snd_rawmidi_output_status() which are part of snd_rawmidi_ioctl() handler in rawmidi.c file. A malicious local attacker could possibly use this for privilege escalation.

CVSS Metrics

  • v3.0HIGHScore: 7.8CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • v2.0MEDIUMScore: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 0.04% Percentile: 12%

Techniques & Countermeasures

  • CWE-415Double Free

    The product calls free() twice on the same memory address.

  • CWE-416Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Affected Systems

  • canonicalubuntu_linux

    12.04 | 14.04 | 16.04 | 18.04

  • debiandebian_linux

    8.0 | 9.0

  • linuxlinux_kernel

    na

  • redhatenterprise_linux_desktop

    6.0 | 7.0

  • redhatenterprise_linux_server

    6.0 | 7.0

  • redhatenterprise_linux_workstation

    6.0 | 7.0

  • [unknown]kernel

    n/a

References (19)