cachefiles: unmark inode in use in error path
Published Feb 26, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.22%
Description
Unmark inode in use if error encountered. If the in-use flag leakage occurs in cachefiles_open_file(), Cachefiles will complain "Inode already in use" when later another cookie with the same index key is looked up.
If the in-use flag leakage occurs in cachefiles_create_tmpfile(), though the "Inode already in use" warning won't be triggered, fix the leakage anyway.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 5.17StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.17
- Version 5.17.4StatusunaffectedConstraints<=5.17.*
- Version 5.18StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 5.17 · < 5.17.4
- 5.18
- 5.18
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Out of support scope
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Fix deferred
Red Hat Enterprise Linux 9
kernel-rt
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | 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 | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
No CWE recorded.
References (8)
- https://access.redhat.com/security/cve/CVE-2022-49064 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2347912 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-55140 Advisory
- https://git.kernel.org/stable/c/b2055abafd3d4ee0376fb3eed5cae866316995a1 Patch
- https://git.kernel.org/stable/c/ea5dc046127e857a7873ae55fd57c866e9e86fb2 Patch
- https://lore.kernel.org/linux-cve-announce/2025022654-CVE-2022-49064-3c74@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-49064
- https://www.cve.org/CVERecord?id=CVE-2022-49064
Change history (0)
No recorded changes yet.