{"id":"CVE-2022-49709","aliases":["CVE-2022-49709"],"related":[],"kind":"vulnerability","state":"published","title":"cfi: Fix __cfi_slowpath_diag RCU usage with cpuidle","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cfi: Se solucionó el uso de RCU de __cfi_slowpath_diag con cpuidle El uso de RCU_NONIDLE durante __cfi_slowpath_diag puede generar un estado de RCU no válido en la ruta del código cpuidle: ADVERTENCIA: CPU: 1 PID: 0 en kernel/rcu/tree.c:613 rcu_eqs_enter+0xe4/0x138 ... Rastreo de llamadas: 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 En su lugar, llame a rcu_irq_enter/exit para activar RCU solo cuando sea necesario y deshabilite las interrupciones para toda la verificación del módulo/sombra CFI cuando lo hagamos.","source":"nvd"}],"published":"2025-02-26T02:24:26.817Z","modified":"2026-06-17T05:18:55.847Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"cf68fffb66d60d96209446bfc4a15291dc5a5d41","fixed":"75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed","status":"affected"},{"type":"git","introduced":"cf68fffb66d60d96209446bfc4a15291dc5a5d41","fixed":"ca3897f2ac02ceae5e6fa794f83c36f9885b93da","status":"affected"},{"type":"git","introduced":"cf68fffb66d60d96209446bfc4a15291dc5a5d41","fixed":"57cd6d157eb479f0a8e820fd36b7240845c8a937","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"5.15.49","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.6","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.13","fixed":"5.15.49"},{"status":"affected","introduced":"5.16","fixed":"5.18.6"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/75f3a5fa2ad049c85ab5d5ee1ed9cfaa7e62c5ed","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca3897f2ac02ceae5e6fa794f83c36f9885b93da","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/57cd6d157eb479f0a8e820fd36b7240845c8a937","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49709","url":"https://www.cve.org/CVERecord?id=CVE-2022-49709","licence":"CVE Terms of Use","modified":"2026-05-11T19:05:13.734Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49709","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49709","licence":"Public domain","modified":"2026-06-17T05:18:55.847Z"}],"updatedAt":"2026-11-25T22:58:20.819Z","epss":{"score":0.00258,"percentile":0.18673,"date":"2026-12-02T12:00:21.000Z"}}