{"id":"CVE-2023-54031","aliases":["CVE-2023-54031"],"related":[],"kind":"vulnerability","state":"published","title":"vdpa: Add queue index attr to vdpa_nl_policy for nlattr length check","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvdpa: Add queue index 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 queue index attr to avoid\nsuch bugs.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvdpa: Add queue index 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 queue index attr to avoid\nsuch bugs.","source":"cvelist"}],"published":"2025-12-24T10:55:58.885Z","modified":"2026-06-17T06:46:34.137Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"13b00b135665c92065a27c0c39dd97e0f380bd4f","fixed":"8ad9bc25cbdcec72e7ca43dd8281decb69ea9a70","status":"affected"},{"type":"git","introduced":"13b00b135665c92065a27c0c39dd97e0f380bd4f","fixed":"ccb533b7070aeeb65c66ea5d590e9c62421dcd61","status":"affected"},{"type":"git","introduced":"13b00b135665c92065a27c0c39dd97e0f380bd4f","fixed":"b3003e1b54e057f5f3124e437b80c3bef26ed3fe","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"6.1.47","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.12","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8ad9bc25cbdcec72e7ca43dd8281decb69ea9a70","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ccb533b7070aeeb65c66ea5d590e9c62421dcd61","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b3003e1b54e057f5f3124e437b80c3bef26ed3fe","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54031","url":"https://www.cve.org/CVERecord?id=CVE-2023-54031","licence":"CVE Terms of Use","modified":"2026-05-11T19:54:05.604Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54031","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54031","licence":"Public domain","modified":"2026-06-17T06:46:34.137Z"}],"updatedAt":"2026-11-25T22:58:35.148Z","epss":{"score":0.00274,"percentile":0.12496,"date":"2026-11-30T12:00:22.000Z"}}