Look up another CVE · open CVE-2024-50302 in the interactive tracker
CVE-2024-50302
HID: core: zero-initialize the report buffer
Published 2024-11-19 (23 months ago) by the Linux kernel CNA. Subsystem drivers/hid. Debian urgency: not yet assigned.
What to do, per Debian release
Debian's own status for CVE-2024-50302 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source
| Release | Status | Version | What this means |
|---|---|---|---|
| Debian 12bookworm | fixedDSA-5818-1 · 2024-11-24 · text | 6.1.119-1 | Update the kernel and reboot. DSA-5818-1 shipped the fix on 2024-11-24, in 6.1.119-1. A running kernel keeps the old code until the machine restarts. |
| Debian 13trixie | fixed | 6.11.9-1 | Update the kernel and reboot. Fixed in 6.11.9-1. A running kernel keeps the old code until the machine restarts. |
| Debian 14forky | fixed | 6.11.9-1 | Update the kernel and reboot. Fixed in 6.11.9-1. A running kernel keeps the old code until the machine restarts. |
| Debian unstablesid | fixed | 6.11.9-1 | Update the kernel and reboot. Fixed in 6.11.9-1. A running kernel keeps the old code until the machine restarts. |
The vulnerability
What the bug is
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.
Where it lives
The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.
drivers/hid/hid-core.c
- What this is
- HID CORE LAYERMAINTAINERS section matched on drivers/hid/ · linux-input@vger.kernel.org · Maintained
- Kernel module
- hid
Check it on the machine
grep -wE 'CONFIG_HID|CONFIG_HID_SUPPORT' /boot/config-$(uname -r)Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.
lsmod | grep -w hidPrints a line if that module is loaded right now, and nothing if it is not. One that is not loaded can still be loaded later by anything that needs it.
Show whether Debian builds this, per release
Debian builds this, but not on every flavour. At least one release below builds the code on some of its kernel flavours and not on others, so the answer depends on the architecture and flavour installed.
- bookwormMnot built on arm64/cloud-arm64
- trixieBnot built on arm64/cloud-arm64
- forky, sidMnot built on amd64/cloud-amd64, arm64/cloud-arm64
- M
- a module where it is built at all; some flavours do not build it
- B
- built in on some, a module on others, absent on the rest
- Build switches
- CONFIG_HID, CONFIG_HID_SUPPORT
- Reads as
- all on means the file is compiled; any one off means it is not.
From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages
Known to be exploited in the wild
- Added to KEV
- 2025-03-04
- Federal due date
- 2025-03-25
- Ransomware use
- unknown
- 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.
Signals
- Published
- 2024-11-19 (23 months ago)source
- CVSS
- no vector published, unrated
- Attack vector
- not published
- EPSS
- 0.81%, higher than 56.1% of all CVEssource
- CISA KEV
- listedthe KEV catalogue
- Debian urgency
- not yet assignedsource
- Subsystem
- drivers/hid
Upstream fixes
The versions the CNA records as introducing and fixing this, and the commit for each. source
| Introduced | Fixed in | Commit |
|---|---|---|
| 3.12 | 4.19.324 | e7ea60184e1e |
| 3.12 | 5.4.286 | 3f9e88f2672c |
| 3.12 | 5.10.230 | d7dc68d82ab3 |
| 3.12 | 5.15.172 | 05ade5d43378 |
| 3.12 | 6.1.117 | 1884ab3d2253 |
| 3.12 | 6.6.61 | 9d9f5c75c0c7 |
| 3.12 | 6.11.8 | 492015e6249f |
| 3.12 | 6.12 | 177f25d1292c |
| 3.10.16 | 0 | 0 |
| 3.11.5 | 0 | 0 |
Debian advisories
| Advisory | Date | Shipped to | Debian |
|---|---|---|---|
| DLA-4075-1 | 2025-03-01 | bullseye 5.10.234-1 | tracker |
| DLA-4008-1 | 2025-01-02 | bullseye 6.1.119-1~deb11u1 | tracker |
| DSA-5818-1 | 2024-11-24 | bookworm 6.1.119-1 | tracker |
Why the CNA scored it this way
The kernel CNA published no CVSS vector and no reasoning for CVE-2024-50302, which is why it is shown as unrated rather than given an invented score. 6,405 of the 20,413 CVEs here carry reasoning; this is not one of them.