{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-49255 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-49255 is a medium-severity denial of service vulnerability in Linux kernel, published on 26 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-49255 and fix it if it is affected.\n\nWhat it is: CVE-2022-49255 is a medium-severity denial of service vulnerability in Linux kernel, published on 26 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-49255 in the wild and no public exploit code.\n\nAffected product: Linux kernel. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-49255/ (Markdown: https://insights.sbomify.com/CVE-2022-49255/index.md)","id":"CVE-2022-49255","markdown":"https://insights.sbomify.com/CVE-2022-49255/index.md","name":"CVE-2022-49255","record":{"aliases":["DEBIAN-CVE-2022-49255","GHSA-gh73-qf3c-4wf8","UBUNTU-CVE-2022-49255"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"A missing free node ID in the F2FS filesystem can cause a kernel bug and system crash during unmount operations.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix missing free nid in f2fs_handle_failed_inode\n\nThis patch fixes xfstests/generic/475 failure.\n\n[  293.680694] F2FS-fs (dm-1): May loss orphan inode, run fsck to fix.\n[  293.685358] Buffer I/O error on dev dm-1, logical block 8388592, async page read\n[  293.691527] Buffer I/O error on dev dm-1, logical block 8388592, async page read\n[  293.691764] sh (7615): drop_caches: 3\n[  293.691819] sh (7616): drop_caches: 3\n[  293.694017] Buffer I/O error on dev dm-1, logical block 1, async page read\n[  293.695659] sh (7618): drop_caches: 3\n[  293.696979] sh (7617): drop_caches: 3\n[  293.700290] sh (7623): drop_caches: 3\n[  293.708621] sh (7626): drop_caches: 3\n[  293.711386] sh (7628): drop_caches: 3\n[  293.711825] sh (7627): drop_caches: 3\n[  293.716738] sh (7630): drop_caches: 3\n[  293.719613] sh (7632): drop_caches: 3\n[  293.720971] sh (7633): drop_caches: 3\n[  293.727741] sh (7634): drop_caches: 3\n[  293.730783] sh (7636): drop_caches: 3\n[  293.732681] sh (7635): drop_caches: 3\n[  293.732988] sh (7637): drop_caches: 3\n[  293.738836] sh (7639): drop_caches: 3\n[  293.740568] sh (7641): drop_caches: 3\n[  293.743053] sh (7640): drop_caches: 3\n[  293.821889] ------------[ cut here ]------------\n[  293.824654] kernel BUG at fs/f2fs/node.c:3334!\n[  293.826226] invalid opcode: 0000 [#1] PREEMPT SMP PTI\n[  293.828713] CPU: 0 PID: 7653 Comm: umount Tainted: G           OE     5.17.0-rc1-custom #1\n[  293.830946] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014\n[  293.832526] RIP: 0010:f2fs_destroy_node_manager+0x33f/0x350 [f2fs]\n[  293.833905] Code: e8 d6 3d f9 f9 48 8b 45 d0 65 48 2b 04 25 28 00 00 00 75 1a 48 81 c4 28 03 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b\n[  293.837783] RSP: 0018:ffffb04ec31e7a20 EFLAGS: 00010202\n[  293.839062] RAX: 0000000000000001 RBX: ffff9df947db2eb8 RCX: 0000000080aa0072\n[  293.840666] RDX: 0000000000000000 RSI: ffffe86c0432a140 RDI: ffffffffc0b72a21\n[  293.842261] RBP: ffffb04ec31e7d70 R08: ffff9df94ca85780 R09: 0000000080aa0072\n[  293.843909] R10: ffff9df94ca85700 R11: ffff9df94e1ccf58 R12: ffff9df947db2e00\n[  293.845594] R13: ffff9df947db2ed0 R14: ffff9df947db2eb8 R15: ffff9df947db2eb8\n[  293.847855] FS:  00007f5a97379800(0000) GS:ffff9dfa77c00000(0000) knlGS:0000000000000000\n[  293.850647] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n[  293.852940] CR2: 00007f5a97528730 CR3: 000000010bc76005 CR4: 0000000000370ef0\n[  293.854680] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000\n[  293.856423] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400\n[  293.858380] Call Trace:\n[  293.859302]  \u003cTASK\u003e\n[  293.860311]  ? ttwu_do_wakeup+0x1c/0x170\n[  293.861800]  ? ttwu_do_activate+0x6d/0xb0\n[  293.863057]  ? _raw_spin_unlock_irqrestore+0x29/0x40\n[  293.864411]  ? try_to_wake_up+0x9d/0x5e0\n[  293.865618]  ? debug_smp_processor_id+0x17/0x20\n[  293.866934]  ? debug_smp_processor_id+0x17/0x20\n[  293.868223]  ? free_unref_page+0xbf/0x120\n[  293.869470]  ? __free_slab+0xcb/0x1c0\n[  293.870614]  ? preempt_count_add+0x7a/0xc0\n[  293.871811]  ? __slab_free+0xa0/0x2d0\n[  293.872918]  ? __wake_up_common_lock+0x8a/0xc0\n[  293.874186]  ? __slab_free+0xa0/0x2d0\n[  293.875305]  ? free_inode_nonrcu+0x20/0x20\n[  293.876466]  ? free_inode_nonrcu+0x20/0x20\n[  293.877650]  ? debug_smp_processor_id+0x17/0x20\n[  293.878949]  ? call_rcu+0x11a/0x240\n[  293.880060]  ? f2fs_destroy_stats+0x59/0x60 [f2fs]\n[  293.881437]  ? kfree+0x1fe/0x230\n[  293.882674]  f2fs_put_super+0x160/0x390 [f2fs]\n[  293.883978]  generic_shutdown_super+0x7a/0x120\n[  293.885274]  kill_block_super+0x27/0x50\n[  293.886496]  kill_f2fs_super+0x7f/0x100 [f2fs]\n[  293.887806]  deactivate_locked_super+0x35/0xa0\n[  293.889271]  deactivate_super+0x40/0x50\n[  293.890513]  cleanup_mnt+0x139/0x190\n[  293.891689]  __cleanup_mnt+0x12/0x20\n[  293.892850]  task_work_run+0x64/0xa0\n[  293.894035]  exit_to_user_mode_prepare+0x1b7/\n---truncated---","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"f2fs: fix missing free nid in f2fs_handle_failed_inode","id":"CVE-2022-49255","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel"],"type":"denial_of_service","year":"2022"},"n_packages":0,"n_references":6,"next":{"headline":"watch_queue: Actually free the watch","id":"CVE-2022-49256"},"packages":[],"prev":{"headline":"media: ti-vpe: cal: Fix a NULL pointer dereference in cal_ctx_v4l2_init_formats()","id":"CVE-2022-49254"},"products":["Linux"],"published":"2025-02-26","related":[{"cvss_score":8.8,"headline":"Linux Kernel Out-of-Bounds Write","id":"CVE-2026-53266","kev_date_added":"2026-09-18","published":"2026-06-25"},{"cvss_score":8.8,"headline":"Linux Kernel Improper Input Validation","id":"CVE-2013-6282","kev_date_added":"2022-09-15","published":"2013-11-19"},{"cvss_score":8.4,"headline":"Linux Kernel Heap-Based Buffer Overflow","id":"CVE-2022-0185","kev_date_added":"2024-08-21","published":"2022-02-11"},{"cvss_score":8.4,"headline":"Linux Kernel Privilege Escalation","id":"CVE-2013-2094","kev_date_added":"2022-09-15","published":"2013-05-14"},{"cvss_score":7.8,"headline":"Linux Kernel Unspecified","id":"CVE-2026-53362","kev_date_added":"2026-08-27","published":"2026-07-04"},{"cvss_score":7.8,"headline":"Linux Kernel Missing Initialization of a Variable","id":"CVE-2026-46300","kev_date_added":"2026-10-28","published":"2026-05-23"},{"cvss_score":7.8,"headline":"Linux Kernel Race Condition","id":"CVE-2025-39964","kev_date_added":"2026-09-18","published":"2025-10-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-05-11","vendors":["Linux"]},"summary":"A missing free node ID in the F2FS filesystem can cause a kernel bug and system crash during unmount operations.","url":"https://insights.sbomify.com/CVE-2022-49255/"}