VDB

CVE-2026-53238

CVE-2026-53238 PUBLISHED

netlabel: validate unlabeled address and mask attribute lengths

Reported by linux · Published June 25, 2026

In the Linux kernel, the following vulnerability has been resolved: netlabel: validate unlabeled address and mask attribute lengths netlbl_unlabel_addrinfo_get() 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 in_addr or struct in6_addr. NLA_BINARY policy lengths are maximum lengths by default, so use NLA_POLICY_EXACT_LEN() 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 products

VendorProductVersions
LinuxLinux8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd, 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd, 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd
LinuxLinux2.6.25, 0, 5.10.259
linuxlinux_kernel2.6.25, 2.6.25, 2.6.25
chainguardlinux-qemu-melange0
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.120
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-headers0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.180
amazon:2023kernel6.18-tools0
chainguardlinux-qemu-6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool0
amazon:2023kernel-livepatch-6.1.176-220.3580
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-tools-devel0
amazon:2023python3-perf6.120
LinuxLinux7.1, 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd, 7.0.13
amazon:2023kernel-devel0

…and 22 more

Timeline

  • Jun 24, 2026 CVE Published
  • Jun 26, 2026 EPSS Score (9 in total, the first dated here)
  • Jun 26, 2026 Coalition ESS Score
  • Jun 29, 2026 Security Advisory (64 in total, the first dated here)
  • Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-53238
vulnetix vdb fixes CVE-2026-53238

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53238/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›