{"api_version":"1","generated_at":"2026-06-25T11:33:13+00:00","cve":"CVE-2026-53238","urls":{"html":"https://cve.report/CVE-2026-53238","api":"https://cve.report/api/cve/CVE-2026-53238.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-53238","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-53238"},"summary":{"title":"netlabel: validate unlabeled address and mask attribute lengths","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetlabel: validate unlabeled address and mask attribute lengths\n\nnetlbl_unlabel_addrinfo_get() used the address attribute length to\ndetermine whether the attribute data could be read as an IPv4 or IPv6\naddress, but did not independently validate the corresponding mask\nattribute length.  A crafted Generic Netlink request could therefore\nprovide a valid IPv4/IPv6 address attribute with a shorter mask\nattribute, which would later be read as a full struct in_addr or\nstruct in6_addr.\n\nNLA_BINARY policy lengths are maximum lengths by default, so use\nNLA_POLICY_EXACT_LEN() for the unlabeled IPv4/IPv6 address and mask\nattributes.  This rejects short attributes during policy validation and\nalso exposes the exact length requirements through policy introspection.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-06-25 09:16:41","updated_at":"2026-06-25 09:16:41"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0c4bb32ad7fdc2dc6a8050f41eb04d4bda56b6c8","name":"https://git.kernel.org/stable/c/0c4bb32ad7fdc2dc6a8050f41eb04d4bda56b6c8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/95bda3eac0b1454c2cee98d58d9ba6dd8391e843","name":"https://git.kernel.org/stable/c/95bda3eac0b1454c2cee98d58d9ba6dd8391e843","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ccfe292a966079c61ea68a2da303b2a336170993","name":"https://git.kernel.org/stable/c/ccfe292a966079c61ea68a2da303b2a336170993","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/975a84fd741440853380d37465b6e226cf47254c","name":"https://git.kernel.org/stable/c/975a84fd741440853380d37465b6e226cf47254c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/71c52da13c3737493b42d20d9f33de34e03b3156","name":"https://git.kernel.org/stable/c/71c52da13c3737493b42d20d9f33de34e03b3156","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/07a18f5c90dd3d586b73242f5a5bbf0a72f2fdc6","name":"https://git.kernel.org/stable/c/07a18f5c90dd3d586b73242f5a5bbf0a72f2fdc6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9772589b57e44aedc240211c5c3f7a684a034d3a","name":"https://git.kernel.org/stable/c/9772589b57e44aedc240211c5c3f7a684a034d3a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/672f0f3b8f875ffe6525a37847eafa7648c4c0c6","name":"https://git.kernel.org/stable/c/672f0f3b8f875ffe6525a37847eafa7648c4c0c6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-53238","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53238","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd 975a84fd741440853380d37465b6e226cf47254c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd 672f0f3b8f875ffe6525a37847eafa7648c4c0c6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd 95bda3eac0b1454c2cee98d58d9ba6dd8391e843 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd 07a18f5c90dd3d586b73242f5a5bbf0a72f2fdc6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd 71c52da13c3737493b42d20d9f33de34e03b3156 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd 0c4bb32ad7fdc2dc6a8050f41eb04d4bda56b6c8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd ccfe292a966079c61ea68a2da303b2a336170993 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd 9772589b57e44aedc240211c5c3f7a684a034d3a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.25","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.25 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.259 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.210 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.176 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.143 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.94 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.36 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.13 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/netlabel/netlabel_unlabeled.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"975a84fd741440853380d37465b6e226cf47254c","status":"affected","version":"8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd","versionType":"git"},{"lessThan":"672f0f3b8f875ffe6525a37847eafa7648c4c0c6","status":"affected","version":"8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd","versionType":"git"},{"lessThan":"95bda3eac0b1454c2cee98d58d9ba6dd8391e843","status":"affected","version":"8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd","versionType":"git"},{"lessThan":"07a18f5c90dd3d586b73242f5a5bbf0a72f2fdc6","status":"affected","version":"8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd","versionType":"git"},{"lessThan":"71c52da13c3737493b42d20d9f33de34e03b3156","status":"affected","version":"8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd","versionType":"git"},{"lessThan":"0c4bb32ad7fdc2dc6a8050f41eb04d4bda56b6c8","status":"affected","version":"8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd","versionType":"git"},{"lessThan":"ccfe292a966079c61ea68a2da303b2a336170993","status":"affected","version":"8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd","versionType":"git"},{"lessThan":"9772589b57e44aedc240211c5c3f7a684a034d3a","status":"affected","version":"8cc44579d1bd77ba3a32f2cb76fd9669c229c5fd","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/netlabel/netlabel_unlabeled.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.25"},{"lessThan":"2.6.25","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.259","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.210","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.176","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.143","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.94","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.36","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.13","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.259","versionStartIncluding":"2.6.25","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.210","versionStartIncluding":"2.6.25","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.176","versionStartIncluding":"2.6.25","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.143","versionStartIncluding":"2.6.25","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.94","versionStartIncluding":"2.6.25","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.36","versionStartIncluding":"2.6.25","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.13","versionStartIncluding":"2.6.25","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"2.6.25","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetlabel: validate unlabeled address and mask attribute lengths\n\nnetlbl_unlabel_addrinfo_get() used the address attribute length to\ndetermine whether the attribute data could be read as an IPv4 or IPv6\naddress, but did not independently validate the corresponding mask\nattribute length.  A crafted Generic Netlink request could therefore\nprovide a valid IPv4/IPv6 address attribute with a shorter mask\nattribute, which would later be read as a full struct in_addr or\nstruct in6_addr.\n\nNLA_BINARY policy lengths are maximum lengths by default, so use\nNLA_POLICY_EXACT_LEN() for the unlabeled IPv4/IPv6 address and mask\nattributes.  This rejects short attributes during policy validation and\nalso exposes the exact length requirements through policy introspection."}],"providerMetadata":{"dateUpdated":"2026-06-25T08:39:34.492Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/975a84fd741440853380d37465b6e226cf47254c"},{"url":"https://git.kernel.org/stable/c/672f0f3b8f875ffe6525a37847eafa7648c4c0c6"},{"url":"https://git.kernel.org/stable/c/95bda3eac0b1454c2cee98d58d9ba6dd8391e843"},{"url":"https://git.kernel.org/stable/c/07a18f5c90dd3d586b73242f5a5bbf0a72f2fdc6"},{"url":"https://git.kernel.org/stable/c/71c52da13c3737493b42d20d9f33de34e03b3156"},{"url":"https://git.kernel.org/stable/c/0c4bb32ad7fdc2dc6a8050f41eb04d4bda56b6c8"},{"url":"https://git.kernel.org/stable/c/ccfe292a966079c61ea68a2da303b2a336170993"},{"url":"https://git.kernel.org/stable/c/9772589b57e44aedc240211c5c3f7a684a034d3a"}],"title":"netlabel: validate unlabeled address and mask attribute lengths","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-53238","datePublished":"2026-06-25T08:39:34.492Z","dateReserved":"2026-06-09T07:44:35.393Z","dateUpdated":"2026-06-25T08:39:34.492Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-25 09:16:41","lastModifiedDate":"2026-06-25 09:16:41","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"53238","Ordinal":"1","Title":"netlabel: validate unlabeled address and mask attribute lengths","CVE":"CVE-2026-53238","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"53238","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetlabel: validate unlabeled address and mask attribute lengths\n\nnetlbl_unlabel_addrinfo_get() used the address attribute length to\ndetermine whether the attribute data could be read as an IPv4 or IPv6\naddress, but did not independently validate the corresponding mask\nattribute length.  A crafted Generic Netlink request could therefore\nprovide a valid IPv4/IPv6 address attribute with a shorter mask\nattribute, which would later be read as a full struct in_addr or\nstruct in6_addr.\n\nNLA_BINARY policy lengths are maximum lengths by default, so use\nNLA_POLICY_EXACT_LEN() for the unlabeled IPv4/IPv6 address and mask\nattributes.  This rejects short attributes during policy validation and\nalso exposes the exact length requirements through policy introspection.","Type":"Description","Title":"netlabel: validate unlabeled address and mask attribute lengths"}]}}}