{"id":"CVE-2022-50697","aliases":["CVE-2022-50697"],"related":[],"kind":"vulnerability","state":"published","title":"mrp: introduce active flags to prevent UAF when applicant uninit","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmrp: introduce active flags to prevent UAF when applicant uninit\n\nThe caller of del_timer_sync must prevent restarting of the timer, If\nwe have no this synchronization, there is a small probability that the\ncancellation will not be successful.\n\nAnd syzbot report the fellowing crash:\n==================================================================\nBUG: KASAN: use-after-free in hlist_add_head include/linux/list.h:929 [inline]\nBUG: KASAN: use-after-free in enqueue_timer+0x18/0xa4 kernel/time/timer.c:605\nWrite at addr f9ff000024df6058 by task syz-fuzzer/2256\nPointer tag: [f9], memory tag: [fe]\n\nCPU: 1 PID: 2256 Comm: syz-fuzzer Not tainted 6.1.0-rc5-syzkaller-00008-\nge01d50cbd6ee #0\nHardware name: linux,dummy-virt (DT)\nCall trace:\n dump_backtrace.part.0+0xe0/0xf0 arch/arm64/kernel/stacktrace.c:156\n dump_backtrace arch/arm64/kernel/stacktrace.c:162 [inline]\n show_stack+0x18/0x40 arch/arm64/kernel/stacktrace.c:163\n __dump_stack lib/dump_stack.c:88 [inline]\n dump_stack_lvl+0x68/0x84 lib/dump_stack.c:106\n print_address_description mm/kasan/report.c:284 [inline]\n print_report+0x1a8/0x4a0 mm/kasan/report.c:395\n kasan_report+0x94/0xb4 mm/kasan/report.c:495\n __do_kernel_fault+0x164/0x1e0 arch/arm64/mm/fault.c:320\n do_bad_area arch/arm64/mm/fault.c:473 [inline]\n do_tag_check_fault+0x78/0x8c arch/arm64/mm/fault.c:749\n do_mem_abort+0x44/0x94 arch/arm64/mm/fault.c:825\n el1_abort+0x40/0x60 arch/arm64/kernel/entry-common.c:367\n el1h_64_sync_handler+0xd8/0xe4 arch/arm64/kernel/entry-common.c:427\n el1h_64_sync+0x64/0x68 arch/arm64/kernel/entry.S:576\n hlist_add_head include/linux/list.h:929 [inline]\n enqueue_timer+0x18/0xa4 kernel/time/timer.c:605\n mod_timer+0x14/0x20 kernel/time/timer.c:1161\n mrp_periodic_timer_arm net/802/mrp.c:614 [inline]\n mrp_periodic_timer+0xa0/0xc0 net/802/mrp.c:627\n call_timer_fn.constprop.0+0x24/0x80 kernel/time/timer.c:1474\n expire_timers+0x98/0xc4 kernel/time/timer.c:1519\n\nTo fix it, we can introduce a new active flags to make sure the timer will\nnot restart.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmrp: introduce active flags to prevent UAF when applicant uninit\n\nThe caller of del_timer_sync must prevent restarting of the timer, If\nwe have no this synchronization, there is a small probability that the\ncancellation will not be successful.\n\nAnd syzbot report the fellowing crash:\n==================================================================\nBUG: KASAN: use-after-free in hlist_add_head include/linux/list.h:929 [inline]\nBUG: KASAN: use-after-free in enqueue_timer+0x18/0xa4 kernel/time/timer.c:605\nWrite at addr f9ff000024df6058 by task syz-fuzzer/2256\nPointer tag: [f9], memory tag: [fe]\n\nCPU: 1 PID: 2256 Comm: syz-fuzzer Not tainted 6.1.0-rc5-syzkaller-00008-\nge01d50cbd6ee #0\nHardware name: linux,dummy-virt (DT)\nCall trace:\n dump_backtrace.part.0+0xe0/0xf0 arch/arm64/kernel/stacktrace.c:156\n dump_backtrace arch/arm64/kernel/stacktrace.c:162 [inline]\n show_stack+0x18/0x40 arch/arm64/kernel/stacktrace.c:163\n __dump_stack lib/dump_stack.c:88 [inline]\n dump_stack_lvl+0x68/0x84 lib/dump_stack.c:106\n print_address_description mm/kasan/report.c:284 [inline]\n print_report+0x1a8/0x4a0 mm/kasan/report.c:395\n kasan_report+0x94/0xb4 mm/kasan/report.c:495\n __do_kernel_fault+0x164/0x1e0 arch/arm64/mm/fault.c:320\n do_bad_area arch/arm64/mm/fault.c:473 [inline]\n do_tag_check_fault+0x78/0x8c arch/arm64/mm/fault.c:749\n do_mem_abort+0x44/0x94 arch/arm64/mm/fault.c:825\n el1_abort+0x40/0x60 arch/arm64/kernel/entry-common.c:367\n el1h_64_sync_handler+0xd8/0xe4 arch/arm64/kernel/entry-common.c:427\n el1h_64_sync+0x64/0x68 arch/arm64/kernel/entry.S:576\n hlist_add_head include/linux/list.h:929 [inline]\n enqueue_timer+0x18/0xa4 kernel/time/timer.c:605\n mod_timer+0x14/0x20 kernel/time/timer.c:1161\n mrp_periodic_timer_arm net/802/mrp.c:614 [inline]\n mrp_periodic_timer+0xa0/0xc0 net/802/mrp.c:627\n call_timer_fn.constprop.0+0x24/0x80 kernel/time/timer.c:1474\n expire_timers+0x98/0xc4 kernel/time/timer.c:1519\n\nTo fix it, we can introduce a new active flags to make sure the timer will\nnot restart.","source":"cvelist"}],"published":"2025-12-24T10:55:13.762Z","modified":"2026-10-15T22:17:32.647Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"febf018d22347b5df94066bca05d0c11a84e839d","fixed":"98f53e591940e4c3818be358c5dc684d5b30cb56","status":"affected"},{"type":"git","introduced":"febf018d22347b5df94066bca05d0c11a84e839d","fixed":"aacffc1a8dbf67c5463cb4f67b37143c01ca6fa9","status":"affected"},{"type":"git","introduced":"febf018d22347b5df94066bca05d0c11a84e839d","fixed":"78d48bc41f7726113c9f114268d3ab11212814da","status":"affected"},{"type":"git","introduced":"febf018d22347b5df94066bca05d0c11a84e839d","fixed":"aadb1507a77b060c529edfeaf67f803e31461f24","status":"affected"},{"type":"git","introduced":"febf018d22347b5df94066bca05d0c11a84e839d","fixed":"755eb0879224ffc2a43de724554aeaf0e51e5a64","status":"affected"},{"type":"git","introduced":"febf018d22347b5df94066bca05d0c11a84e839d","fixed":"5d5a481a7fd0234f617535dc464ea010804a1129","status":"affected"},{"type":"git","introduced":"febf018d22347b5df94066bca05d0c11a84e839d","fixed":"1a185fe83c2a60c1e3596fb9d82dbeb148dc09c6","status":"affected"},{"type":"git","introduced":"febf018d22347b5df94066bca05d0c11a84e839d","fixed":"563e45fd5046045cc194af3ba17f5423e1c98170","status":"affected"},{"type":"git","introduced":"febf018d22347b5df94066bca05d0c11a84e839d","fixed":"ab0377803dafc58f1e22296708c1c28e309414d6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.9","status":"unaffected"},{"type":"semver","introduced":"4.9.337","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.303","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/98f53e591940e4c3818be358c5dc684d5b30cb56","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aacffc1a8dbf67c5463cb4f67b37143c01ca6fa9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/78d48bc41f7726113c9f114268d3ab11212814da","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aadb1507a77b060c529edfeaf67f803e31461f24","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/755eb0879224ffc2a43de724554aeaf0e51e5a64","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d5a481a7fd0234f617535dc464ea010804a1129","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a185fe83c2a60c1e3596fb9d82dbeb148dc09c6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/563e45fd5046045cc194af3ba17f5423e1c98170","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab0377803dafc58f1e22296708c1c28e309414d6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:32:05.442Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50697","url":"https://www.cve.org/CVERecord?id=CVE-2022-50697","licence":"CVE Terms of Use","modified":"2026-10-15T21:41:22.920Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50697","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50697","licence":"Public domain","modified":"2026-10-15T22:17:32.647Z"}],"updatedAt":"2026-11-25T22:58:21.323Z","epss":{"score":0.00169,"percentile":0.06545,"date":"2026-12-01T12:00:22.000Z"}}