Kernel Memory Disclosure in Linux HID Report Buffers
CVE-2024-50302 is an uninitialized-resource vulnerability in the Linux kernel Human Interface Device (HID) core. HID report buffers are allocated without zero-initialization and subsequently used by multiple drivers. Specially crafted reports can expose residual kernel memory through uninitialized portions of these buffers. The vulnerability affects Linux-based products, including Junos OS Evolved, and is resolved by zero-initializing report buffers during allocation.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation discloses kernel memory, compromising confidentiality and potentially providing information useful for exploiting additional vulnerabilities. For Junos OS Evolved, the vulnerability has high confidentiality impact with no direct integrity or availability impact. Arbitrary code execution, privilege escalation, and denial of service are not established as direct consequences of this vulnerability.
If you can’t patch tonight, do this now.
Juniper identifies no known workaround. As an exposure-reduction measure, restrict physical access to USB ports and limit authenticated CLI access on Junos OS Evolved devices, because exploitation requires both. These restrictions do not correct the underlying kernel flaw.
Patch, then assume compromise.
Install a vendor-supported kernel update incorporating zero-initialization of HID report buffers, and reboot to load the patched kernel. Fixed Red Hat builds include RHEL 8 kernel 4.18.0-553.44.1.el8_10, RHEL 7 ELS kernel 3.10.0-1160.133.1.el7, RHEL Server 7.7 AUS kernel 3.10.0-1062.93.1.el7, RHEL Server 8.2 AUS kernel 4.18.0-193.146.1.el8_2, and supported RHEL 8.4 variants kernel 4.18.0-305.151.1.el8_4. Use the applicable kernel-rt update for real-time installations. OpenShift fixes are available in releases including 4.12.74, 4.15.47, 4.16.38, 4.17.20, and 4.18.4; upgrade through the appropriate release channel. For Junos OS Evolved, fixed releases include 22.4R3-S9-EVO, 23.2R2-S5-EVO, 23.4R2-S6-EVO, 24.2R2-S3-EVO, 24.4R2-S1-EVO, 25.2R1-S1-EVO, and 25.4R1-EVO, or subsequent releases. Juniper also identifies 25.2R2-EVO as fixed in its solution guidance, but conflicting affected-version information warrants confirmation with the vendor.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
40 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.