# CVE-2024-39509: HID: core: remove unnecessary WARN\_ON() in implement()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-617
- **Published:** 2024-07-12T12:20:40.257Z
- **Modified:** 2026-10-15T01:18:35.167Z

## Who should check

- Anyone running Linux \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 955b3764671f3f157215194972d9c01a3a4bd316; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< f9db5fbeffb951cac3f0fb1c2eeffb79785399ca; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 33f6832798dd3297317901cc1db556ac3ae80c24; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 8bac61934cd563b073cd30b8cf6d5c758ab5ab26; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< bfd546fc7fd76076f81bf41b85b51ceda30949fd; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 30f76bc468b9b2cbbd5d3eb482661e3e4798893f; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 655c6de2f215b61d0708db6b06305eee9bbfeba2; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 4aa2dcfbad538adf7becd0034a3754e1bd01b2b5
- Anyone running Linux 4.7

## Description

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

HID: core: remove unnecessary WARN\_ON() in implement()

Syzkaller hit a warning \[1\] in a call to implement() when trying
to write a value into a field of smaller size in an output report.

Since implement() already has a warn message printed out with the
help of hid\_warn() and value in question gets trimmed with:
	...
	value &= m;
	...
WARN\_ON may be considered superfluous. Remove it to suppress future
syzkaller triggers.

\[1\]
WARNING: CPU: 0 PID: 5084 at drivers/hid/hid-core.c:1451 implement drivers/hid/hid-core.c:1451 \[inline\]
WARNING: CPU: 0 PID: 5084 at drivers/hid/hid-core.c:1451 hid\_output\_report+0x548/0x760 drivers/hid/hid-core.c:1863
Modules linked in:
CPU: 0 PID: 5084 Comm: syz-executor424 Not tainted 6.9.0-rc7-syzkaller-00183-gcf87f46fd34d \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:implement drivers/hid/hid-core.c:1451 \[inline\]
RIP: 0010:hid\_output\_report+0x548/0x760 drivers/hid/hid-core.c:1863
...
Call Trace:
 \<TASK\>
 \_\_usbhid\_submit\_report drivers/hid/usbhid/hid-core.c:591 \[inline\]
 usbhid\_submit\_report+0x43d/0x9e0 drivers/hid/usbhid/hid-core.c:636
 hiddev\_ioctl+0x138b/0x1f00 drivers/hid/usbhid/hiddev.c:726
 vfs\_ioctl fs/ioctl.c:51 \[inline\]
 \_\_do\_sys\_ioctl fs/ioctl.c:904 \[inline\]
 \_\_se\_sys\_ioctl+0xfc/0x170 fs/ioctl.c:890
 do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
 do\_syscall\_64+0xf5/0x240 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
...

## Affected and fixed versions

- Linux: \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 955b3764671f3f157215194972d9c01a3a4bd316; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< f9db5fbeffb951cac3f0fb1c2eeffb79785399ca; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 33f6832798dd3297317901cc1db556ac3ae80c24; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 8bac61934cd563b073cd30b8cf6d5c758ab5ab26; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< bfd546fc7fd76076f81bf41b85b51ceda30949fd; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 30f76bc468b9b2cbbd5d3eb482661e3e4798893f; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 655c6de2f215b61d0708db6b06305eee9bbfeba2; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 4aa2dcfbad538adf7becd0034a3754e1bd01b2b5 (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

- Upgrade Linux to 4aa2dcfbad538adf7becd0034a3754e1bd01b2b5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-39509. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-39509.md
Affected: Linux >= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, < 955b3764671f3f157215194972d9c01a3a4bd316; >= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, < f9db5fbeffb951cac3f0fb1c2eeffb79785399ca; >= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, < 33f6832798dd3297317901cc1db556ac3ae80c24; >= 95d1c8951e5bd50bb89654a…
Fixed in: Linux 955b3764671f3f157215194972d9c01a3a4bd316, Linux 33f6832798dd3297317901cc1db556ac3ae80c24, Linux 8bac61934cd563b073cd30b8cf6d5c758ab5ab26, Linux 30f76bc468b9b2cbbd5d3eb482661e3e4798893f, Linux 655c6de2f215b61d0708db6b06305eee9bbfeba2, Linux 4aa2dcfbad538adf7becd0034a3754e1bd01b2b5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-39509 being exploited?

There is no confirmed exploitation: CVE-2024-39509 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-39509?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-39509?

Linux \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 955b3764671f3f157215194972d9c01a3a4bd316; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< f9db5fbeffb951cac3f0fb1c2eeffb79785399ca; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 33f6832798dd3297317901cc1db556ac3ae80c24; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 8bac61934cd563b073cd30b8cf6d5c758ab5ab26; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< bfd546fc7fd76076f81bf41b85b51ceda30949fd; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 30f76bc468b9b2cbbd5d3eb482661e3e4798893f; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 655c6de2f215b61d0708db6b06305eee9bbfeba2; \>= 95d1c8951e5bd50bb89654a99a7012b1e75646bd, \< 4aa2dcfbad538adf7becd0034a3754e1bd01b2b5; Linux 4.7.

### Is there a fix for CVE-2024-39509?

Yes. Fixed in Linux 955b3764671f3f157215194972d9c01a3a4bd316, Linux 33f6832798dd3297317901cc1db556ac3ae80c24, Linux 8bac61934cd563b073cd30b8cf6d5c758ab5ab26, Linux 30f76bc468b9b2cbbd5d3eb482661e3e4798893f, Linux 655c6de2f215b61d0708db6b06305eee9bbfeba2, Linux 4aa2dcfbad538adf7becd0034a3754e1bd01b2b5. Upgrade Linux to 4aa2dcfbad538adf7becd0034a3754e1bd01b2b5 or later.

### How do I check if I'm affected by CVE-2024-39509?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/955b3764671f3f157215194972d9c01a3a4bd316>
- patch: <https://git.kernel.org/stable/c/f9db5fbeffb951cac3f0fb1c2eeffb79785399ca>
- patch: <https://git.kernel.org/stable/c/33f6832798dd3297317901cc1db556ac3ae80c24>
- patch: <https://git.kernel.org/stable/c/8bac61934cd563b073cd30b8cf6d5c758ab5ab26>
- patch: <https://git.kernel.org/stable/c/bfd546fc7fd76076f81bf41b85b51ceda30949fd>
- patch: <https://git.kernel.org/stable/c/30f76bc468b9b2cbbd5d3eb482661e3e4798893f>
- patch: <https://git.kernel.org/stable/c/655c6de2f215b61d0708db6b06305eee9bbfeba2>
- patch: <https://git.kernel.org/stable/c/4aa2dcfbad538adf7becd0034a3754e1bd01b2b5>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-39509>

HTML: <https://flawdb.com/CVE-2024-39509> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-39509>
