Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-48978

published

HID: core: fix shift-out-of-bounds in hid_report_raw_event

Published
21 Oct 2024, 20:05:57 UTC
Updated
11 May 2026, 18:50:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxdde5845a529ff753364a6d1aea61180946270bfa to < 151493fe5a6ed1a88decc929a7368a3f2a246914 · dde5845a529ff753364a6d1aea61180946270bfa to < 809783f8b4b600c7fb3bccb10fefef822601ea3b · dde5845a529ff753364a6d1aea61180946270bfa to < 8e14f20e12224ee2429f75a5c9418a700e26a8d3 · dde5845a529ff753364a6d1aea61180946270bfa to < db1ed1b3fb4ec0d19080a102956255769bc45c79 · dde5845a529ff753364a6d1aea61180946270bfa to < bc03f809da78fc79e4aee132d4e5c6a2b3aeec73 · dde5845a529ff753364a6d1aea61180946270bfa to < f755d11c55b29049b77da5cd9ab2faae96eb33c3 · dde5845a529ff753364a6d1aea61180946270bfa to < 2b3b4d7aadaa1b6b58d0f34823bf86cfe8a31b4d · dde5845a529ff753364a6d1aea61180946270bfa to < ec61b41918587be530398b0d1c9a0d16619397e5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.20 (affected) · 0 to < 2.6.20 (unaffected · semver) · 4.9.336 through 4.9.* (unaffected · semver) · 4.14.302 through 4.14.* (unaffected · semver) · 4.19.269 through 4.19.* (unaffected · semver) · 5.4.227 through 5.4.* (unaffected · semver) · 5.10.159 through 5.10.* (unaffected · semver) · 5.15.83 through 5.15.* (unaffected · semver) · 6.0.13 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluationALAS2-2023-1932 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2023-025 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2023-012 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2023-041 Fixed Not stated Amazon Linux assessment
Oracle Linux 7 bpftoolx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Red Hat Enterprise Linux RHEL-7 bpftoolppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Oracle Linux 7 kernelx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-abi-whitelistsx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-debugx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-debug-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-docx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-headersx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-toolsx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-tools-libsx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-tools-libs-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 perfx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 python-perfx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Red Hat Enterprise Linux RHEL-7 bpftoolppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 bpftools390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 bpftoolx86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 bpftool-debuginfoppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 bpftool-debuginfoppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 bpftool-debuginfos390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 bpftool-debuginfox86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernelppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernelppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernels390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernelsrc Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernelx86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-abi-whitelistsnoarch Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-bootwrapperppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-bootwrapperppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debugppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debugppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debugs390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debugx86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debug-debuginfoppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debug-debuginfoppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debug-debuginfos390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debug-debuginfox86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debug-develppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debug-develppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debug-devels390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debug-develx86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debuginfoppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debuginfoppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debuginfos390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debuginfox86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debuginfo-common-ppc64ppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debuginfo-common-ppc64leppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debuginfo-common-s390xs390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-debuginfo-common-x86_64x86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-develppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-develppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-devels390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-develx86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-docnoarch Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-kdumps390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-kdump-debuginfos390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-kdump-devels390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-rtsrc Advisory build 3.10.0-1160.142.1.rt56.1294.el7 RHSA-2025:21082
Red Hat Enterprise Linux RHEL-7 kernel-rtx86_64 Advisory build 3.10.0-1160.142.1.rt56.1294.el7 RHSA-2025:21082
Red Hat Enterprise Linux RHEL-7 kernel-rt-debugx86_64 Advisory build 3.10.0-1160.142.1.rt56.1294.el7 RHSA-2025:21082
Red Hat Enterprise Linux RHEL-7 kernel-rt-debug-debuginfox86_64 Advisory build 3.10.0-1160.142.1.rt56.1294.el7 RHSA-2025:21082
Red Hat Enterprise Linux RHEL-7 kernel-rt-debug-develx86_64 Advisory build 3.10.0-1160.142.1.rt56.1294.el7 RHSA-2025:21082
Red Hat Enterprise Linux RHEL-7 kernel-rt-debuginfox86_64 Advisory build 3.10.0-1160.142.1.rt56.1294.el7 RHSA-2025:21082
Red Hat Enterprise Linux RHEL-7 kernel-rt-debuginfo-common-x86_64x86_64 Advisory build 3.10.0-1160.142.1.rt56.1294.el7 RHSA-2025:21082
Red Hat Enterprise Linux RHEL-7 kernel-rt-develx86_64 Advisory build 3.10.0-1160.142.1.rt56.1294.el7 RHSA-2025:21082
Red Hat Enterprise Linux RHEL-7 kernel-rt-docnoarch Advisory build 3.10.0-1160.142.1.rt56.1294.el7 RHSA-2025:21082
Red Hat Enterprise Linux RHEL-7 kernel-rt-tracex86_64 Advisory build 3.10.0-1160.142.1.rt56.1294.el7 RHSA-2025:21082
Red Hat Enterprise Linux RHEL-7 kernel-rt-trace-debuginfox86_64 Advisory build 3.10.0-1160.142.1.rt56.1294.el7 RHSA-2025:21082
Red Hat Enterprise Linux RHEL-7 kernel-rt-trace-develx86_64 Advisory build 3.10.0-1160.142.1.rt56.1294.el7 RHSA-2025:21082
Red Hat Enterprise Linux RHEL-7 kernel-toolsppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-toolsppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-toolsx86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-tools-debuginfoppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-tools-debuginfoppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-tools-debuginfox86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-tools-libsppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-tools-libsppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-tools-libsx86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-tools-libs-develppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-tools-libs-develppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 kernel-tools-libs-develx86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 perfppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 perfppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 perfs390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 perfx86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 perf-debuginfoppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 perf-debuginfoppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 perf-debuginfos390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 perf-debuginfox86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 python-perfppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 python-perfppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 python-perfs390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 python-perfx86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 python-perf-debuginfoppc64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 python-perf-debuginfoppc64le Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 python-perf-debuginfos390x Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-7 python-perf-debuginfox86_64 Advisory build 3.10.0-1160.142.1.el7 RHSA-2025:21063
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

