CVE-2024-50302

HID: core: zero-initialize the report buffer

Published 19 Nov 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-50302

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-50302 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Known exploited

CISA added this CVE to its list of known exploited vulnerabilities on 4 Mar 2025. US federal agencies had to act by 25 Mar 2025.

Name
Linux Kernel Use of Uninitialized Resource Vulnerability
Required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Ransomware
Use in ransomware campaigns is not known
Notes
https://lore.kernel.org/linux-cve-announce/2024111908-CVE-2024-50302-f677@gregkh/ https://source.android.com/docs/security/bulletin/2025-03-01 https://nvd.nist.gov/vuln/detail/CVE-2024-50302

Description

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

HID: core: zero-initialize the report buffer

Since the report buffer is used by all kinds of drivers in various ways, let's zero-initialize it during allocation to make sure that it can't be ever used to leak kernel memory via specially-crafted report.

Severity (CVSS)

5.5 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.81%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 58.0% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Mar 2025):

Exploitation
active: CISA has reliable evidence of exploitation in the wild
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-908 Use of Uninitialized Resource

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 27ce405039bfe6d3f4143415c638f56a3df77dca, before e7ea60184e1e88a3c9e437b3265cbb6439aa7e26
affected from 27ce405039bfe6d3f4143415c638f56a3df77dca, before 3f9e88f2672c4635960570ee9741778d4135ecf5
affected from 27ce405039bfe6d3f4143415c638f56a3df77dca, before d7dc68d82ab3fcfc3f65322465da3d7031d4ab46
affected from 27ce405039bfe6d3f4143415c638f56a3df77dca, before 05ade5d4337867929e7ef664e7ac8e0c734f1aaf
affected from 27ce405039bfe6d3f4143415c638f56a3df77dca, before 1884ab3d22536a5c14b17c78c2ce76d1734e8b0b
affected from 27ce405039bfe6d3f4143415c638f56a3df77dca, before 9d9f5c75c0c7f31766ec27d90f7a6ac673193191
affected from 27ce405039bfe6d3f4143415c638f56a3df77dca, before 492015e6249fbcd42138b49de3c588d826dd9648
affected from 27ce405039bfe6d3f4143415c638f56a3df77dca, before 177f25d1292c7e16e1199b39c85480f7f8815552
affected b2b6cadad699d44a8a5b2a60f3d960e00d6fb3b7
affected fe6c9b48ebc920ff21c10c50ab2729440c734254
affected from 3.10.16, before 3.11
affected from 3.11.5, before 3.12
Other versions: unaffected
Linux
affected 3.12
unaffected before 3.12
unaffected from 4.19.324 up to and including 4.19.*
unaffected from 5.4.286 up to and including 5.4.*
unaffected from 5.10.230 up to and including 5.10.*
unaffected from 5.15.172 up to and including 5.15.*
unaffected from 6.1.117 up to and including 6.1.*
unaffected from 6.6.61 up to and including 6.6.*
unaffected from 6.11.8 up to and including 6.11.*
unaffected 6.12 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-50302 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-50302

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-50302
trivy image --scanners vuln IMAGE | grep CVE-2024-50302

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2024-50302 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.