CVE-2025-21874
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21874 is a vulnerability discovered in the Linux kernel's dm-integrity component, specifically affecting the table status functionality in Inline mode. The vulnerability was disclosed on March 27, 2025. The issue occurs when the journal is unused and journal_sectors is zero in Inline mode, leading to a potential divide by zero condition (NVD Database, Red Hat Security).

Technical details

The vulnerability manifests when calculating the journal watermark in Inline mode, where journal_sectors is zero and the journal is unused. When attempting to divide by journal_sectors without proper validation, it triggers a divide by zero error. The vulnerability has been assigned a CVSS v3.1 score of 5.5 with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating a moderate severity level (Red Hat Security).

Impact

When exploited, this vulnerability can cause a system crash through an OOPS error. On affected systems, particularly 32-bit testing machines, the vulnerability reliably crashes with a divide error: 0000 [#1] PREEMPT SMP error, affecting the CPU 0 with PID 2450 in the dmsetup process (NVD Database).

Exploitability

The vulnerability can be triggered through a simple table query using the dmsetup command. The issue appears to be more reliably reproducible on 32-bit systems, though its manifestation may vary depending on compiler optimization (NVD Database).

Mitigation and workarounds

Red Hat has acknowledged the vulnerability and marked it as 'Fix deferred' for Red Hat Enterprise Linux 9 and kernel-rt packages. Other versions of Red Hat Enterprise Linux (6, 7, and 8) are not affected by this vulnerability (Red Hat Security).

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-2026-74583NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2026-74582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 21, 2026
CVE-2026-74581NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-internal
NoYesAug 21, 2026
CVE-2026-74580NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel-matched
NoYesAug 21, 2026

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