21

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux dde5845a529ff753364a6d1aea61180946270bfa to < 151493fe5a6ed1a88decc929a7368a3f2a246914 (affected · git)dde5845a529ff753364a6d1aea61180946270bfa to < 809783f8b4b600c7fb3bccb10fefef822601ea3b (affected · git)dde5845a529ff753364a6d1aea61180946270bfa to < 8e14f20e12224ee2429f75a5c9418a700e26a8d3 (affected · git)dde5845a529ff753364a6d1aea61180946270bfa to < db1ed1b3fb4ec0d19080a102956255769bc45c79 (affected · git)dde5845a529ff753364a6d1aea61180946270bfa to < bc03f809da78fc79e4aee132d4e5c6a2b3aeec73 (affected · git)dde5845a529ff753364a6d1aea61180946270bfa to < f755d11c55b29049b77da5cd9ab2faae96eb33c3 (affected · git)dde5845a529ff753364a6d1aea61180946270bfa to < 2b3b4d7aadaa1b6b58d0f34823bf86cfe8a31b4d (affected · git)dde5845a529ff753364a6d1aea61180946270bfa to < ec61b41918587be530398b0d1c9a0d16619397e5 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.20 (affected)0 to < 2.6.20 (unaffected · semver)4.9.336 through 4.9.* (unaffected · semver)4.14.302 through 4.14.* (unaffected · semver)4.19.269 through 4.19.* (unaffected · semver)5.4.227 through 5.4.* (unaffected · semver)5.10.159 through 5.10.* (unaffected · semver)5.15.83 through 5.15.* (unaffected · semver)6.0.13 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

2

Linux · cna

HID: core: fix shift-out-of-bounds in hid_report_raw_event

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
0b48cd7a335ad5f0678940ebd06447a8009d234134087e61dc2906cceb646a20
Ingested
23 Sep 2026, 08:04:03 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected