{"id":"CVE-2024-53110","state":"PUBLISHED","title":"vp_vdpa: fix id_table array not null terminated error","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvp_vdpa: fix id_table array not null terminated error\n\nAllocate one extra virtio_device_id as null terminator, otherwise\nvdpa_mgmtdev_get_classes() may iterate multiple times and visit\nundefined memory.","publishedAt":"2024-12-02T13:44:42.542Z","updatedAt":"2026-08-05T11:43:48.718Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ffbda8e9df10d1784d5427ec199e7d8308e3763f","status":"affected","lessThan":"870d68fe17b5d9032049dcad98b5781a344a8657","versionType":"git"},{"version":"ffbda8e9df10d1784d5427ec199e7d8308e3763f","status":"affected","lessThan":"c4d64534d4b1c47d2f1ce427497f971ad4735aae","versionType":"git"},{"version":"ffbda8e9df10d1784d5427ec199e7d8308e3763f","status":"affected","lessThan":"0a886489d274596ad1a80789d3a773503210a615","versionType":"git"},{"version":"ffbda8e9df10d1784d5427ec199e7d8308e3763f","status":"affected","lessThan":"4e39ecadf1d2a08187139619f1f314b64ba7d947","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vdpa/virtio_pci/vp_vdpa.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.1.119","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.63","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.10","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vdpa/virtio_pci/vp_vdpa.c"]}],"references":["https://git.kernel.org/stable/c/870d68fe17b5d9032049dcad98b5781a344a8657","https://git.kernel.org/stable/c/c4d64534d4b1c47d2f1ce427497f971ad4735aae","https://git.kernel.org/stable/c/0a886489d274596ad1a80789d3a773503210a615","https://git.kernel.org/stable/c/4e39ecadf1d2a08187139619f1f314b64ba7d947","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/53xxx/CVE-2024-53110.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-53110","state":"PUBLISHED","datePublished":"2024-12-02T13:44:42.542Z","dateUpdated":"2026-08-05T11:43:48.718Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-11-19T17:17:24.993Z"},"containers":{"cna":{"title":"vp_vdpa: fix id_table array not null terminated error","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nvp_vdpa: fix id_table array not null terminated error\n\nAllocate one extra virtio_device_id as null terminator, otherwise\nvdpa_mgmtdev_get_classes() may iterate multiple times and visit\nundefined memory."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ffbda8e9df10d1784d5427ec199e7d8308e3763f","status":"affected","lessThan":"870d68fe17b5d9032049dcad98b5781a344a8657","versionType":"git"},{"version":"ffbda8e9df10d1784d5427ec199e7d8308e3763f","status":"affected","lessThan":"c4d64534d4b1c47d2f1ce427497f971ad4735aae","versionType":"git"},{"version":"ffbda8e9df10d1784d5427ec199e7d8308e3763f","status":"affected","lessThan":"0a886489d274596ad1a80789d3a773503210a615","versionType":"git"},{"version":"ffbda8e9df10d1784d5427ec199e7d8308e3763f","status":"affected","lessThan":"4e39ecadf1d2a08187139619f1f314b64ba7d947","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vdpa/virtio_pci/vp_vdpa.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.1.119","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.63","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.10","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vdpa/virtio_pci/vp_vdpa.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/870d68fe17b5d9032049dcad98b5781a344a8657"},{"url":"https://git.kernel.org/stable/c/c4d64534d4b1c47d2f1ce427497f971ad4735aae"},{"url":"https://git.kernel.org/stable/c/0a886489d274596ad1a80789d3a773503210a615"},{"url":"https://git.kernel.org/stable/c/4e39ecadf1d2a08187139619f1f314b64ba7d947"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","baseScore":7.3,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable path is reached through a generic netlink socket (VDPA_CMD_MGMTDEV_GET on the vdpa genl family), which requires local system access. Per kernel scoring guidance, netlink-reachable code is Local.\nAC:L - The out-of-bounds read is fully deterministic — every MGMTDEV_GET doit or dump against a vp_vdpa management device walks past the single-entry allocation with no race, timing window, or attacker-uninfluenceable memory layout required.\nPR:L - VDPA_CMD_MGMTDEV_GET is registered without GENL_ADMIN_PERM (drivers/vdpa/vdpa.c:1544), unlike the sibling DEV_NEW/DEV_DEL/DEV_ATTR_SET ops, so any unprivileged local user can trigger the read and receive the reply; the dump variant needs no attributes at all.\nUI:N - The attacker triggers the bug entirely on their own by sending a netlink message; no victim action or cooperation is involved.\nS:U - The out-of-bounds read stays within the kernel's own heap and the impact is confined to the kernel security authority, with no crossing of a VM, IOMMU, or sandbox boundary.\nC:H - The read is unbounded — it walks adjacent slab memory until it chances upon a zero word — and the derived value is returned to the unprivileged caller in VDPA_ATTR_DEV_MGMTDEV_SUPPORTED_CLASSES, disclosing adjacent heap contents rather than a strictly bounded few bytes.\nI:L - Garbage device IDs harvested out of bounds are folded into the classes bitmask and ncls counter that gate the class-consistency validation in vdpa_nl_cmd_dev_add_set_doit(), so out-of-bounds heap data can alter kernel device-creation decisions in a limited way.\nA:H - The unterminated walk can run far past the object into a non-present region and oops the kernel, and on KASAN-instrumented builds the slab-out-of-bounds report panics under panic_on_warn; the read is repeatable at will by an unprivileged user."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:43:48.718Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.1.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.6.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.11.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-53110","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T20:10:41.175338Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T20:17:11.370Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:29:20.103Z"}}]}}}