Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-47744 on Ubuntu — linux

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: Use dedicated mutex to protect kvm_usage_count to avoid deadlock Use a dedicated mutex to guard kvm_usage_count to fix a potential deadlock on x86 due to a chain of locks and SRCU synchronizations. Translating the below lockdep splat, CPU1 #6 will wait on CPU0 #1, CPU0 #8 will wait on CPU2 #3, and CPU2 #7 will wait on CPU1 #4 (if there's a writer, due to the fairness of r/w semaphores). CPU0 CPU1 CPU2 1 lock(&kvm->slots_lock); 2 lock(&vcpu->mutex); 3 lock(&kvm->srcu); 4 lock(cpu_hotplug_lock); 5 lock(kvm_lock); 6 lock(&kvm->slots_lock); 7 lock(cpu_hotplug_lock); 8 sync(&kvm->srcu); Note, there are likely more potential deadlocks in KVM x86, e.g. the same pattern of taking cpu_hotplug_lock outside of kvm_lock likely exists with __kvmclock_cpufreq_notifier(): cpuhp_cpufreq_online() | -> cpufreq_online() | -> cpufreq_gov_performance_limits() | -> __cpufreq_driver_target() | -> __target_index() | -> cpufreq_freq_transition_begin() | -> cpufreq_notify_transition() | -> ... __kvmclock_cpufreq_notifier() But, actually triggering such deadlocks is beyond rare due to the combination of dependencies and timings involved. E.g. the cpufreq notifier is only used on older CPUs without a constant TSC, mucking with the NX hugepage mitigation while VMs are running is very uncommon, and doing so while also onlining/offlining a CPU (necessary to generate contention on cpu_hotplug_lock) would be even more unusual. The most robust solution to the general cpu_hotplug_lock issue is likely to switch vm_list to be an RCU-protected list, e.g. so that x86's cpufreq notifier doesn't to take kvm_lock. For now, settle for fixing the most blatant deadlock, as switching to an RCU-protected list is a much more involved change, but add a comment in locking.rst to call out that care needs to be taken when walking holding kvm_lock and walking vm_list. ====================================================== WARNING: possible circular locking dependency detected 6.10.0-smp--c257535a0c9d-pip #330 Tainted: G S O ------------------------------------------------------ tee/35048 is trying to acquire lock: ff6a80eced71e0a8 (&kvm->slots_lock){+.+.}-{3:3}, at: set_nx_huge_pages+0x179/0x1e0 [kvm] but task is already holding lock: ffffffffc07abb08 (kvm_lock){+.+.}-{3:3}, at: set_nx_huge_pages+0x14a/0x1e0 [kvm] which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #3 (kvm_lock){+.+.}-{3:3}: __mutex_lock+0x6a/0xb40 mutex_lock_nested+0x1f/0x30 kvm_dev_ioctl+0x4fb/0xe50 [kvm] __se_sys_ioctl+0x7b/0xd0 __x64_sys_ioctl+0x21/0x30 x64_sys_call+0x15d0/0x2e60 do_syscall_64+0x83/0x160 entry_SYSCALL_64_after_hwframe+0x76/0x7e -> #2 (cpu_hotplug_lock){++++}-{0:0}: cpus_read_lock+0x2e/0xb0 static_key_slow_inc+0x16/0x30 kvm_lapic_set_base+0x6a/0x1c0 [kvm] kvm_set_apic_base+0x8f/0xe0 [kvm] kvm_set_msr_common+0x9ae/0xf80 [kvm] vmx_set_msr+0xa54/0xbe0 [kvm_intel] __kvm_set_msr+0xb6/0x1a0 [kvm] kvm_arch_vcpu_ioctl+0xeca/0x10c0 [kvm] kvm_vcpu_ioctl+0x485/0x5b0 [kvm] __se_sys_ioctl+0x7b/0xd0 __x64_sys_ioctl+0x21/0x30 x64_sys_call+0x15d0/0x2e60 do_syscall_64+0x83/0x160 entry_SYSCALL_64_after_hwframe+0x76/0x7e -> #1 (&kvm->srcu){.+.+}-{0:0}: __synchronize_srcu+0x44/0x1a0 ---truncated---

Distribution advisory

This page covers CVE-2024-47744 as tracked by Ubuntu, for the package linux. The fix is available in version 6.8.0-54.56; earlier versions remain affected.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Affected software

