cve.bz

CVE-2022-49425 linux linux kernel: NULL Pointer Dereference

5.5 mediumEPSS 0.3%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 20th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-49425 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-49425?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-49425?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-49425 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux4.12 and later

Fixed in

ProductRelease lineFixed in
Linux4.194.19.247
Linux5.45.4.198
Linux5.105.10.121
Linux5.155.15.46
Linux5.175.17.14
Linux5.185.18.3
Linuxlater releases5.19

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.18.5-1DEBIAN-CVE-2022-49425
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-49425
Ubuntu18.04:LTSlinux4.15.0-192.203UBUNTU-CVE-2022-49425
Ubuntu18.04:LTSlinux-aws4.15.0-1140.151UBUNTU-CVE-2022-49425
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1085.92~18.04.1UBUNTU-CVE-2022-49425
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1150.165UBUNTU-CVE-2022-49425
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1091.96~18.04.1UBUNTU-CVE-2022-49425
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-49425
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1135.151UBUNTU-CVE-2022-49425
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1089.97~18.04.1UBUNTU-CVE-2022-49425
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-126.142~18.04.1UBUNTU-CVE-2022-49425
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1033.37~18.04.1UBUNTU-CVE-2022-49425
Ubuntu18.04:LTSlinux-kvm4.15.0-1126.131UBUNTU-CVE-2022-49425
52 more for Ubuntu in the JSON and on Ubuntu's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability does not affect Red Hat Enterprise Linux as support for the Flash-Friendly File System (F2FS) is not enabled in supported enterprise kernels. The upstream issue stems from improper handling of stale list iterators within the F2FS segment allocation logic, potentially allowing a local user with filesystem mounting capabilities to cause out-of-bounds memory reads or denial of service. Because Red Hat does not compile or distribute the F2FS kernel module, default enterprise installations are not exposed to this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-49425.

References

Check your stackJSON