CVE-2022-50400

staging: greybus: audio_helper: remove unused and wrong debugfs usage

Medium · published September 18, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
3.7
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

staging: greybus: audio_helper: remove unused and wrong debugfs usage

In the greybus audio_helper code, the debugfs file for the dapm has the

potential to be removed and memory will be leaked. There is also the

very real potential for this code to remove ALL debugfs entries from the

system, and it seems like this is what will really happen if this code

ever runs. This all is very wrong as the greybus audio driver did not

create this debugfs file, the sound core did and controls the lifespan

of it.

So remove all of the debugfs logic from the audio_helper code as there's

no way it could be correct. If this really is needed, it can come back

with a fixup for the incorrect usage of the debugfs_lookup() call which

is what caused this to be noticed at all.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00148 · 3.7th percentile
Published
2025-09-18T13:58Z
EPSS history
Timeline
  • 18 SEP 13:58Z
    staging: greybus: audio_helper: remove unused and wrong debugfs usage
    cvelistv5