CVE-2022-49425
Last modified
CVE-2022-49425 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: f2fs: fix dereference of stale list iterator after loop body The list iterator variable will be a bogus pointer if no break was hit. Dereferencing it (cur->page in this case) could load an out-of-bounds/undefined value making it unsafe to use that in the comparision to determine if the specific element was found. Since 'cur->page' *can* be out-ouf-bounds it cannot be guaranteed that by chance (or intention of an attacker) it matches the value of 'page' even though the correct element was not found. This is fixed by using a separate list iterator variable for the loop and only setting the original variable if a suitable element was found. Then determing if the element was found is simply checking if the variable is set.. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix dereference of stale list iterator after loop body The list iterator variable will be a bogus pointer if no break was hit. Dereferencing it (cur->page in this case) could load an out-of-bounds/undefined value making it unsafe to use that in the comparision to determine if the specific element was found. Since 'cur->page' *can* be out-ouf-bounds it cannot be guaranteed that by chance (or intention of an attacker) it matches the value of 'page' even though the correct element was not found. This is fixed by using a separate list iterator variable for the loop and only setting the original variable if a suitable element was found. Then determing if the element was found is simply checking if the variable is set.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.12, < 4.19.247 |
| Linux | Linux Kernel | >= 4.20, < 5.4.198 |
| Linux | Linux Kernel | >= 5.5, < 5.10.121 |
| Linux | Linux Kernel | >= 5.11, < 5.15.46 |
| Linux | Linux Kernel | >= 5.16, < 5.17.14 |
| Linux | Linux Kernel | >= 5.18, < 5.18.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-49425?
How severe is CVE-2022-49425?
How do I fix CVE-2022-49425?
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-4942A vulnerability was found in mportuga eslint-detailed-report…6.1
- CVE-2022-49420In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49421In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49422In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49423In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49424In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49426In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49427In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49428In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49429In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4943The miniOrange's Google Authenticator plugin for WordPress i…5.3
- CVE-2022-49430In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-49425?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
