Home

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.

PUBLISHED Reserved 2025-09-17 | Published 2025-09-18 | Updated 2025-09-18 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before d0febad83e29d85bb66e4f5cac0115b022403338
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 4dab0d27a4211a27135a6899d6c737e6e0759a11
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 5699afbff1fa2972722e863906c0320d55dd4d58
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before d835fa49d9589a780ff0d001bb7e6323238a4afb
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before d517cdeb904ddc0cbebcc959d43596426cac40b0
affected

Default status
affected

5.10.150 (semver)
unaffected

5.15.75 (semver)
unaffected

5.19.17 (semver)
unaffected

6.0.3 (semver)
unaffected

6.1 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/d0febad83e29d85bb66e4f5cac0115b022403338

git.kernel.org/...c/4dab0d27a4211a27135a6899d6c737e6e0759a11

git.kernel.org/...c/5699afbff1fa2972722e863906c0320d55dd4d58

git.kernel.org/...c/d835fa49d9589a780ff0d001bb7e6323238a4afb

git.kernel.org/...c/d517cdeb904ddc0cbebcc959d43596426cac40b0

cve.org (CVE-2022-50400)

nvd.nist.gov (CVE-2022-50400)

Download JSON