CVE-2022-49709: cfi: Fix __cfi_slowpath_diag RCU usage with cpuidle

Published Feb 26, 2025
·
Updated

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

cfi: Fix cfislowpathdiag RCU usage with cpuidle

RCUNONIDLE usage during cfislowpathdiag can result in an invalid RCU state in the cpuidle code path:

WARNING: CPU: 1 PID: 0 at kernel/rcu/tree.c:613 rcueqsenter+0xe4/0x138 ... Call trace: rcueqsenter+0xe4/0x138 rcuidleenter+0xa8/0x100 cpuidleenterstate+0x154/0x3a8 cpuidleenter+0x3c/0x58 doidle.llvm.6590768638138871020+0x1f4/0x2ec cpustartupentry+0x28/0x2c secondarystartkernel+0x1b8/0x220 secondaryswitched+0x94/0x98

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

Affected Software

5 affected components
Linux Linux kernel
Linux Linux kernel>=5.13<5.15.49
Linux Linux kernel>=5.16<5.18.6
Linux Linux kernel=5.19-rc1
Linux Linux kernel=5.19-rc2

Event History

Feb 26, 2025
CVE Published
via MITRE·02:24 AM
Data Sourced
via MITRE·02:24 AM
Description
Data Sourced
via NVD·07:01 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-49709?

CVE-2022-49709 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2022-49709?

To fix CVE-2022-49709, it is recommended to upgrade to the latest version of the Linux kernel that includes the fix.

3

What does CVE-2022-49709 affect?

CVE-2022-49709 affects the Linux kernel, specifically related to RCU usage in the cpuidle code path.

4

What are the consequences of not addressing CVE-2022-49709?

Not addressing CVE-2022-49709 could lead to potential instability or incorrect behavior in the Linux kernel's scheduling.

5

Is CVE-2022-49709 under active exploitation?

There is currently no evidence that CVE-2022-49709 is actively being exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203