dm-integrity: fix buffer overflow in inline mode with large tag size (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.18 % · percentile 8 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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.
References
European references
- ENISA EUVD · EUVD-2026-109904
- GCVE · GCVE-0-2026-99098
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ fb0987682c629c1d2c476f35f6fde405a5e304a4 < 3c7aad85aeb9e28386672e3a009aa2e61f751b86 affected : ≥ fb0987682c629c1d2c476f35f6fde405a5e304a4 < 4f0ee735dc68e3e6c4dd9a666d7f7047163c4165 affected : ≥ fb0987682c629c1d2c476f35f6fde405a5e304a4 < f49cd7820cd0a96f20e1aa2708adb002124e38a7 affected : ≥ fb0987682c629c1d2c476f35f6fde405a5e304a4 < 764b683a6180fd72c931c13fea98d383506a3475 Other versions : unaffected |
| Linux · Linux | affected : 6.11 unaffected : ≥ 0 < 6.11 unaffected : ≥ 6.12.114 ≤ 6.12.* unaffected : ≥ 6.18.57 ≤ 6.18.* unaffected : ≥ 7.2.11 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |