# CVE-2022-50697: mrp: introduce active flags to prevent UAF when applicant uninit

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2025-12-24T10:55:13.762Z
- **Modified:** 2026-10-15T22:17:32.647Z

## Who should check

- Anyone running Linux \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 98f53e591940e4c3818be358c5dc684d5b30cb56; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< aacffc1a8dbf67c5463cb4f67b37143c01ca6fa9; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 78d48bc41f7726113c9f114268d3ab11212814da; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< aadb1507a77b060c529edfeaf67f803e31461f24; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 755eb0879224ffc2a43de724554aeaf0e51e5a64; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 5d5a481a7fd0234f617535dc464ea010804a1129; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 1a185fe83c2a60c1e3596fb9d82dbeb148dc09c6; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 563e45fd5046045cc194af3ba17f5423e1c98170; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< ab0377803dafc58f1e22296708c1c28e309414d6
- Anyone running Linux 3.9

## Description

In the Linux kernel, the following vulnerability has been resolved:

mrp: introduce active flags to prevent UAF when applicant uninit

The caller of del\_timer\_sync must prevent restarting of the timer, If
we have no this synchronization, there is a small probability that the
cancellation will not be successful.

And syzbot report the fellowing crash:
==================================================================
BUG: KASAN: use-after-free in hlist\_add\_head include/linux/list.h:929 \[inline\]
BUG: KASAN: use-after-free in enqueue\_timer+0x18/0xa4 kernel/time/timer.c:605
Write at addr f9ff000024df6058 by task syz-fuzzer/2256
Pointer tag: \[f9\], memory tag: \[fe\]

CPU: 1 PID: 2256 Comm: syz-fuzzer Not tainted 6.1.0-rc5-syzkaller-00008-
ge01d50cbd6ee \#0
Hardware name: linux,dummy-virt (DT)
Call trace:
 dump\_backtrace.part.0+0xe0/0xf0 arch/arm64/kernel/stacktrace.c:156
 dump\_backtrace arch/arm64/kernel/stacktrace.c:162 \[inline\]
 show\_stack+0x18/0x40 arch/arm64/kernel/stacktrace.c:163
 \_\_dump\_stack lib/dump\_stack.c:88 \[inline\]
 dump\_stack\_lvl+0x68/0x84 lib/dump\_stack.c:106
 print\_address\_description mm/kasan/report.c:284 \[inline\]
 print\_report+0x1a8/0x4a0 mm/kasan/report.c:395
 kasan\_report+0x94/0xb4 mm/kasan/report.c:495
 \_\_do\_kernel\_fault+0x164/0x1e0 arch/arm64/mm/fault.c:320
 do\_bad\_area arch/arm64/mm/fault.c:473 \[inline\]
 do\_tag\_check\_fault+0x78/0x8c arch/arm64/mm/fault.c:749
 do\_mem\_abort+0x44/0x94 arch/arm64/mm/fault.c:825
 el1\_abort+0x40/0x60 arch/arm64/kernel/entry-common.c:367
 el1h\_64\_sync\_handler+0xd8/0xe4 arch/arm64/kernel/entry-common.c:427
 el1h\_64\_sync+0x64/0x68 arch/arm64/kernel/entry.S:576
 hlist\_add\_head include/linux/list.h:929 \[inline\]
 enqueue\_timer+0x18/0xa4 kernel/time/timer.c:605
 mod\_timer+0x14/0x20 kernel/time/timer.c:1161
 mrp\_periodic\_timer\_arm net/802/mrp.c:614 \[inline\]
 mrp\_periodic\_timer+0xa0/0xc0 net/802/mrp.c:627
 call\_timer\_fn.constprop.0+0x24/0x80 kernel/time/timer.c:1474
 expire\_timers+0x98/0xc4 kernel/time/timer.c:1519

To fix it, we can introduce a new active flags to make sure the timer will
not restart.

## Affected and fixed versions

