{"id":"CVE-2026-43048","aliases":["CVE-2026-43048"],"related":[],"kind":"vulnerability","state":"published","title":"HID: core: Mitigate potential OOB by removing bogus memset()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: core: Mitigate potential OOB by removing bogus memset()\n\nThe memset() in hid_report_raw_event() has the good intention of\nclearing out bogus data by zeroing the area from the end of the incoming\ndata string to the assumed end of the buffer.  However, as we have\npreviously seen, doing so can easily result in OOB reads and writes in\nthe subsequent thread of execution.\n\nThe current suggestion from one of the HID maintainers is to remove the\nmemset() and simply return if the incoming event buffer size is not\nlarge enough to fill the associated report.\n\nSuggested-by Benjamin Tissoires <bentiss@kernel.org>\n\n[bentiss: changed the return value]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: core: Mitigate potential OOB by removing bogus memset()\n\nThe memset() in hid_report_raw_event() has the good intention of\nclearing out bogus data by zeroing the area from the end of the incoming\ndata string to the assumed end of the buffer.  However, as we have\npreviously seen, doing so can easily result in OOB reads and writes in\nthe subsequent thread of execution.\n\nThe current suggestion from one of the HID maintainers is to remove the\nmemset() and simply return if the incoming event buffer size is not\nlarge enough to fill the associated report.\n\nSuggested-by Benjamin Tissoires <bentiss@kernel.org>\n\n[bentiss: changed the return value]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nHID: core: Mitigar posible OOB eliminando memset() erróneo\n\nEl memset() en hid_report_raw_event() tiene la buena intención de limpiar datos erróneos poniendo a cero el área desde el final de la cadena de datos entrante hasta el final asumido del búfer. Sin embargo, como hemos visto anteriormente, hacerlo puede resultar fácilmente en lecturas y escrituras OOB en el hilo de ejecución subsiguiente.\n\nLa sugerencia actual de uno de los mantenedores de HID es eliminar el memset() y simplemente retornar si el tamaño del búfer de eventos entrante no es lo suficientemente grande para llenar el informe asociado.\n\nSugerido por Benjamin Tissoires <bentiss@kernel.org>\n\n[bentiss: cambió el valor de retorno]","source":"nvd"}],"published":"2026-05-01T14:15:43.227Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-125","CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"cd6104572bca9e4afe0dcdb8ecd65ef90b01297b","fixed":"ad4316edbc63949094edeee538517dd689df7b24","status":"affected"},{"type":"git","introduced":"cd6104572bca9e4afe0dcdb8ecd65ef90b01297b","fixed":"218b93b7e284de1aa40a53f8f130f84f7da38858","status":"affected"},{"type":"git","introduced":"cd6104572bca9e4afe0dcdb8ecd65ef90b01297b","fixed":"b37e6019fe420335d884e30535549a25f084e00d","status":"affected"},{"type":"git","introduced":"cd6104572bca9e4afe0dcdb8ecd65ef90b01297b","fixed":"8f71034649738fdeb6859b8d6cddf132024fac06","status":"affected"},{"type":"git","introduced":"cd6104572bca9e4afe0dcdb8ecd65ef90b01297b","fixed":"bd6e1d0230cca9575f5d118148f51e2a56b5373f","status":"affected"},{"type":"git","introduced":"cd6104572bca9e4afe0dcdb8ecd65ef90b01297b","fixed":"0a3fe972a7cb1404f693d6f1711f32bc1d244b1c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.15","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.22","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.12","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.15.1","fixed":"6.18.22"},{"status":"affected","introduced":"6.19","fixed":"6.19.12"},{"status":"affected","version":"2.6.15"},{"status":"affected","version":"2.6.15"},{"status":"affected","version":"2.6.15"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ad4316edbc63949094edeee538517dd689df7b24","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/218b93b7e284de1aa40a53f8f130f84f7da38858","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b37e6019fe420335d884e30535549a25f084e00d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f71034649738fdeb6859b8d6cddf132024fac06","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd6e1d0230cca9575f5d118148f51e2a56b5373f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0a3fe972a7cb1404f693d6f1711f32bc1d244b1c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:13:57.851Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43048","url":"https://www.cve.org/CVERecord?id=CVE-2026-43048","licence":"CVE Terms of Use","modified":"2026-10-30T12:24:51.935Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43048","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43048","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:20.413Z","epss":{"score":0.00332,"percentile":0.2843,"date":"2026-12-01T12:00:22.000Z"}}