CVEvulnerability
CVE-2026-46266
9.1 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2026-06-03
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Weaknesses
- CWE-20
Description
In the Linux kernel, the following vulnerability has been resolved:
inet: RAW sockets using IPPROTO_RAW MUST drop incoming ICMP
Yizhou Zhao reported that simply having one RAW socket on protocol
IPPROTO_RAW (255) was dangerous.
socket(AF_INET, SOCK_RAW, 255);
A malicious incoming ICMP packet can set the protocol field to 255
and match this socket, leading to FNHE cache changes.
inner = IP(src="192.168.2.1", dst="8.8.8.8", proto=255)/Raw("TEST")
pkt = IP(src="192.168.1.1", dst="192.168.2.1")/ICMP(type=3, code=4, nexthopmtu=576)/inner
"man 7 raw" states:
A protocol of IPPROTO_RAW implies enabled IP_HDRINCL and is able
to send any IP protocol that is specified in the passed header.
Receiving of all IP protocols via IPPROTO_RAW is not possible
using raw sockets.
Make sure we drop these malicious packets.
Affected configurations
• linux linux kernel (>= 2.6.12.1 < 6.6.128)
• linux linux kernel (>= 6.7 < 6.12.75)
• linux linux kernel (>= 6.13 < 6.18.14)
• linux linux kernel (>= 6.19 < 6.19.4)
• linux linux kernel 2.6.12
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://git.kernel.org/stable/c/19e42490c89bac9a388f28179e66bebbef350f99 Patch
- https://git.kernel.org/stable/c/47276297140ee6712646f9b19fb04fe26daedd01 git.kernel.org
- https://git.kernel.org/stable/c/531c1aec81bfe19d00af13da5531fbb8209e4bd2 Patch
- https://git.kernel.org/stable/c/719d3932b8f6e3348ce2f0ac58e278301fc17575 Patch
- https://git.kernel.org/stable/c/c89477ad79446867394360b29bb801010fc3ff22 Patch
- https://git.kernel.org/stable/c/db76b75ede3810e7cf9cfea5067d4f3e0993768b Patch