UBUNTU-CVE-2024-47744 is recorded against 94 packages.

  • linux (fixed in 6.8.0-54.56)
  • linux-allwinner-5.19
  • linux-aws (fixed in 6.8.0-1023.25)
  • linux-aws-5.0
  • linux-aws-5.11
  • linux-aws-5.13
  • linux-aws-5.19
  • linux-aws-5.3
  • linux-aws-5.8
  • linux-aws-6.2
  • linux-aws-6.5
  • linux-aws-6.8 (fixed in 6.8.0-1023.25~22.04.1)
  • linux-azure (fixed in 6.8.0-1025.30)
  • linux-azure-5.11
  • linux-azure-5.13
  • linux-azure-5.19
  • linux-azure-5.3
  • linux-azure-5.8
  • linux-azure-6.2
  • linux-azure-6.5
  • linux-azure-6.8 (fixed in 6.8.0-1025.30~22.04.1)
  • linux-azure-edge
  • linux-azure-fde
  • linux-azure-fde-5.19
Show the remaining 70 packages
  • linux-azure-fde-6.2
  • linux-gcp (fixed in 6.8.0-1024.26)
  • linux-gcp-5.11
  • linux-gcp-5.13
  • linux-gcp-5.19
  • linux-gcp-5.3
  • linux-gcp-5.8
  • linux-gcp-6.2
  • linux-gcp-6.5
  • linux-gcp-6.8 (fixed in 6.8.0-1024.26~22.04.1)
  • linux-gke (fixed in 6.8.0-1019.23)
  • linux-gke-4.15
  • linux-gke-5.15
  • linux-gke-5.4
  • linux-gkeop (fixed in 6.8.0-1006.8)
  • linux-gkeop-5.4
  • linux-hwe
  • linux-hwe-5.11
  • linux-hwe-5.13
  • linux-hwe-5.19
  • linux-hwe-5.8
  • linux-hwe-6.2
  • linux-hwe-6.5
  • linux-hwe-6.8 (fixed in 6.8.0-57.59~22.04.1)
  • linux-hwe-edge
  • linux-ibm (fixed in 6.8.0-1022.22)
  • linux-intel-5.13
  • linux-intel-iot-realtime
  • linux-lowlatency (fixed in 6.8.0-54.56.1)
  • linux-lowlatency-hwe-5.19
  • linux-lowlatency-hwe-6.2
  • linux-lowlatency-hwe-6.5
  • linux-lowlatency-hwe-6.8 (fixed in 6.8.0-54.56.1~22.04.1)
  • linux-nvidia (fixed in 6.8.0-1022.25)
  • linux-nvidia-6.2
  • linux-nvidia-6.5
  • linux-nvidia-6.8 (fixed in 6.8.0-1022.25~22.04.2)
  • linux-nvidia-lowlatency (fixed in 6.8.0-1022.25.2)
  • linux-oem
  • linux-oem-5.10
  • linux-oem-5.13
  • linux-oem-5.14
  • linux-oem-5.17
  • linux-oem-5.6
  • linux-oem-6.0
  • linux-oem-6.1
  • linux-oem-6.11 (fixed in 6.11.0-1015.15)
  • linux-oem-6.5
  • linux-oem-6.8 (fixed in 6.8.0-1024.24)
  • linux-oracle (fixed in 6.8.0-1020.21)
  • linux-oracle-5.0
  • linux-oracle-5.11
  • linux-oracle-5.13
  • linux-oracle-5.3
  • linux-oracle-5.8
  • linux-oracle-6.5
  • linux-oracle-6.8 (fixed in 6.8.0-1020.21~22.04.1)
  • linux-raspi (fixed in 6.8.0-1019.23)
  • linux-raspi-realtime (fixed in 6.8.0-2018.19)
  • linux-raspi2
  • linux-realtime (fixed in 6.8.1-1016.17)
  • linux-riscv (fixed in 6.8.0-53.55.1)
  • linux-riscv-5.11
  • linux-riscv-5.19
  • linux-riscv-5.8
  • linux-riscv-6.5
  • linux-riscv-6.8 (fixed in 6.8.0-53.55.1~22.04.1)
  • linux-starfive-5.19
  • linux-starfive-6.2
  • linux-starfive-6.5

