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.
Published: 2026-10-26
Score: n/a
EPSS: n/a
KEV: No
Impact: Stack Buffer Overflow
Action: Apply patch
AI Analysis

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 is only triggerable by a user with root privileges and does not grant additional privileges but can terminate the system. The primary impact is a denial‑of‑service that can be exercised locally by root users or administrators.

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 not available and the vulnerability is not listed in the CISA KEV catalog. Based on the description, the attack vector is a local, privileged root user. The exploit is straightforward once the root machine can set a large tag size, but it requires elevated privileges and is unlikely to be used for remote or unauthenticated attacks. Consequently, the risk is a potential high‑impact denial of service in environments where privileged users can modify the dm‑integrity configuration.

Generated by OpenCVE AI on October 26, 2026 at 16:35 UTC.

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 26, 2026 at 16:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Mon, 26 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Mon, 26 Oct 2026 15:00:00 +0000

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

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-26T14:52:04.416Z

Reserved: 2026-09-25T10:25:14.391Z

Link: CVE-2026-99098

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-26T15:16:48.870

Modified: 2026-10-26T15:16:48.870

Link: CVE-2026-99098

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T17:15:06Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow