CVE Catalog

CVE-2026-90052

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

7th percentile - higher than 7% of all known CVEs

Summary

In the Linux kernel's dm-integrity module, there is a buffer overflow during discard with key. When the tag size is smaller than the digest size, the computed checksum is written past the buffer.

Risk Assessment

This could lead to memory corruption, system crash, or potential privilege escalation if exploited.

Recommendation

Apply the patch that subtracts extra_space from the buffer size when computing max_blocks, as done for writes.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: dm-integrity: fix buffer overflow with keyed discard Since commit 68c5c42567bc ("dm-integrity: replace forgeable discard filler with a keyed sector marker"), integrity_metadata computes a checksum for every discarded block into the "checksums" buffer. integrity_sector_checksum always writes the whole digest. So if the tag size is smaller than the digest size, the checksum of the last block that fits into the buffer is written past the end of it. For example, with hmac(sha256) and tag size 16, a 4MiB discard writes 16 bytes past the kmalloc'ed page. Fix this by subtracting extra_space from the buffer size when computing max_blocks, like we do for writes.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS