CVE-2026-90052dm-integrity: fix buffer overflow with keyed discard
Updated under an hour ago ()
Does this affect you?
It affects Linux. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Received
- Record last updated
- Sep 18, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | from 5c58ea19a909ef6bed4f0f824e9cd7e30d7e4775 before 9988c1c9e0d1c78391e3d8e2817beb667470c76f; from 6228722c27304e4682cddc1fede03898f87e4414 before dd08a645195f410f2dcaa40de379a45ce110e873; 68c5c42567bc462139128968ebbfadd0aefff519 builds before 59e6f919d77d72ec79cbf171256f2f7819737580 | CNA record |
References
- https://git.kernel.org/stable/c/9988c1c9e0d1c78391e3d8e2817beb667470c76f
- https://git.kernel.org/stable/c/dd08a645195f410f2dcaa40de379a45ce110e873
- https://git.kernel.org/stable/c/59e6f919d77d72ec79cbf171256f2f7819737580
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.