CVE-2026-98095
kernel: af_packet: Don't cast tpacket_hdr.tp_len to int in tpacket_parse_header()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 25, 2026
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel's af_packet network subsystem. When parsing packet headers, user-supplied length values are improperly converted from an unsigned integer to a signed integer. A local user can exploit this vulnerability by submitting an excessively large packet length, causing an unexpected negative error return that triggers an internal kernel assertion and crashes the system, resulting in a Denial of Service (DoS).
Statement
This vulnerability is evaluated as a Low impact flaw because successful exploitation requires local access and the capability to create packet sockets, preventing unauthorized remote attack vectors. In standard Red Hat Enterprise Linux deployments, raw packet socket operations require the CAP_NET_RAW capability, restricting execution to privileged accounts or confined container namespaces. While triggering the invalid header length calculation induces a kernel panic leading to a local denial of service, it does not allow data exposure or code execution.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-681 · Incorrect Conversion between Numeric Types