CVE-2021-47584
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47584 affects the Linux kernel's iocost functionality. The vulnerability was discovered in the donation calculation logic where a divide-by-zero condition could occur when handling low hweight cgroups. This issue affects Linux kernel versions from 5.10 up to (excluding) 5.10.88 and versions from 5.11 up to (excluding) 5.15.11 (NVD).

Technical details

The vulnerability stems from an assumption in the donation calculation logic that the donor has non-zero after-donation hweight. The lowest active hweight a donating cgroup should have is 2, allowing it to donate 1 while keeping 1 for itself. However, after implementing a precise donation algorithm through commit f1de2439ec43, low hweight cgroups could enter donation calculations, leading to a divide-by-zero error when a cgroup with active hweight of 1 attempts to donate. The vulnerability has a CVSS v3.1 Base Score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can trigger a divide-by-zero oops in the kernel, potentially leading to a system crash. The issue occurs in the block/blk-iocost.c component and affects the system's I/O cost controller functionality (Kernel Patch).

Mitigation and workarounds

The issue has been fixed by excluding cgroups with active hweight < 2 from donating. The fix was implemented in the kernel by adding a condition check before donation calculations. The patch has been backported to affected stable kernel versions. Users should upgrade to Linux kernel version 5.10.88 or later for the 5.10 series, or 5.15.11 or later for the 5.15 series (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management