Timeline and source

Published on 21 October 2024 and last revised on 22 April 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

ubuntu.com (Report)
www.cve.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)

Other advisories for this package

linux has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2024-47744 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2024-10-21
Updated 2026-08-20
Modified 2026-04-22
Fix URL N/A

Affected Packages

Software From version Fixed in
linux — 6.8.0-54.56
linux-allwinner-5.19 — —
linux-aws — 6.8.0-1023.25
linux-aws-5.0 — —
linux-aws-5.11 — —
linux-aws-5.13 — —
linux-aws-5.19 — —
linux-aws-5.3 — —
linux-aws-5.8 — —
linux-aws-6.2 — —
linux-aws-6.5 — —
linux-aws-6.8 — 6.8.0-1023.25~22.04.1
linux-azure — 6.8.0-1025.30
linux-azure-5.11 — —
linux-azure-5.13 — —
linux-azure-5.19 — —
linux-azure-5.3 — —
linux-azure-5.8 — —
linux-azure-6.2 — —
linux-azure-6.5 — —
linux-azure-6.8 — 6.8.0-1025.30~22.04.1
linux-azure-edge — —
linux-azure-fde — —
linux-azure-fde-5.19 — —
linux-azure-fde-6.2 — —
linux-gcp — 6.8.0-1024.26
linux-gcp-5.11 — —
linux-gcp-5.13 — —
linux-gcp-5.19 — —
linux-gcp-5.3 — —
linux-gcp-5.8 — —
linux-gcp-6.2 — —
linux-gcp-6.5 — —
linux-gcp-6.8 — 6.8.0-1024.26~22.04.1
linux-gke — 6.8.0-1019.23
linux-gke-4.15 — —
linux-gke-5.15 — —
linux-gke-5.4 — —
linux-gkeop — 6.8.0-1006.8
linux-gkeop-5.4 — —
linux-hwe — —
linux-hwe-5.11 — —
linux-hwe-5.13 — —
linux-hwe-5.19 — —
linux-hwe-5.8 — —
linux-hwe-6.2 — —
linux-hwe-6.5 — —
linux-hwe-6.8 — 6.8.0-57.59~22.04.1
linux-hwe-edge — —
linux-ibm — 6.8.0-1022.22
linux-intel-5.13 — —
linux-intel-iot-realtime — —
linux-lowlatency — 6.8.0-54.56.1
linux-lowlatency-hwe-5.19 — —
linux-lowlatency-hwe-6.2 — —
linux-lowlatency-hwe-6.5 — —
linux-lowlatency-hwe-6.8 — 6.8.0-54.56.1~22.04.1
linux-nvidia — 6.8.0-1022.25
linux-nvidia-6.2 — —
linux-nvidia-6.5 — —
linux-nvidia-6.8 — 6.8.0-1022.25~22.04.2
linux-nvidia-lowlatency — 6.8.0-1022.25.2
linux-oem — —
linux-oem-5.10 — —
linux-oem-5.13 — —
linux-oem-5.14 — —
linux-oem-5.17 — —
linux-oem-5.6 — —
linux-oem-6.0 — —
linux-oem-6.1 — —
linux-oem-6.11 — 6.11.0-1015.15
linux-oem-6.5 — —
linux-oem-6.8 — 6.8.0-1024.24
linux-oracle — 6.8.0-1020.21
linux-oracle-5.0 — —
linux-oracle-5.11 — —
linux-oracle-5.13 — —
linux-oracle-5.3 — —
linux-oracle-5.8 — —
linux-oracle-6.5 — —
linux-oracle-6.8 — 6.8.0-1020.21~22.04.1
linux-raspi — 6.8.0-1019.23
linux-raspi-realtime — 6.8.0-2018.19
linux-raspi2 — —
linux-realtime — 6.8.1-1016.17
linux-riscv — 6.8.0-53.55.1
linux-riscv-5.11 — —
linux-riscv-5.19 — —
linux-riscv-5.8 — —
linux-riscv-6.5 — —
linux-riscv-6.8 — 6.8.0-53.55.1~22.04.1
linux-starfive-5.19 — —
linux-starfive-6.2 — —
linux-starfive-6.5 — —

References

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in linux

UBUNTU-CVE-2024-47744 is rated CVSS 5.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesUbuntuUbuntu 2024
✓