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-2026-31401

published high CVSS 3.1 · 7.8

HID: bpf: prevent buffer overflow in hid_hw_request

Published
03 Apr 2026, 15:16:04 UTC
Updated
19 Oct 2026, 18:35:46 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 to < d6efaa50af62fb0790dd1fd4e7e5506b46312510 · 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 to < 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1 · 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 to < eb57dae20fdf6f3069cdc07821fa3bb46de381d7 · 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 to < 2b658c1c442ec1cd9eec5ead98d68662c40fe645 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.11 (affected) · 0 to < 6.11 (unaffected · semver) · 6.12.78 through 6.12.* (unaffected · semver) · 6.18.20 through 6.18.* (unaffected · semver) · 6.19.10 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1594 Fixed Not stated Amazon Linux assessment
Debian trixie linux Advisory build 6.12.85-1 DSA-6238-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22099-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-16 cluster-md-kmp-defaults390x Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22099-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22099-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22099-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 dlm-kmp-defaults390x Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22099-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22099-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22099-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaults390x Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22099-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22099-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-64kbaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-64kb-develaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-64kb-extraaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-azureaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-azurex86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-azure-develaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-azure-develx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-azure-extraaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-azure-extrax86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-azure-vdsox86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-defaultaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-defaultppc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-defaults390x Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-defaultx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-baseaarch64 Advisory build 6.12.0-160000.35.1.160000.2.16 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-baseppc64le Advisory build 6.12.0-160000.35.1.160000.2.16 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-basex86_64 Advisory build 6.12.0-160000.35.1.160000.2.16 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-develaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-develppc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-devels390x Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-develx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-extraaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-extrappc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-extras390x Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-extrax86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-livepatchppc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-livepatchs390x Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-livepatchx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-default-vdsox86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-develnoarch Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-docsnoarch Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-docs-htmlnoarch Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-kvmsmallaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-kvmsmallppc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-kvmsmallx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-develaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-develppc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-develx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-vdsox86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-macrosnoarch Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-obs-qaaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-obs-qappc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-obs-qas390x Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-obs-qax86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-sourcenoarch Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-source-vanillanoarch Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-symsaarch64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-symsppc64le Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-symss390x Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-symsx86_64 Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE SLE-16 kernel-zfcpdumps390x Advisory build 6.12.0-160000.35.1 SUSE-SU-2026:22127-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-64kbaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-azureaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-azurex86_64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaultaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaults390x Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-rtaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-rtx86_64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-64kbaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-azureaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-azurex86_64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaultaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaults390x Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-rtaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-rtx86_64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-allwinneraarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-alteraaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-amazonaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-amdaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-amlogicaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-apmaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-appleaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-armaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-broadcomaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-caviumaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-exynosaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-freescaleaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-hisiliconaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-lgaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-marvellaarch64 Advisory build 6.12.0-160000.35.1 OPENSUSE-SU-2026:20965-1

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: bpf: prevent buffer overflow in hid_hw_request right now the returned value is considered to be always valid. However, when playing with HID-BPF, the return value can be arbitrary big, because it's the return value of dispatch_hid_bpf_raw_requests(), which calls the struct_ops and we have no guarantees that the value makes sense.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable `memcpy()` is reached through local `bpf()` operations that load/attach HID-BPF `struct_ops` programs and run a HID-BPF syscall program; it is not reachable directly from remote packets or unauthenticated HID traffic alone. AC:L - An attacker who can load the needed HID-BPF programs controls the oversized `hid_hw_request` callback return value and can invoke `hid_bpf_hw_request()` directly, with no race or external timing condition. PR:L - Loading HID-BPF requires BPF privileges such as CAP_BPF/CAP_PERFMON, but these can be delegated through BPF tokens into non-init user namespaces in plausible containerized deployments. Choosing the higher-severity option, this is treated as low rather than high privileges. UI:N - No victim interaction is required after the attacker has local BPF access; the attacker can attach the callback and run the syscall BPF program themselves. S:U - The corruption occurs within the kernel security authority and represents a standard local kernel compromise path, not a VM escape or other cross-scope boundary. C:H - The unchecked return value causes an out-of-bounds read from the `dma_data` kernel heap buffer into BPF-accessible memory, allowing disclosure of adjacent kernel memory. As memory corruption, it is also potentially usable to build stronger read primitives. I:H - The same unchecked return value is used as the length for `memcpy()` into the caller-provided BPF memory buffer, producing an out-of-bounds kernel write. Such kernel memory corruption is defensibly capable of arbitrary modification or control-flow compromise. A:H - A large attacker-controlled copy length can corrupt kernel memory or fault during the copy, causing an oops, panic, or system crash.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 to < d6efaa50af62fb0790dd1fd4e7e5506b46312510 (affected · git)8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 to < 73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1 (affected · git)8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 to < eb57dae20fdf6f3069cdc07821fa3bb46de381d7 (affected · git)8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 to < 2b658c1c442ec1cd9eec5ead98d68662c40fe645 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.11 (affected)0 to < 6.11 (unaffected · semver)6.12.78 through 6.12.* (unaffected · semver)6.18.20 through 6.18.* (unaffected · semver)6.19.10 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (CISA-ADP · adp)

References

4

Provider assertions

2

Linux · cna

HID: bpf: prevent buffer overflow in hid_hw_request

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
ad97e6a378fd8df3f85e5d0813ab8f4ba6568a941d45d25de1241c40a7dbbec0
Ingested
19 Oct 2026, 18:47:41 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