HID: core: Mitigate potential OOB by removing bogus memset() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.33 % · percentile 28 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: HID: core: Mitigate potential OOB by removing bogus memset() The memset() in hid_report_raw_event() has the good intention of clearing out bogus data by zeroing the area from the end of the incoming data string to the assumed end of the buffer. However, as we have previously seen, doing so can easily result in OOB reads and writes in the subsequent thread of execution. The current suggestion from one of the HID maintainers is to remove the memset() and simply return if the incoming event buffer size is not large enough to fill the associated report. Suggested-by Benjamin Tissoires <bentiss@kernel.org> [bentiss: changed the return value]
Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/ad4316edbc63949094edeee538517dd689df7b24
- https://git.kernel.org/stable/c/218b93b7e284de1aa40a53f8f130f84f7da38858
- https://git.kernel.org/stable/c/b37e6019fe420335d884e30535549a25f084e00d
- https://git.kernel.org/stable/c/8f71034649738fdeb6859b8d6cddf132024fac06
- https://git.kernel.org/stable/c/bd6e1d0230cca9575f5d118148f51e2a56b5373f
- https://git.kernel.org/stable/c/0a3fe972a7cb1404f693d6f1711f32bc1d244b1c
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-26647
- GCVE · GCVE-0-2026-43048
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1203 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 2.6.15.1 < 6.18.22cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 6.19.12cpe:2.3:o:linux:linux_kernel:2.6.15:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:2.6.15:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:2.6.15:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ cd6104572bca9e4afe0dcdb8ecd65ef90b01297b < ad4316edbc63949094edeee538517dd689df7b24 affected : ≥ cd6104572bca9e4afe0dcdb8ecd65ef90b01297b < 218b93b7e284de1aa40a53f8f130f84f7da38858 affected : ≥ cd6104572bca9e4afe0dcdb8ecd65ef90b01297b < b37e6019fe420335d884e30535549a25f084e00d affected : ≥ cd6104572bca9e4afe0dcdb8ecd65ef90b01297b < 8f71034649738fdeb6859b8d6cddf132024fac06 affected : ≥ cd6104572bca9e4afe0dcdb8ecd65ef90b01297b < bd6e1d0230cca9575f5d118148f51e2a56b5373f affected : ≥ cd6104572bca9e4afe0dcdb8ecd65ef90b01297b < 0a3fe972a7cb1404f693d6f1711f32bc1d244b1c Other versions : unaffected |
| Linux · Linux | affected : 2.6.15 unaffected : ≥ 0 < 2.6.15 unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.114 ≤ 6.12.* unaffected : ≥ 6.18.22 ≤ 6.18.* unaffected : ≥ 6.19.12 ≤ 6.19.* unaffected : ≥ 7.0 ≤ * 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 |