CVE-2026-80918

HID: core: fix number/pointer type confusion on long items

No CVSS score yet EPSS 0.18%

Published 9 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-80918

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-80918 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

HID: core: fix number/pointer type confusion on long items

When fetch_item() is called by hid_scan_report() on an item with HID_ITEM_TAG_LONG, it stores a pointer to the item data in item->data.longdata instead of storing a value directly in item->data.{u8/u16/u32}.

When item_udata() or item_sdata() encounters such an item, it incorrectly assumes that the item is in short format, and therefore returns the lower part of a kernel pointer reinterpreted as a number.

When a HID device is connected whose descriptor contains a HID_GLOBAL_ITEM_TAG_REPORT_SIZE encoded in long format with size=4, this causes the lower half of a kernel pointer to be printed into dmesg as a number, like this:

hid (null): invalid report_size 107953555

To fix it, let item_udata() and item_sdata() verify that the item is in short format.

Note that this bug only affects hid_scan_report(), while the main parsing pass hid_parse_collections() will always bail out when encountering a long item.

Sidenote: There are currently no users of data.longdata; maybe we should just remove any parsing of long-format descriptors as a follow-up.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.12% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 3dc8fc083dbfeede7b63a0c07581192e97711365, before bed7fe3a936b6bdd84671385951397ca673cf6e7
affected from 3dc8fc083dbfeede7b63a0c07581192e97711365, before aec2c2ec87d4ec1f098979f68cd81b29f031c8cb
affected from 3dc8fc083dbfeede7b63a0c07581192e97711365, before 634f498ea5d5e8e01f8d9414d4f45eeaf9ee1996
affected from 3dc8fc083dbfeede7b63a0c07581192e97711365, before abec577de5fc16cd5caae42f97cdcd0983c06d66
affected from 3dc8fc083dbfeede7b63a0c07581192e97711365, before dd8035dec26e98204d6e4a6e0cee5c4d329b3d7e
affected from 3dc8fc083dbfeede7b63a0c07581192e97711365, before 1fa1591efd417e39e5e164bebea8ca7a3837c469
affected from 3dc8fc083dbfeede7b63a0c07581192e97711365, before e60159f5ea60254a5c3de4ea4f2f939f0171031b
affected from 3dc8fc083dbfeede7b63a0c07581192e97711365, before e542edada3f79387c0ac2a528cebf01f4ef47df8
affected from 3dc8fc083dbfeede7b63a0c07581192e97711365, before 28abce951343fcec26e397610868efa4e1395c3f
Other versions: unaffected
Linux
affected 3.12
unaffected before 3.12
unaffected from 5.10.267 up to and including 5.10.*
unaffected from 5.15.218 up to and including 5.15.*
unaffected from 6.1.185 up to and including 6.1.*
unaffected from 6.6.154 up to and including 6.6.*
unaffected from 6.12.106 up to and including 6.12.*
unaffected from 6.18.47 up to and including 6.18.*
unaffected from 7.1.11 up to and including 7.1.*
unaffected from 7.2.1 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-80918 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80918

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-80918
trivy image --scanners vuln IMAGE | grep CVE-2026-80918

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-80918 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.