Improper Validation of Specified Type of Input Affecting kernel6.12-libbpf-devel package, versions <1:6.12.77-99.140.amzn2023


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.35% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-KERNEL612LIBBPFDEVEL-17409276
  • published23 Jun 2026
  • disclosed3 Jun 2026

Introduced: 3 Jun 2026

NewCVE-2026-46266  (opens in a new tab)
CWE-1287  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 kernel6.12-libbpf-devel to version 1:6.12.77-99.140.amzn2023 or higher.
This issue was patched in ALAS2023-2026-1543.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel6.12-libbpf-devel package and not the kernel6.12-libbpf-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1