- Linux: \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 98f53e591940e4c3818be358c5dc684d5b30cb56; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< aacffc1a8dbf67c5463cb4f67b37143c01ca6fa9; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 78d48bc41f7726113c9f114268d3ab11212814da; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< aadb1507a77b060c529edfeaf67f803e31461f24; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 755eb0879224ffc2a43de724554aeaf0e51e5a64; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 5d5a481a7fd0234f617535dc464ea010804a1129; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 1a185fe83c2a60c1e3596fb9d82dbeb148dc09c6; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 563e45fd5046045cc194af3ba17f5423e1c98170; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< ab0377803dafc58f1e22296708c1c28e309414d6 (cvelist)
- Linux: 3.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50697. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50697.md
Affected: Linux >= febf018d22347b5df94066bca05d0c11a84e839d, < 98f53e591940e4c3818be358c5dc684d5b30cb56; >= febf018d22347b5df94066bca05d0c11a84e839d, < aacffc1a8dbf67c5463cb4f67b37143c01ca6fa9; >= febf018d22347b5df94066bca05d0c11a84e839d, < 78d48bc41f7726113c9f114268d3ab11212814da; >= febf018d22347b5df94066b…
Fixed in: Linux 98f53e591940e4c3818be358c5dc684d5b30cb56, Linux 78d48bc41f7726113c9f114268d3ab11212814da, Linux 755eb0879224ffc2a43de724554aeaf0e51e5a64, Linux 5d5a481a7fd0234f617535dc464ea010804a1129, Linux 1a185fe83c2a60c1e3596fb9d82dbeb148dc09c6, Linux 563e45fd5046045cc194af3ba17f5423e1c98170

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50697 being exploited?

There is no confirmed exploitation: CVE-2022-50697 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50697?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50697?

Linux \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 98f53e591940e4c3818be358c5dc684d5b30cb56; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< aacffc1a8dbf67c5463cb4f67b37143c01ca6fa9; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 78d48bc41f7726113c9f114268d3ab11212814da; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< aadb1507a77b060c529edfeaf67f803e31461f24; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 755eb0879224ffc2a43de724554aeaf0e51e5a64; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 5d5a481a7fd0234f617535dc464ea010804a1129; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 1a185fe83c2a60c1e3596fb9d82dbeb148dc09c6; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< 563e45fd5046045cc194af3ba17f5423e1c98170; \>= febf018d22347b5df94066bca05d0c11a84e839d, \< ab0377803dafc58f1e22296708c1c28e309414d6; Linux 3.9.

### Is there a fix for CVE-2022-50697?

Yes. Fixed in Linux 98f53e591940e4c3818be358c5dc684d5b30cb56, Linux 78d48bc41f7726113c9f114268d3ab11212814da, Linux 755eb0879224ffc2a43de724554aeaf0e51e5a64, Linux 5d5a481a7fd0234f617535dc464ea010804a1129, Linux 1a185fe83c2a60c1e3596fb9d82dbeb148dc09c6, Linux 563e45fd5046045cc194af3ba17f5423e1c98170. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50697?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/98f53e591940e4c3818be358c5dc684d5b30cb56>
- other: <https://git.kernel.org/stable/c/aacffc1a8dbf67c5463cb4f67b37143c01ca6fa9>
- other: <https://git.kernel.org/stable/c/78d48bc41f7726113c9f114268d3ab11212814da>
- other: <https://git.kernel.org/stable/c/aadb1507a77b060c529edfeaf67f803e31461f24>
- other: <https://git.kernel.org/stable/c/755eb0879224ffc2a43de724554aeaf0e51e5a64>
- other: <https://git.kernel.org/stable/c/5d5a481a7fd0234f617535dc464ea010804a1129>
- other: <https://git.kernel.org/stable/c/1a185fe83c2a60c1e3596fb9d82dbeb148dc09c6>
- other: <https://git.kernel.org/stable/c/563e45fd5046045cc194af3ba17f5423e1c98170>
- other: <https://git.kernel.org/stable/c/ab0377803dafc58f1e22296708c1c28e309414d6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50697>

HTML: <https://flawdb.com/CVE-2022-50697> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50697>
