CVE-2026-99098

dm-integrity: fix buffer overflow in inline mode with large tag size

Published Oct 26, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

dm-integrity: fix buffer overflow in inline mode with large tag size

In inline mode, dm_integrity_check and dm_integrity_inline_recheck
compute the checksum of each block into an on-stack buffer of
HASH_MAX_DIGESTSIZE bytes. integrity_sector_checksum pads its result
with zeroes up to the tag size, so if the tag size is larger than
HASH_MAX_DIGESTSIZE, the padding runs past the end of the buffer. With
CONFIG_STACKPROTECTOR the kernel panics in dm_integrity_check on the
first read.

Enlarge both buffers to hold MAX_TAG_SIZE bytes, as commit b93b6643e9b5
("dm integrity: fix a crash with unusually large tag size") did for
integrity_metadata.

Note that this is not a security bug because the buffer overflow can only
be triggered by root.

Analysis

AI-generated

Technical impact

The vulnerability is a stack‑based buffer overflow that occurs when dm_integrity_check computes a block checksum in inline mode. If the tag size set in the configuration is larger than the maximum digest size supported by the kernel, the padding routine overruns a fixed‑size buffer, causing a kernel panic. The overflow can only be triggered by a user with root privileges. The primary impact is a local denial‑of‑service that terminates the system, but it does not grant additional privileges or exfiltrate data.

Affected Systems

All Linux kernel builds that include the dm‑integrity module are affected. The CVE does not specify a particular kernel version, but any build that uses the flawed inline checksum logic before the recent buffer‑size fix is vulnerable.

Risk and Exploitability

The EPSS score is <1% and the CVSS rating of 4.4 indicates low severity. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a local, privileged root user modifying the dm‑integrity configuration to use a tag size larger than HASH_MAX_DIGESTSIZE. Attackers with such privileges can trigger a kernel panic, which is a denial‑of‑service that terminates the system, but no elevation of privilege or data exfiltration is achieved. The risk is therefore low to moderate, primarily affecting systems where root or administrative users can alter dm‑integrity settings. In most environments, the impact is limited to local denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains commit b93b6643e9b5, which expands the buffers in dm_integrity to accommodate larger tag sizes.
  • If an immediate kernel upgrade is not feasible, configure dm_integrity to use tag sizes that do not exceed the maximum digest size defined by HASH_MAX_DIGESTSIZE to prevent the overflow from being triggered.
  • After applying the patch or reconfiguration, reboot or reload the dm_integrity module so that the new settings take effect and the kernel no longer panics on large tag sizes.

Generated by OpenCVE AI on October 29, 2026 at 14:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9018-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9018-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-122
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: dm-integrity: fix buffer overflow in inline mode with large tag size In inline mode, dm_integrity_check and dm_integrity_inline_recheck compute the checksum of each block into an on-stack buffer of HASH_MAX_DIGESTSIZE bytes. integrity_sector_checksum pads its result with zeroes up to the tag size, so if the tag size is larger than HASH_MAX_DIGESTSIZE, the padding runs past the end of the buffer. With CONFIG_STACKPROTECTOR the kernel panics in dm_integrity_check on the first read. Enlarge both buffers to hold MAX_TAG_SIZE bytes, as commit b93b6643e9b5 ("dm integrity: fix a crash with unusually large tag size") did for integrity_metadata. Note that this is not a security bug because the buffer overflow can only be triggered by root.
Title dm-integrity: fix buffer overflow in inline mode with large tag size
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 26, 2026, 2:52 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 26, 2026, 3:16 PM
Modified
Oct 26, 2026, 3:16 PM
Severity
Moderate
Public date
Oct 26, 2026, 12:00 AM