HID: core: fix shift-out-of-bounds in hid_report_raw_event
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.24% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 151493fe5a6ed1a88decc929a7368a3f2a246914, 2b3b4d7aadaa1b6b58d0f34823bf86cfe8a31b4d, 809783f8b4b600c7fb3bccb10fefef822601ea3b.
Low priority for now. Upgrade to Linux Linux 151493fe5a6ed1a88decc929a7368a3f2a246914, 2b3b4d7aadaa1b6b58d0f34823bf86cfe8a31b4d, 809783f8b4b600c7fb3bccb10fefef822601ea3b or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: HID: core: fix shift-out-of-bounds in hid_report_raw_event Syzbot reported shift-out-of-bounds in hid_report_raw_event. microsoft 0003:045E:07DA.0001: hid_field_extract() called with n (128) > 32! (swapper/0) ====================================================================== UBSAN: shift-out-of-bounds in drivers/hid/hid-core.c:1323:20 shift exponent 127 is too large for 32-bit type 'int' CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.0-rc4-syzkaller-00159-g4bbf3422df78 #0 Hardware name: Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: <IRQ> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_shift_out_of_bounds+0x3a6/0x420 lib/ubsan.c:322 snto32 drivers/hid/hid-core.c:1323 [inline] hid_input_fetch_field drivers/hid/hid-core.c:1572 [inline] hid_process_report drivers/hid/hid-core.c:1665 [inline] hid_report_raw_event+0xd56/0x18b0 drivers/hid/hid-core.c:1998 hid_input_report+0x408/0x4f0 drivers/hid/hid-core.c:2066 hid_irq_in+0x459/0x690 drivers/hid/usbhid/hid-core.c:284 __usb_hcd_giveback_urb+0x369/0x530 drivers/usb/core/hcd.c:1671 dummy_timer+0x86b/0x3110 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0xf5/0x210 kernel/time/timer.c:1474 expire_timers kernel/time/timer.c:1519 [inline] __run_timers+0x76a/0x980 kernel/time/timer.c:1790 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1803 __do_softirq+0x277/0x75b kernel/softirq.c:571 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1107 ====================================================================== If the size of the integer (unsigned n) is bigger than 32 in snto32(), shift exponent will be too large for 32-bit type 'int', resulting in a shift-out-of-bounds bug. Fix this by adding a check on the size of the integer (unsigned n) in snto32(). To add support for n greater than 32 bits, set n to 32, if n is greater than 32.
- Published
- Oct 21, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 15th percentile
- CWE
- —
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel2.6.20 and later · before 4.9.336
- linux linux kernel4.10 and later · before 4.14.302
- linux linux kernel4.15 and later · before 4.19.269
- linux linux kernel4.20 and later · before 5.4.227
- linux linux kernel5.5 and later · before 5.10.159
- linux linux kernel5.11 and later · before 5.15.83
- linux linux kernel5.16 and later · before 6.0.13
- linux linux kernel6.1
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.20affected
- dde5845a529ff753364a6d1aea61180946270bfa and later · before 151493fe5a6ed1a88decc929a7368a3f2a246914affected · git
- dde5845a529ff753364a6d1aea61180946270bfa and later · before 809783f8b4b600c7fb3bccb10fefef822601ea3baffected · git
- dde5845a529ff753364a6d1aea61180946270bfa and later · before 8e14f20e12224ee2429f75a5c9418a700e26a8d3affected · git
- dde5845a529ff753364a6d1aea61180946270bfa and later · before db1ed1b3fb4ec0d19080a102956255769bc45c79affected · git
- dde5845a529ff753364a6d1aea61180946270bfa and later · before bc03f809da78fc79e4aee132d4e5c6a2b3aeec73affected · git
- dde5845a529ff753364a6d1aea61180946270bfa and later · before f755d11c55b29049b77da5cd9ab2faae96eb33c3affected · git
- dde5845a529ff753364a6d1aea61180946270bfa and later · before 2b3b4d7aadaa1b6b58d0f34823bf86cfe8a31b4daffected · git
- dde5845a529ff753364a6d1aea61180946270bfa and later · before ec61b41918587be530398b0d1c9a0d16619397e5affected · git
- before 2.6.20not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.4-1 | 6.1.4-1 |
| Red Hat:rhel_els:7 | bpftool | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | bpftool-debuginfo | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-abi-whitelists | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-bootwrapper | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-debug | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-debug-debuginfo | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-debug-devel | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-debuginfo | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-debuginfo-common-ppc64 | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-debuginfo-common-ppc64le | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-debuginfo-common-s390x | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-debuginfo-common-x86_64 | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-devel | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-doc | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-kdump | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-kdump-debuginfo | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-kdump-devel | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-tools | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-tools-debuginfo | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-tools-libs | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | kernel-tools-libs-devel | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
| Red Hat:rhel_els:7 | perf | before 0:3.10.0-1160.142.1.el7 | 0:3.10.0-1160.142.1.el7 |
+14
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
- CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV83Now
Published before and after this one in the same product
- ← EarlierCVE-2022-48976Oct 21, 2024 · netfilter: flowtable_offload: fix using __this_cpu_add in preemptible22Monitor
- ← EarlierCVE-2022-48977Oct 21, 2024 · can: af_can: fix NULL pointer dereference in can_rcv_filter22Monitor
- Later →CVE-2022-48979Oct 21, 2024 · drm/amd/display: fix array index out of bound error in DCN32 DML22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 151493fe5a6ed1a88decc929a7368a3f2a246914 | Vendor (CNA) |
| Linux Linux | 2b3b4d7aadaa1b6b58d0f34823bf86cfe8a31b4d | Vendor (CNA) |
| Linux Linux | 809783f8b4b600c7fb3bccb10fefef822601ea3b | Vendor (CNA) |
| Linux Linux | 8e14f20e12224ee2429f75a5c9418a700e26a8d3 | Vendor (CNA) |
| Linux Linux | bc03f809da78fc79e4aee132d4e5c6a2b3aeec73 | Vendor (CNA) |
| Linux Linux | db1ed1b3fb4ec0d19080a102956255769bc45c79 | Vendor (CNA) |
| Linux Linux | ec61b41918587be530398b0d1c9a0d16619397e5 | Vendor (CNA) |
| Linux Linux | f755d11c55b29049b77da5cd9ab2faae96eb33c3 | Vendor (CNA) |
| debian:linux | 6.1.4-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool | 0:3.10.0-1160.142.1.el7 · Red Hat:rhel_els:7 | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:3.10.0-1160.142.1.el7 · Red Hat:rhel_els:7 | Package registry (OSV) |
| red hat:kernel | 0:3.10.0-1160.142.1.el7 · Red Hat:rhel_els:7 | Package registry (OSV) |
| red hat:kernel-abi-whitelists | 0:3.10.0-1160.142.1.el7 · Red Hat:rhel_els:7 | Package registry (OSV) |
| red hat:kernel-bootwrapper | 0:3.10.0-1160.142.1.el7 · Red Hat:rhel_els:7 | Package registry (OSV) |
| red hat:kernel-debug | 0:3.10.0-1160.142.1.el7 · Red Hat:rhel_els:7 | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:3.10.0-1160.142.1.el7 · Red Hat:rhel_els:7 | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:3.10.0-1160.142.1.el7 · Red Hat:rhel_els:7 | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:3.10.0-1160.142.1.el7 · Red Hat:rhel_els:7 | Package registry (OSV) |
| red hat:kernel-debuginfo-common-ppc64 | 0:3.10.0-1160.142.1.el7 · Red Hat:rhel_els:7 | Package registry (OSV) |
| red hat:kernel-debuginfo-common-ppc64le | 0:3.10.0-1160.142.1.el7 · Red Hat:rhel_els:7 | Package registry (OSV) |
| red hat:kernel-debuginfo-common-s390x | 0:3.10.0-1160.142.1.el7 · Red Hat:rhel_els:7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/2b3b4d7aadaa1b6b58d0f34823bf86cfe8a31b4d
- git.kernel.org/stable/c/809783f8b4b600c7fb3bccb10fefef822601ea3b
- git.kernel.org/stable/c/8e14f20e12224ee2429f75a5c9418a700e26a8d3
- git.kernel.org/stable/c/bc03f809da78fc79e4aee132d4e5c6a2b3aeec73
- git.kernel.org/stable/c/db1ed1b3fb4ec0d19080a102956255769bc45c79
- git.kernel.org/stable/c/ec61b41918587be530398b0d1c9a0d16619397e5
- git.kernel.org/stable/c/f755d11c55b29049b77da5cd9ab2faae96eb33c3
Vendor advisories and official records. Exploit/PoC links are deliberately left out.