CVE-2022-49318 json
f2fs: remove WARN_ON in f2fs_is_valid_blkaddr
published 2025-02-26 20 mo ago modified 2026-08-15 2 mo ago also EUVD-2022-54909
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
f2fs: remove WARN_ON in f2fs_is_valid_blkaddr
Syzbot triggers two WARNs in f2fs_is_valid_blkaddr and __is_bitmap_valid. For example, in f2fs_is_valid_blkaddr, if type is DATA_GENERIC_ENHANCE or DATA_GENERIC_ENHANCE_READ, it invokes WARN_ON if blkaddr is not in the right range. The call trace is as follows:
f2fs_get_node_info+0x45f/0x1070 read_node_page+0x577/0x1190 __get_node_page.part.0+0x9e/0x10e0 __get_node_page f2fs_get_node_page+0x109/0x180 do_read_inode f2fs_iget+0x2a5/0x58b0 f2fs_fill_super+0x3b39/0x7ca0
Fix these two WARNs by replacing WARN_ON with dump_stack.
Patch / fix
- Linux Linux 4.5, 4.10, 4.15, 5.4.198, 5.10.122, 5.15.47, 5.17.15, 5.18.4, 5.19
- linux Debian 14, Debian 13, Debian 12 5.18.5-1
debian advisories DEBIAN-CVE-2022-49318
- linux Ubuntu 20.04 LTS 5.4.0-126.142
- linux Ubuntu 22.04 LTS 5.15.0-48.54
- linux-aws Ubuntu 20.04 LTS 5.4.0-1085.92
- linux-aws Ubuntu 22.04 LTS 5.15.0-1020.24
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1089.97
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1018.24
- linux-gke Ubuntu 22.04 LTS 5.15.0-1016.19
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1033.37
ubuntu advisories UBUNTU-CVE-2022-49318
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/0a7a1fc7e71eecf2e5053a6c312c9f0dcbb9b8fd commit
- git.kernel.org/stable/c/32bea51fe4c6e92c00403739f7547c89219bea88 commit
- git.kernel.org/stable/c/99c09b298e47ebbe345a6da9f268b32a6b0f4582 commit
- git.kernel.org/stable/c/cd6374af36cc548464d8c47a93fdba7303bb82a4 commit
- git.kernel.org/stable/c/8c62c5e26345c34d199b4b8c8e69255ba3d0e751 commit
- git.kernel.org/stable/c/dc2f78e2d4cc844a1458653d57ce1b54d4a29f21 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-49318 updated cvss 5.5
kernel: f2fs: remove WARN_ON in f2fs_is_valid_blkaddr
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 13 mo ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/0a7a1fc7e71eecf2e5053a6c312c9f0dcbb9b8fd
patch
-
git.kernel.org
/stable/c/32bea51fe4c6e92c00403739f7547c89219bea88
patch
-
git.kernel.org
/stable/c/99c09b298e47ebbe345a6da9f268b32a6b0f4582
patch
-
git.kernel.org
/stable/c/cd6374af36cc548464d8c47a93fdba7303bb82a4
patch
-
git.kernel.org
/stable/c/8c62c5e26345c34d199b4b8c8e69255ba3d0e751
patch
-
git.kernel.org
/stable/c/dc2f78e2d4cc844a1458653d57ce1b54d4a29f21
patch
Sources
- CVE List CVE-2022-49318
- NVD CVE-2022-49318
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.