# CVE-2022-49709: cfi: Fix \_\_cfi\_slowpath\_diag RCU usage with cpuidle

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.28% (percentile 13, 2026-11-26)
- **Published:** 2025-02-26T02:24:26.817Z
- **Modified:** 2026-06-17T05:18:55.847Z

## Who should check

- Anyone running Linux \>= cf68fffb66d60d96209446bfc4a15291dc5a5d41, \< 75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed; \>= cf68fffb66d60d96209446bfc4a15291dc5a5d41, \< ca3897f2ac02ceae5e6fa794f83c36f9885b93da; \>= cf68fffb66d60d96209446bfc4a15291dc5a5d41, \< 57cd6d157eb479f0a8e820fd36b7240845c8a937
- Anyone running Linux 5.13

## Description

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

cfi: Fix \_\_cfi\_slowpath\_diag RCU usage with cpuidle

RCU\_NONIDLE usage during \_\_cfi\_slowpath\_diag can result in an invalid
RCU state in the cpuidle code path:

  WARNING: CPU: 1 PID: 0 at kernel/rcu/tree.c:613 rcu\_eqs\_enter+0xe4/0x138
  ...
  Call trace:
    rcu\_eqs\_enter+0xe4/0x138
    rcu\_idle\_enter+0xa8/0x100
    cpuidle\_enter\_state+0x154/0x3a8
    cpuidle\_enter+0x3c/0x58
    do\_idle.llvm.6590768638138871020+0x1f4/0x2ec
    cpu\_startup\_entry+0x28/0x2c
    secondary\_start\_kernel+0x1b8/0x220
    \_\_secondary\_switched+0x94/0x98

Instead, call rcu\_irq\_enter/exit to wake up RCU only when needed and
disable interrupts for the entire CFI shadow/module check when we do.

## Affected and fixed versions

- Linux: \>= cf68fffb66d60d96209446bfc4a15291dc5a5d41, \< 75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed; \>= cf68fffb66d60d96209446bfc4a15291dc5a5d41, \< ca3897f2ac02ceae5e6fa794f83c36f9885b93da; \>= cf68fffb66d60d96209446bfc4a15291dc5a5d41, \< 57cd6d157eb479f0a8e820fd36b7240845c8a937 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 57cd6d157eb479f0a8e820fd36b7240845c8a937 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49709.md
Affected: Linux >= cf68fffb66d60d96209446bfc4a15291dc5a5d41, < 75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed; >= cf68fffb66d60d96209446bfc4a15291dc5a5d41, < ca3897f2ac02ceae5e6fa794f83c36f9885b93da; >= cf68fffb66d60d96209446bfc4a15291dc5a5d41, < 57cd6d157eb479f0a8e820fd36b7240845c8a937; Linux 5.13
Fixed in: Linux 75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed, Linux 57cd6d157eb479f0a8e820fd36b7240845c8a937

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-49709 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= cf68fffb66d60d96209446bfc4a15291dc5a5d41, \< 75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed; \>= cf68fffb66d60d96209446bfc4a15291dc5a5d41, \< ca3897f2ac02ceae5e6fa794f83c36f9885b93da; \>= cf68fffb66d60d96209446bfc4a15291dc5a5d41, \< 57cd6d157eb479f0a8e820fd36b7240845c8a937; Linux 5.13.

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

Yes. Fixed in Linux 75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed, Linux 57cd6d157eb479f0a8e820fd36b7240845c8a937. Upgrade Linux to 57cd6d157eb479f0a8e820fd36b7240845c8a937 or later.

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

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

- patch: <https://git.kernel.org/stable/c/75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed>
- patch: <https://git.kernel.org/stable/c/ca3897f2ac02ceae5e6fa794f83c36f9885b93da>
- patch: <https://git.kernel.org/stable/c/57cd6d157eb479f0a8e820fd36b7240845c8a937>

## 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-49709>

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