CVE-2026-53238
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
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd, 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd, 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd |
| Linux | Linux | 2.6.25, 0, 5.10.259 |
| linux | linux_kernel | 2.6.25, 2.6.25, 2.6.25 |
| chainguard | linux-qemu-melange | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| chainguard | linux-qemu-6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-livepatch-6.1.176-220.358 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| Linux | Linux | 7.1, 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd, 7.0.13 |
| amazon:2023 | kernel-devel | 0 |
…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