CVE-2022-49655
Last modified
CVE-2022-49655 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: fscache: Fix invalidation/lookup race If an NFS file is opened for writing and closed, fscache_invalidate() will be asked to invalidate the file - however, if the cookie is in the LOOKING_UP state (or the CREATING state), then request to invalidate doesn't get recorded for fscache_cookie_state_machine() to do something with. Fix this by making __fscache_invalidate() set a flag if it sees the cookie is in the LOOKING_UP state to indicate that we need to go to invalidation. Note that this requires a count on the n_accesses counter for the state machine, which that will release when it's done. fscache_cookie_state_machine() then shifts to the INVALIDATING state if it sees the flag. Without this, an nfs file can get corrupted if it gets modified locally and then read locally as the cache contents may not get updated.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: fscache: Fix invalidation/lookup race If an NFS file is opened for writing and closed, fscache_invalidate() will be asked to invalidate the file - however, if the cookie is in the LOOKING_UP state (or the CREATING state), then request to invalidate doesn't get recorded for fscache_cookie_state_machine() to do something with. Fix this by making __fscache_invalidate() set a flag if it sees the cookie is in the LOOKING_UP state to indicate that we need to go to invalidation. Note that this requires a count on the n_accesses counter for the state machine, which that will release when it's done. fscache_cookie_state_machine() then shifts to the INVALIDATING state if it sees the flag. Without this, an nfs file can get corrupted if it gets modified locally and then read locally as the cache contents may not get updated.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.17, < 5.18.11 | — |
| Linux | Linux Kernel | 5.19 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49655?
How severe is CVE-2022-49655?
How do I fix CVE-2022-49655?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-4965The Invitation Code Content Restriction Plugin from Creative…6.1
- CVE-2022-49650In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49651In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49652In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49653In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49654In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49656In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49657In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49658In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49659In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4966A vulnerability was found in sequentech admin-console up to …3.5
- CVE-2022-49660Rejected reason: This CVE ID has been rejected or withdrawn …
Are you affected by CVE-2022-49655?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
