{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-53089 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-53089 is a medium-severity denial of service vulnerability in Linux kernel, published on 21 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-53089 and fix it if it is affected.\n\nWhat it is: CVE-2024-53089 is a medium-severity denial of service vulnerability in Linux kernel, published on 21 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-53089 in the wild and no public exploit code.\n\nAffected product: Linux kernel. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-53089/ (Markdown: https://insights.sbomify.com/CVE-2024-53089/index.md)","id":"CVE-2024-53089","markdown":"https://insights.sbomify.com/CVE-2024-53089/index.md","name":"CVE-2024-53089","record":{"aliases":["AZL-54611","AZL-54620","BELL-CVE-2024-53089","DEBIAN-CVE-2024-53089","GHSA-cqg5-xfgj-qvgx","ROOT-OS-DEBIAN-12-CVE-2024-53089","UBUNTU-CVE-2024-53089"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"A scheduling while atomic bug in the LoongArch KVM hrtimer implementation on PREEMPT_RT kernels can cause a system crash.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":5.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: KVM: Mark hrtimer to expire in hard interrupt context\n\nLike commit 2c0d278f3293f (\"KVM: LAPIC: Mark hrtimer to expire in hard\ninterrupt context\") and commit 9090825fa9974 (\"KVM: arm/arm64: Let the\ntimer expire in hardirq context on RT\"), On PREEMPT_RT enabled kernels\nunmarked hrtimers are moved into soft interrupt expiry mode by default.\nThen the timers are canceled from an preempt-notifier which is invoked\nwith disabled preemption which is not allowed on PREEMPT_RT.\n\nThe timer callback is short so in could be invoked in hard-IRQ context.\nSo let the timer expire on hard-IRQ context even on -RT.\n\nThis fix a \"scheduling while atomic\" bug for PREEMPT_RT enabled kernels:\n\n BUG: scheduling while atomic: qemu-system-loo/1011/0x00000002\n Modules linked in: amdgpu rfkill nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat ns\n CPU: 1 UID: 0 PID: 1011 Comm: qemu-system-loo Tainted: G        W          6.12.0-rc2+ #1774\n Tainted: [W]=WARN\n Hardware name: Loongson Loongson-3A5000-7A1000-1w-CRB/Loongson-LS3A5000-7A1000-1w-CRB, BIOS vUDK2018-LoongArch-V2.0.0-prebeta9 10/21/2022\n Stack : ffffffffffffffff 0000000000000000 9000000004e3ea38 9000000116744000\n         90000001167475a0 0000000000000000 90000001167475a8 9000000005644830\n         90000000058dc000 90000000058dbff8 9000000116747420 0000000000000001\n         0000000000000001 6a613fc938313980 000000000790c000 90000001001c1140\n         00000000000003fe 0000000000000001 000000000000000d 0000000000000003\n         0000000000000030 00000000000003f3 000000000790c000 9000000116747830\n         90000000057ef000 0000000000000000 9000000005644830 0000000000000004\n         0000000000000000 90000000057f4b58 0000000000000001 9000000116747868\n         900000000451b600 9000000005644830 9000000003a13998 0000000010000020\n         00000000000000b0 0000000000000004 0000000000000000 0000000000071c1d\n         ...\n Call Trace:\n [\u003c9000000003a13998\u003e] show_stack+0x38/0x180\n [\u003c9000000004e3ea34\u003e] dump_stack_lvl+0x84/0xc0\n [\u003c9000000003a71708\u003e] __schedule_bug+0x48/0x60\n [\u003c9000000004e45734\u003e] __schedule+0x1114/0x1660\n [\u003c9000000004e46040\u003e] schedule_rtlock+0x20/0x60\n [\u003c9000000004e4e330\u003e] rtlock_slowlock_locked+0x3f0/0x10a0\n [\u003c9000000004e4f038\u003e] rt_spin_lock+0x58/0x80\n [\u003c9000000003b02d68\u003e] hrtimer_cancel_wait_running+0x68/0xc0\n [\u003c9000000003b02e30\u003e] hrtimer_cancel+0x70/0x80\n [\u003cffff80000235eb70\u003e] kvm_restore_timer+0x50/0x1a0 [kvm]\n [\u003cffff8000023616c8\u003e] kvm_arch_vcpu_load+0x68/0x2a0 [kvm]\n [\u003cffff80000234c2d4\u003e] kvm_sched_in+0x34/0x60 [kvm]\n [\u003c9000000003a749a0\u003e] finish_task_switch.isra.0+0x140/0x2e0\n [\u003c9000000004e44a70\u003e] __schedule+0x450/0x1660\n [\u003c9000000004e45cb0\u003e] schedule+0x30/0x180\n [\u003cffff800002354c70\u003e] kvm_vcpu_block+0x70/0x120 [kvm]\n [\u003cffff800002354d80\u003e] kvm_vcpu_halt+0x60/0x3e0 [kvm]\n [\u003cffff80000235b194\u003e] kvm_handle_gspr+0x3f4/0x4e0 [kvm]\n [\u003cffff80000235f548\u003e] kvm_handle_exit+0x1c8/0x260 [kvm]","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"LoongArch: KVM: Mark hrtimer to expire in hard interrupt context","id":"CVE-2024-53089","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel"],"type":"denial_of_service","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"afs: Fix lock recursion","id":"CVE-2024-53090"},"packages":[],"prev":{"headline":"i40e: fix race condition by adding filter's intermediate sync state","id":"CVE-2024-53088"},"products":["Linux"],"published":"2024-11-21","related":[{"cvss_score":8.8,"headline":"Linux Kernel Out-of-Bounds Write","id":"CVE-2026-53266","kev_date_added":"2026-09-18","published":"2026-06-25"},{"cvss_score":8.8,"headline":"Linux Kernel Improper Input Validation","id":"CVE-2013-6282","kev_date_added":"2022-09-15","published":"2013-11-19"},{"cvss_score":8.4,"headline":"Linux Kernel Heap-Based Buffer Overflow","id":"CVE-2022-0185","kev_date_added":"2024-08-21","published":"2022-02-11"},{"cvss_score":8.4,"headline":"Linux Kernel Privilege Escalation","id":"CVE-2013-2094","kev_date_added":"2022-09-15","published":"2013-05-14"},{"cvss_score":7.8,"headline":"Linux Kernel Unspecified","id":"CVE-2026-53362","kev_date_added":"2026-08-27","published":"2026-07-04"},{"cvss_score":7.8,"headline":"Linux Kernel Missing Initialization of a Variable","id":"CVE-2026-46300","kev_date_added":"2026-10-28","published":"2026-05-23"},{"cvss_score":7.8,"headline":"Linux Kernel Race Condition","id":"CVE-2025-39964","kev_date_added":"2026-09-18","published":"2025-10-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-11","vendors":["Linux"]},"summary":"A scheduling while atomic bug in the LoongArch KVM hrtimer implementation on PREEMPT_RT kernels can cause a system crash.","url":"https://insights.sbomify.com/CVE-2024-53089/"}