Skip to main content
Network Thinking Solutions Logo

CVE-2025-21874

Linux kernel: dm-integrity: Avoid divide by zero in table status in Inline mode

All CVEs
CVE-2025-21874Published 3/27/2025

Linux kernel: dm-integrity: Avoid divide by zero in table status in Inline mode

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: dm-integrity: Avoid divide by zero in table status in Inline mode In Inline mode, the journal is unused, and journal_sectors is zero. Calculating the journal watermark requires dividing by journal_sectors, which should be done only if the journal is configured. Otherwise, a simple table query (dmsetup table) can cause OOPS. This bug did not show on some systems, perhaps only due to compiler optimization. On my 32-bit testing machine, this reliably crashes with the following: : Oops: divide error: 0000 [#1] PREEMPT SMP : CPU: 0 UID: 0 PID: 2450 Comm: dmsetup Not tainted 6.14.0-rc2+ #959 : EIP: dm_integrity_status+0x2f8/0xab0 [dm_integrity] ...

Published
3/27/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.11, < 6.12.18

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.6

Verify advisory

Source
linux kernel
linux
6.14

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ fb0987682c629c1d2c476f35f6fde405a5e304a4, < 22c6f577b3cb184857b440ae5e5916f6c9e7021d

Verify advisory

Source
Linux
Linux
≥ fb0987682c629c1d2c476f35f6fde405a5e304a4, < 06d9895f265282e939a8933bb18de82eba2b4dda

Verify advisory

Source
Linux
Linux
≥ fb0987682c629c1d2c476f35f6fde405a5e304a4, < 7fb39882b20c98a9a393c244c86b56ef6933cff8

Verify advisory

Source
Linux
Linux
6.11

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.