{"id":"CVE-2022-49709","summary":"cfi: Fix __cfi_slowpath_diag RCU usage with cpuidle","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncfi: Fix __cfi_slowpath_diag RCU usage with cpuidle\n\nRCU_NONIDLE usage during __cfi_slowpath_diag can result in an invalid\nRCU state in the cpuidle code path:\n\n  WARNING: CPU: 1 PID: 0 at kernel/rcu/tree.c:613 rcu_eqs_enter+0xe4/0x138\n  ...\n  Call trace:\n    rcu_eqs_enter+0xe4/0x138\n    rcu_idle_enter+0xa8/0x100\n    cpuidle_enter_state+0x154/0x3a8\n    cpuidle_enter+0x3c/0x58\n    do_idle.llvm.6590768638138871020+0x1f4/0x2ec\n    cpu_startup_entry+0x28/0x2c\n    secondary_start_kernel+0x1b8/0x220\n    __secondary_switched+0x94/0x98\n\nInstead, call rcu_irq_enter/exit to wake up RCU only when needed and\ndisable interrupts for the entire CFI shadow/module check when we do.","modified":"2026-04-02T08:27:51.261175Z","published":"2025-02-26T02:24:26.817Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49709.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/57cd6d157eb479f0a8e820fd36b7240845c8a937"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ca3897f2ac02ceae5e6fa794f83c36f9885b93da"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49709.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49709"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"cf68fffb66d60d96209446bfc4a15291dc5a5d41"},{"fixed":"75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed"},{"fixed":"ca3897f2ac02ceae5e6fa794f83c36f9885b93da"},{"fixed":"57cd6d157eb479f0a8e820fd36b7240845c8a937"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49709.json"}}],"schema_version":"1.7.5"}