All reports
Medium

kernel: HID: core: Mitigate potential OOB by removing bogus memset()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-43048

Probability of exploitation in the next 30 days: 0.32%

FIRST EPSS · 2026-11-23

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]

A flaw was found in the Linux kernel's Human Interface Device (HID) core. An incorrect memset() operation within the hid_report_raw_event() function can lead to out-of-bounds (OOB) reads and writes. This vulnerability occurs when the incoming event buffer size is insufficient to fill the associated report, potentially allowing an attacker to cause information disclosure or other memory corruption issues.