CVE-2026-52915: netfilter: ip6t_hbh: reject oversized option lists

Published Jun 24, 2026
·
Updated

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

netfilter: ip6thbh: reject oversized option lists

struct ip6topts stores at most IP6TOPTSOPTSNR option descriptors, but hbhmt6check() does not reject larger optsnr values supplied from userspace.

Validate optsnr in the rule setup path so only match data that fits the fixed-size opts array can be installed. This follows the existing xtables pattern of rejecting invalid user-provided counts in checkentry() and keeps the packet matching path unchanged.

struct ip6topts has a fixed opts[IP6TOPTSOPTSNR] array, where IP6TOPTSOPTSNR is 16, then off-by-one array access is possible:

[ 137.924693][ T8692] UBSAN: array-index-out-of-bounds in ../net/ipv6/netfilter/ip6thbh.c:110:29 [ 137.926167][ T8692] index 16 is out of range for type 'u16 [16]'

Affected Software

18 affected componentsFixes available
Linux netfilter (ip6t_hbh)
Microsoft azl3 kernel 6.6.141.1-1<6.6.143.1-1
6.6.143.1-1
Linux Linux kernel>=2.6.12.1<5.10.258
Linux Linux kernel>=5.11<5.15.209
Linux Linux kernel>=5.16<6.1.175
Linux Linux kernel>=6.2<6.6.142
Linux Linux kernel>=6.7<6.12.92
Linux Linux kernel>=6.13<6.18.34
Linux Linux kernel>=6.19<7.0.11
Linux Linux kernel=2.6.12
Linux Linux kernel=2.6.12-rc2
Linux Linux kernel=2.6.12-rc3
Linux Linux kernel=2.6.12-rc4
Linux Linux kernel=2.6.12-rc5
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.143.1-1
  2. Configuration

    Update the Linux kernel netfilter ip6t_hbh rule validation (hbh_mt6_check()/checkentry path) to validate optsnr so only match data that fits struct ip6t_opts fixed array IP6T_OPTS_OPTSNR is accepted; reject oversized option lists to prevent out-of-bounds access in ../net/ipv6/netfilter/ip6t_hbh.c.

    Linux kernel netfilter (ip6t_hbh / hbh_mt6_check) reject oversized option lists by validating optsnr in rule setup path = must reject optsnr values larger than the fixed array size (IP6T_OPTS_OPTSNR = 16)

Event History

Jun 24, 2026
CVE Published
via MITRE·07:14 AM
Data Sourced
via MITRE·07:14 AM
DescriptionSeverity
Data Sourced
via NVD·08:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:08 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:08 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-52915?

The severity of CVE-2026-52915 is rated at 38, indicating a moderate risk.

2

How do I fix CVE-2026-52915?

To fix CVE-2026-52915, update your Linux kernel to the latest version where this vulnerability has been addressed.

3

What impact does CVE-2026-52915 have on system security?

CVE-2026-52915 allows userspace to supply oversized option lists to ip6t_hbh, which may lead to improper kernel behavior.

4

Which versions of Linux are affected by CVE-2026-52915?

CVE-2026-52915 affects versions of the Linux kernel that utilize the netfilter ip6t_hbh module.

5

Is CVE-2026-52915 a remote vulnerability?

CVE-2026-52915 is primarily a local vulnerability that can be exploited by authenticated users on the system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203