CVE-2026-53238: netlabel: validate unlabeled address and mask attribute lengths

Published Jun 25, 2026
·
Updated

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

netlabel: validate unlabeled address and mask attribute lengths

netlblunlabeladdrinfoget() used the address attribute length to determine whether the attribute data could be read as an IPv4 or IPv6 address, but did not independently validate the corresponding mask attribute length. A crafted Generic Netlink request could therefore provide a valid IPv4/IPv6 address attribute with a shorter mask attribute, which would later be read as a full struct inaddr or struct in6addr.

NLABINARY policy lengths are maximum lengths by default, so use NLAPOLICYEXACTLEN() for the unlabeled IPv4/IPv6 address and mask attributes. This rejects short attributes during policy validation and also exposes the exact length requirements through policy introspection.

Affected Software

16 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.141.1-1<6.6.143.1-1
6.6.143.1-1
Linux Linux kernel>=2.6.25<5.10.259
Linux Linux kernel>=5.11<5.15.210
Linux Linux kernel>=5.16<6.1.176
Linux Linux kernel>=6.2<6.6.143
Linux Linux kernel>=6.7<6.12.94
Linux Linux kernel>=6.13<6.18.36
Linux Linux kernel>=6.19<7.0.13
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5
Linux Linux kernel=7.1-rc6
Linux Linux kernel=7.1-rc7

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 netlabel code to validate unlabeled address and mask attribute lengths using NLA_POLICY_EXACT_LEN() (instead of relying on maximum-length default behavior), so short attributes are rejected during policy validation and exact length requirements are enforced.

    Linux kernel netlabel NLA policy validation for unlabeled IPv4/IPv6 address/mask attributes = Use NLA_POLICY_EXACT_LEN() for unlabeled IPv4/IPv6 address and mask (reject short attributes)

Event History

Jun 25, 2026
CVE Published
via MITRE·08:39 AM
Data Sourced
via MITRE·08:39 AM
Description
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:06 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:06 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-53238?

CVE-2026-53238 has a risk rating of 37, indicating a moderate level of severity.

2

What causes CVE-2026-53238?

CVE-2026-53238 is caused by inadequate validation of unlabeled address and mask attribute lengths in the Linux kernel.

3

How do I fix CVE-2026-53238?

To fix CVE-2026-53238, update your Linux kernel to the latest patched version that addresses this vulnerability.

4

What is the impact of CVE-2026-53238?

The impact of CVE-2026-53238 includes potential security risks due to improper handling of address and mask attributes.

5

Is CVE-2026-53238 related to network security?

Yes, CVE-2026-53238 is related to network security as it affects how the Linux kernel manages address labeling for network operations.

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