Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-98860— HID: bpf: cast size to ssize_t when checking hid_bpf_hw_request

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Linux 内核中,以下漏洞已得到修复: HID: bpf:在检查 时,将 显式转换为 类型。 正如 Sashiko 所报告: 如果传输驱动程序遇到硬件错误并返回负的错误码(例如 ),则变量 在与 比较时会被隐式提升为 类型。这会导致负的错误码被解释为一个很大的正数,从而使条件 成立。 该问题会静默地将硬件错误转换为成功返回值,并将未修改的缓冲区原样复制回去,这可能导致 BPF 程序在未经初始化或已失效的数据上运行。 通过将 显式转换为 类型来修复此问题,从而确保实际返回负的错误码。

AI Predicted 5.5 Difficulty: Moderate

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 14

VendorProduct Version RangeStatus
Linux Linux d6efaa50af62fb0790dd1fd4e7e5506b46312510< 8b85ef0f561039e249c3f883c5280a1449c6dbee affected
73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1< 97be6396817bd3b11d06239010d27902940bfaa9 affected
2b658c1c442ec1cd9eec5ead98d68662c40fe645< f9f808227554b2c116fd07dd2328ecd74ea3f411 affected
2b658c1c442ec1cd9eec5ead98d68662c40fe645< 3afefbfe55c2a8a0c4bdf6f4cc1f773da120027c affected
eb57dae20fdf6f3069cdc07821fa3bb46de381d7 affected
6.12.78< 6.12.113 affected
6.18.20< 6.18.56 affected
6.19.10< 6.20 affected
… +6 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-98860

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
HID: bpf: cast size to ssize_t when checking hid_bpf_hw_request
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: HID: bpf: cast size to ssize_t when checking hid_bpf_hw_request As reported by Sashiko: If a transport driver encounters a hardware error and returns a negative error code such as -EPIPE, ret is implicitly promoted to size_t when compared against size. This causes the negative error code to evaluate as a large positive number, making the (ret > size) condition true. This silently converts the hardware error into a success return value and copies the unmodified buffer back, which could leave BPF programs operating on uninitialized or stale data. Fix this by casting size into ssize_t to return the actual negative error code.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux d6efaa50af62fb0790dd1fd4e7e5506b46312510 ~ 8b85ef0f561039e249c3f883c5280a1449c6dbee -
Linux Linux 7.0 -

II. Public POCs for CVE-2026-98860

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-98860

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-98860 (4)

Same Patch Batch · Linux · 2026-10-18 · 436 CVEs total

CVE-2026-98582 nfc: st21nfca: validate received frame size
CVE-2026-98568 vxlan: use one headroom snapshot for neighbour replies
CVE-2026-98570 net: ipv6: keep room for the mac header in dst_dev_overhead()
CVE-2026-98571 net: stmmac: clear stale buf->page after recycling on skb build failure
CVE-2026-98572 bpf: Fix immediate JMP JEQ/JNE on MIPS32
CVE-2026-98573 net: skbuff: fix pull-bound underflow in skb_checksum_setup_ipv6()
CVE-2026-98574 net: bcmgenet: stop Tx NAPI before disabling the queues
CVE-2026-98575 nfc: pn533: fix OOB read in pn533_acr122_is_rx_frame_valid()
CVE-2026-98576 nfc: llcp: fix slab-out-of-bounds reads when logging service names
CVE-2026-98577 nfc: llcp: fix WKS SAP hijacking via prefix match in nfc_llcp_wks_sap()
CVE-2026-98578 nfc: st21nfca: validate ISO15693 inventory length
CVE-2026-98579 nfc: llcp: fix sdreq TLV list leak on parse/alloc/send failure
CVE-2026-98580 nfc: llcp: Fix race condition in accept_queue lifecycle
CVE-2026-98581 nfc: llcp: Fix list corruption / refcount desync in nfc_llcp_recv_dm()
CVE-2026-98593 s390/debug: Fix NULL pointer dereference in debug_info_copy()
CVE-2026-98590 bpf: Fix bpf_sock context code generation
CVE-2026-98591 bpf: Fix bounds check for skb-backed dynptrs
CVE-2026-98592 net: spacemit: clear TX descriptor on fragment mapping failure
CVE-2026-98589 bpf: Reject pkt arguments in mutating subprogs
CVE-2026-98594 tg3: clean up PHYLIB resources on probe failure

Showing top 20 of 436 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-98860

No comments yet


Leave a comment