CVE-2022-50400
published medium CVSS 3.1 · 5.5staging: greybus: audio_helper: remove unused and wrong debugfs usage
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux510e340efe0cbd379cf1ff3490d088c3299749b1 to < d0febad83e29d85bb66e4f5cac0115b022403338 · 510e340efe0cbd379cf1ff3490d088c3299749b1 to < 4dab0d27a4211a27135a6899d6c737e6e0759a11 · 510e340efe0cbd379cf1ff3490d088c3299749b1 to < 5699afbff1fa2972722e863906c0320d55dd4d58 · 510e340efe0cbd379cf1ff3490d088c3299749b1 to < d835fa49d9589a780ff0d001bb7e6323238a4afb · 510e340efe0cbd379cf1ff3490d088c3299749b1 to < d517cdeb904ddc0cbebcc959d43596426cac40b0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.9 (affected) · 0 to < 5.9 (unaffected · semver) · 5.10.150 through 5.10.* (unaffected · semver) · 5.15.75 through 5.15.* (unaffected · semver) · 5.19.17 through 5.19.* (unaffected · semver) · 6.0.3 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 510e340efe0cbd379cf1ff3490d088c3299749b1 to < d0febad83e29d85bb66e4f5cac0115b022403338 (affected · git)510e340efe0cbd379cf1ff3490d088c3299749b1 to < 4dab0d27a4211a27135a6899d6c737e6e0759a11 (affected · git)510e340efe0cbd379cf1ff3490d088c3299749b1 to < 5699afbff1fa2972722e863906c0320d55dd4d58 (affected · git)510e340efe0cbd379cf1ff3490d088c3299749b1 to < d835fa49d9589a780ff0d001bb7e6323238a4afb (affected · git)510e340efe0cbd379cf1ff3490d088c3299749b1 to < d517cdeb904ddc0cbebcc959d43596426cac40b0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.9 (affected)0 to < 5.9 (unaffected · semver)5.10.150 through 5.10.* (unaffected · semver)5.15.75 through 5.15.* (unaffected · semver)5.19.17 through 5.19.* (unaffected · semver)6.0.3 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime
References
5- https://git.kernel.org/stable/c/4dab0d27a4211a27135a6899d6c737e6e0759a11
- https://git.kernel.org/stable/c/5699afbff1fa2972722e863906c0320d55dd4d58
- https://git.kernel.org/stable/c/d0febad83e29d85bb66e4f5cac0115b022403338
- https://git.kernel.org/stable/c/d517cdeb904ddc0cbebcc959d43596426cac40b0
- https://git.kernel.org/stable/c/d835fa49d9589a780ff0d001bb7e6323238a4afb
Provider assertions
2Linux · cna
staging: greybus: audio_helper: remove unused and wrong debugfs usage
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2c61d1a4a115e735a6a92149346b6bbe78fa2e56e57ff7c8d0ab22f9e51041b4
- Ingested
- 23 Sep 2026, 08:04:48 UTC
- Source record
- Official CVE record