{"id":"CVE-2022-49318","state":"PUBLISHED","title":"f2fs: remove WARN_ON in f2fs_is_valid_blkaddr","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: remove WARN_ON in f2fs_is_valid_blkaddr\n\nSyzbot triggers two WARNs in f2fs_is_valid_blkaddr and\n__is_bitmap_valid. For example, in f2fs_is_valid_blkaddr,\nif type is DATA_GENERIC_ENHANCE or DATA_GENERIC_ENHANCE_READ,\nit invokes WARN_ON if blkaddr is not in the right range.\nThe call trace is as follows:\n\n f2fs_get_node_info+0x45f/0x1070\n read_node_page+0x577/0x1190\n __get_node_page.part.0+0x9e/0x10e0\n __get_node_page\n f2fs_get_node_page+0x109/0x180\n do_read_inode\n f2fs_iget+0x2a5/0x58b0\n f2fs_fill_super+0x3b39/0x7ca0\n\nFix these two WARNs by replacing WARN_ON with dump_stack.","publishedAt":"2025-02-26T02:10:44.557Z","updatedAt":"2026-08-15T12:22:35.531Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c9b60788fc760d136211853f10ce73dc152d1f4a","status":"affected","lessThan":"0a7a1fc7e71eecf2e5053a6c312c9f0dcbb9b8fd","versionType":"git"},{"version":"c9b60788fc760d136211853f10ce73dc152d1f4a","status":"affected","lessThan":"32bea51fe4c6e92c00403739f7547c89219bea88","versionType":"git"},{"version":"c9b60788fc760d136211853f10ce73dc152d1f4a","status":"affected","lessThan":"99c09b298e47ebbe345a6da9f268b32a6b0f4582","versionType":"git"},{"version":"c9b60788fc760d136211853f10ce73dc152d1f4a","status":"affected","lessThan":"cd6374af36cc548464d8c47a93fdba7303bb82a4","versionType":"git"},{"version":"c9b60788fc760d136211853f10ce73dc152d1f4a","status":"affected","lessThan":"8c62c5e26345c34d199b4b8c8e69255ba3d0e751","versionType":"git"},{"version":"c9b60788fc760d136211853f10ce73dc152d1f4a","status":"affected","lessThan":"dc2f78e2d4cc844a1458653d57ce1b54d4a29f21","versionType":"git"},{"version":"bdffda8db8d9e0125b9a41edc420c39f9905c6ab","status":"affected","versionType":"git"},{"version":"aafb371575161e315a98dee978b72f9d5357791b","status":"affected","versionType":"git"},{"version":"ad19d1e78fd51f5b4bf3ebbcbf3a133c8c03c49d","status":"affected","versionType":"git"},{"version":"4.4.172","status":"affected","lessThan":"4.5","versionType":"semver"},{"version":"4.9.144","status":"affected","lessThan":"4.10","versionType":"semver"},{"version":"4.14.86","status":"affected","lessThan":"4.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/f2fs/checkpoint.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.19","versionType":"semver"},{"version":"5.4.198","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.122","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.47","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.17.15","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18.4","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/f2fs/checkpoint.c"]}],"references":["https://git.kernel.org/stable/c/0a7a1fc7e71eecf2e5053a6c312c9f0dcbb9b8fd","https://git.kernel.org/stable/c/32bea51fe4c6e92c00403739f7547c89219bea88","https://git.kernel.org/stable/c/99c09b298e47ebbe345a6da9f268b32a6b0f4582","https://git.kernel.org/stable/c/cd6374af36cc548464d8c47a93fdba7303bb82a4","https://git.kernel.org/stable/c/8c62c5e26345c34d199b4b8c8e69255ba3d0e751","https://git.kernel.org/stable/c/dc2f78e2d4cc844a1458653d57ce1b54d4a29f21"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49318.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49318","state":"PUBLISHED","datePublished":"2025-02-26T02:10:44.557Z","dateUpdated":"2026-08-15T12:22:35.531Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-02-26T02:08:31.537Z"},"containers":{"cna":{"title":"f2fs: remove WARN_ON in f2fs_is_valid_blkaddr","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: remove WARN_ON in f2fs_is_valid_blkaddr\n\nSyzbot triggers two WARNs in f2fs_is_valid_blkaddr and\n__is_bitmap_valid. For example, in f2fs_is_valid_blkaddr,\nif type is DATA_GENERIC_ENHANCE or DATA_GENERIC_ENHANCE_READ,\nit invokes WARN_ON if blkaddr is not in the right range.\nThe call trace is as follows:\n\n f2fs_get_node_info+0x45f/0x1070\n read_node_page+0x577/0x1190\n __get_node_page.part.0+0x9e/0x10e0\n __get_node_page\n f2fs_get_node_page+0x109/0x180\n do_read_inode\n f2fs_iget+0x2a5/0x58b0\n f2fs_fill_super+0x3b39/0x7ca0\n\nFix these two WARNs by replacing WARN_ON with dump_stack."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c9b60788fc760d136211853f10ce73dc152d1f4a","status":"affected","lessThan":"0a7a1fc7e71eecf2e5053a6c312c9f0dcbb9b8fd","versionType":"git"},{"version":"c9b60788fc760d136211853f10ce73dc152d1f4a","status":"affected","lessThan":"32bea51fe4c6e92c00403739f7547c89219bea88","versionType":"git"},{"version":"c9b60788fc760d136211853f10ce73dc152d1f4a","status":"affected","lessThan":"99c09b298e47ebbe345a6da9f268b32a6b0f4582","versionType":"git"},{"version":"c9b60788fc760d136211853f10ce73dc152d1f4a","status":"affected","lessThan":"cd6374af36cc548464d8c47a93fdba7303bb82a4","versionType":"git"},{"version":"c9b60788fc760d136211853f10ce73dc152d1f4a","status":"affected","lessThan":"8c62c5e26345c34d199b4b8c8e69255ba3d0e751","versionType":"git"},{"version":"c9b60788fc760d136211853f10ce73dc152d1f4a","status":"affected","lessThan":"dc2f78e2d4cc844a1458653d57ce1b54d4a29f21","versionType":"git"},{"version":"bdffda8db8d9e0125b9a41edc420c39f9905c6ab","status":"affected","versionType":"git"},{"version":"aafb371575161e315a98dee978b72f9d5357791b","status":"affected","versionType":"git"},{"version":"ad19d1e78fd51f5b4bf3ebbcbf3a133c8c03c49d","status":"affected","versionType":"git"},{"version":"4.4.172","status":"affected","lessThan":"4.5","versionType":"semver"},{"version":"4.9.144","status":"affected","lessThan":"4.10","versionType":"semver"},{"version":"4.14.86","status":"affected","lessThan":"4.15","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/f2fs/checkpoint.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.19","versionType":"semver"},{"version":"5.4.198","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.122","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.47","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.17.15","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18.4","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/f2fs/checkpoint.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/0a7a1fc7e71eecf2e5053a6c312c9f0dcbb9b8fd"},{"url":"https://git.kernel.org/stable/c/32bea51fe4c6e92c00403739f7547c89219bea88"},{"url":"https://git.kernel.org/stable/c/99c09b298e47ebbe345a6da9f268b32a6b0f4582"},{"url":"https://git.kernel.org/stable/c/cd6374af36cc548464d8c47a93fdba7303bb82a4"},{"url":"https://git.kernel.org/stable/c/8c62c5e26345c34d199b4b8c8e69255ba3d0e751"},{"url":"https://git.kernel.org/stable/c/dc2f78e2d4cc844a1458653d57ce1b54d4a29f21"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-15T12:22:35.531Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.4.198"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.10.122"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.15.47"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.17.15"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.18.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4.172"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.144"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.86"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2022-49318","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T19:43:51.397686Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T19:46:56.972Z"}}]}}}