{"id":"CVE-2022-49318","aliases":["CVE-2022-49318"],"related":[],"kind":"vulnerability","state":"published","title":"f2fs: remove WARN_ON in f2fs_is_valid_blkaddr","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: f2fs: eliminar WARN_ON en f2fs_is_valid_blkaddr Syzbot activa dos WARN en f2fs_is_valid_blkaddr y __is_bitmap_valid. Por ejemplo, en f2fs_is_valid_blkaddr, si el tipo es DATA_GENERIC_ENHANCE o DATA_GENERIC_ENHANCE_READ, invoca WARN_ON si blkaddr no está en el rango correcto. El seguimiento de la llamada es el siguiente: 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 Corrija estas dos ADVERTENCIAS reemplazando WARN_ON con dump_stack.","source":"nvd"}],"published":"2025-02-26T02:10:44.557Z","modified":"2026-08-15T13:17:18.803Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c9b60788fc760d136211853f10ce73dc152d1f4a","fixed":"0a7a1fc7e71eecf2e5053a6c312c9f0dcbb9b8fd","status":"affected"},{"type":"git","introduced":"c9b60788fc760d136211853f10ce73dc152d1f4a","fixed":"32bea51fe4c6e92c00403739f7547c89219bea88","status":"affected"},{"type":"git","introduced":"c9b60788fc760d136211853f10ce73dc152d1f4a","fixed":"99c09b298e47ebbe345a6da9f268b32a6b0f4582","status":"affected"},{"type":"git","introduced":"c9b60788fc760d136211853f10ce73dc152d1f4a","fixed":"cd6374af36cc548464d8c47a93fdba7303bb82a4","status":"affected"},{"type":"git","introduced":"c9b60788fc760d136211853f10ce73dc152d1f4a","fixed":"8c62c5e26345c34d199b4b8c8e69255ba3d0e751","status":"affected"},{"type":"git","introduced":"c9b60788fc760d136211853f10ce73dc152d1f4a","fixed":"dc2f78e2d4cc844a1458653d57ce1b54d4a29f21","status":"affected"},{"type":"git","version":"bdffda8db8d9e0125b9a41edc420c39f9905c6ab","status":"affected"},{"type":"git","version":"aafb371575161e315a98dee978b72f9d5357791b","status":"affected"},{"type":"git","version":"ad19d1e78fd51f5b4bf3ebbcbf3a133c8c03c49d","status":"affected"},{"type":"semver","introduced":"4.4.172","fixed":"4.5","status":"affected"},{"type":"semver","introduced":"4.9.144","fixed":"4.10","status":"affected"},{"type":"semver","introduced":"4.14.86","fixed":"4.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.19","status":"unaffected"},{"type":"semver","introduced":"5.4.198","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.122","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.47","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.15","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.4","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.198"},{"status":"affected","introduced":"5.5","fixed":"5.10.122"},{"status":"affected","introduced":"5.11","fixed":"5.15.47"},{"status":"affected","introduced":"5.16","fixed":"5.17.15"},{"status":"affected","introduced":"5.18","fixed":"5.18.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0a7a1fc7e71eecf2e5053a6c312c9f0dcbb9b8fd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32bea51fe4c6e92c00403739f7547c89219bea88","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99c09b298e47ebbe345a6da9f268b32a6b0f4582","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd6374af36cc548464d8c47a93fdba7303bb82a4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c62c5e26345c34d199b4b8c8e69255ba3d0e751","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc2f78e2d4cc844a1458653d57ce1b54d4a29f21","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:43:51.397Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49318","url":"https://www.cve.org/CVERecord?id=CVE-2022-49318","licence":"CVE Terms of Use","modified":"2026-08-15T12:22:35.531Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49318","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49318","licence":"Public domain","modified":"2026-08-15T13:17:18.803Z"}],"updatedAt":"2026-11-25T22:58:20.398Z","epss":{"score":0.00285,"percentile":0.13707,"date":"2026-11-30T12:00:22.000Z"}}