{"id":"CVE-2023-53652","state":"PUBLISHED","title":"vdpa: Add features attr to vdpa_nl_policy for nlattr length check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvdpa: Add features attr to vdpa_nl_policy for nlattr length check\n\nThe vdpa_nl_policy structure is used to validate the nlattr when parsing\nthe incoming nlmsg. It will ensure the attribute being described produces\na valid nlattr pointer in info->attrs before entering into each handler\nin vdpa_nl_ops.\n\nThat is to say, the missing part in vdpa_nl_policy may lead to illegal\nnlattr after parsing, which could lead to OOB read just like CVE-2023-3773.\n\nThis patch adds the missing nla_policy for vdpa features attr to avoid\nsuch bugs.","publishedAt":"2025-10-07T15:19:48.628Z","updatedAt":"2026-05-11T19:49:17.925Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"90fea5a800c3dd80fb8ad9a02929bcef5fde42b8","status":"affected","lessThan":"44b508cc96889e61799cc0fc6c00766a54f3ab5a","versionType":"git"},{"version":"90fea5a800c3dd80fb8ad9a02929bcef5fde42b8","status":"affected","lessThan":"645d17e06c502e71b880b2b854930e5a64014640","versionType":"git"},{"version":"90fea5a800c3dd80fb8ad9a02929bcef5fde42b8","status":"affected","lessThan":"79c8651587504ba263d2fd67fd4406240fb21f69","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vdpa/vdpa.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.1","versionType":"semver"},{"version":"6.1.47","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.12","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vdpa/vdpa.c"]}],"references":["https://git.kernel.org/stable/c/44b508cc96889e61799cc0fc6c00766a54f3ab5a","https://git.kernel.org/stable/c/645d17e06c502e71b880b2b854930e5a64014640","https://git.kernel.org/stable/c/79c8651587504ba263d2fd67fd4406240fb21f69"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53652.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53652","state":"PUBLISHED","datePublished":"2025-10-07T15:19:48.628Z","dateUpdated":"2026-05-11T19:49:17.925Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-10-07T15:16:59.661Z"},"containers":{"cna":{"title":"vdpa: Add features attr to vdpa_nl_policy for nlattr length check","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nvdpa: Add features attr to vdpa_nl_policy for nlattr length check\n\nThe vdpa_nl_policy structure is used to validate the nlattr when parsing\nthe incoming nlmsg. It will ensure the attribute being described produces\na valid nlattr pointer in info->attrs before entering into each handler\nin vdpa_nl_ops.\n\nThat is to say, the missing part in vdpa_nl_policy may lead to illegal\nnlattr after parsing, which could lead to OOB read just like CVE-2023-3773.\n\nThis patch adds the missing nla_policy for vdpa features attr to avoid\nsuch bugs."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"90fea5a800c3dd80fb8ad9a02929bcef5fde42b8","status":"affected","lessThan":"44b508cc96889e61799cc0fc6c00766a54f3ab5a","versionType":"git"},{"version":"90fea5a800c3dd80fb8ad9a02929bcef5fde42b8","status":"affected","lessThan":"645d17e06c502e71b880b2b854930e5a64014640","versionType":"git"},{"version":"90fea5a800c3dd80fb8ad9a02929bcef5fde42b8","status":"affected","lessThan":"79c8651587504ba263d2fd67fd4406240fb21f69","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vdpa/vdpa.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.1","versionType":"semver"},{"version":"6.1.47","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.4.12","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vdpa/vdpa.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/44b508cc96889e61799cc0fc6c00766a54f3ab5a"},{"url":"https://git.kernel.org/stable/c/645d17e06c502e71b880b2b854930e5a64014640"},{"url":"https://git.kernel.org/stable/c/79c8651587504ba263d2fd67fd4406240fb21f69"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:49:17.925Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.1.47"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.4.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.5"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}