CVE-2026-43048: HID: core: Mitigate potential OOB by removing bogus memset()

Published May 1, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

The memset() in hidreportrawevent() 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]

Affected Software

10 affected components
Linux Linux kernel (HID core)
Linux Linux kernel>=2.6.15.1<6.18.22
Linux Linux kernel>=6.19<6.19.12
Linux Linux kernel=2.6.15
Linux Linux kernel=2.6.15-rc6
Linux Linux kernel=2.6.15-rc7
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In hid_report_raw_event(), remove the memset() that zeroes the area from the end of the incoming data string to the assumed end of the buffer; instead, if the incoming event buffer size is not previously seen, simply return to avoid potential OOB reads/writes in subsequent thread execution.

    Linux kernel HID (hid_report_raw_event) memset() removal = remove memset() and return if incoming event buffer size is not previously seen

Event History

May 1, 2026
CVE Published
via MITRE·02:15 PM
Data Sourced
via MITRE·02:15 PM
DescriptionSeverity
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-43048?

CVE-2026-43048 is rated as a medium severity vulnerability.

2

How do I fix CVE-2026-43048?

To fix CVE-2026-43048, update your Linux kernel to the latest stable version where this vulnerability has been addressed.

3

What does CVE-2026-43048 affect?

CVE-2026-43048 affects the HID core component of the Linux kernel.

4

What is the impact of CVE-2026-43048?

The impact of CVE-2026-43048 includes possible out-of-bounds access due to a bug in the memset() function.

5

Is CVE-2026-43048 actively exploited?

As of now, there are no reports indicating that CVE-2026-43048 is actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203