drm/amd/display: fix memory leak when using debugfs_lookup()
Published May 3, 2024
5.5
MEDIUMCVSS 3.1
EPSS 0.21%
Description
When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. Fix this up by properly calling dput().
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 5.13StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.13
- Version 5.15.68StatusunaffectedConstraints<=5.15.*
- Version 5.19.9StatusunaffectedConstraints<=5.19.*
- Version 6.0StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- < 5.15.68
- ≥ 5.16 · < 5.19.9
- 6.0
- 6.0
- 6.0
- 6.0
No data.
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Enterprise Linux is not impacted by this CVE, as the vulnerability in question does not affect the specific versions or configurations of the Linux kernel used in its distributions. This ensures that users of Red Hat Enterprise Linux are not exposed to the potential risks associated with this issue, and no further action or mitigation is necessary for systems running this operating system.
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (9)
- https://access.redhat.com/security/cve/CVE-2022-48698 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2278956 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-53577 Advisory
- https://git.kernel.org/stable/c/3a6279d243cb035eaaff1450980b40cf19748f05 Patch
- https://git.kernel.org/stable/c/58acd2ebae034db3bacf38708f508fbd12ae2e54 Patch
- https://git.kernel.org/stable/c/cbfac7fa491651c57926c99edeb7495c6c1aeac2 Patch
- https://lore.kernel.org/linux-cve-announce/2024050349-CVE-2022-48698-ac39@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-48698
- https://www.cve.org/CVERecord?id=CVE-2022-48698
Change history (0)
No recorded changes yet.