# CVE-2023-53543: vdpa: Add max vqp attr to vdpa_nl_policy for nlattr length check

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-10-04T15:16:52.114Z
- Modified: 2026-11-05T21:17:25.417Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

vdpa: Add max vqp attr to vdpa_nl_policy for nlattr length check

The vdpa_nl_policy structure is used to validate the nlattr when parsing
the incoming nlmsg. It will ensure the attribute being described produces
a valid nlattr pointer in info->attrs before entering into each handler
in vdpa_nl_ops.

That is to say, the missing part in vdpa_nl_policy may lead to illegal
nlattr after parsing, which could lead to OOB read just like CVE-2023-3773.

This patch adds the missing nla_policy for vdpa max vqp attr to avoid
such bugs.

(As written by CVE List.)

## Affected

- Linux Linux: from 447092100c7e71aa20469a270fcee441d807ed58 before baed19c108ac8287425b93a44985bbe9a0b1af8d; from ad69dd0bf26b88ec6ab26f8bbe5cd74fbed7672a before ff71709445ac033e6e250d971683110e4781c068; from ad69dd0bf26b88ec6ab26f8bbe5cd74fbed7672a before ea65e8b5e6b1a34deda7564f09c90e9e80db436a; from ad69dd0bf26b88ec6ab26f8bbe5cd74fbed7672a before 5d6ba607d6cb5c58a4ddf33381e18c83dbb4098f; from 5.15.198 before 5.15.209; 5.16 (not affected: before 5.16; from 5.15.209 up to 5.15.*; from 6.1.47 up to 6.1.*; from 6.4.12 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 5.15.198 before 5.15.209; from 5.16 before 6.1.47; from 6.2 before 6.4.12; 6.5

## References

- <https://git.kernel.org/stable/c/baed19c108ac8287425b93a44985bbe9a0b1af8d> (patch)
- <https://git.kernel.org/stable/c/ff71709445ac033e6e250d971683110e4781c068> (patch)
- <https://git.kernel.org/stable/c/ea65e8b5e6b1a34deda7564f09c90e9e80db436a> (patch)
- <https://git.kernel.org/stable/c/5d6ba607d6cb5c58a4ddf33381e18c83dbb4098f> (patch)

## Sources

- CVE List: [CVE-2023-53543](https://www.cve.org/CVERecord?id=CVE-2023-53543), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2023-53543](https://nvd.nist.gov/vuln/detail/CVE-2023-53543), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2023-53543 · Whole record: https://cve.day/CVE-2023-53543.json · Rebuilt by cve.day 2026-11-25T22:58:34.932Z
