{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50291","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-10-21T19:36:19.985Z","datePublished":"2024-11-19T01:30:36.685Z","dateUpdated":"2026-08-05T11:43:07.952Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:43:07.952Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: dvb-core: add missing buffer index check\n\ndvb_vb2_expbuf() didn't check if the given buffer index was\nfor a valid buffer. Add this check."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerability is reached only via the DMX_EXPBUF ioctl on the local DVB demux/dvr character devices (/dev/dvb/adapterN/demuxN, dvrN); no network or remote data path reaches dvb_vb2_expbuf().\nAC:L - The attacker fully controls exp->index and the preceding DMX_REQBUFS state, so the out-of-bounds pointer fetch is deterministic on every attempt with no race, timing, or uncontrollable memory-layout precondition.\nPR:L - No capable()/CAP_* check exists on the open or ioctl path; only an open file descriptor on the DVB demux node is needed, which unprivileged users in the standard `video` group (desktops, set-top boxes, media appliances) hold.\nUI:N - The attacker performs the entire sequence (open, DMX_REQBUFS, DMX_EXPBUF) itself; no victim action or cooperation is required.\nS:U - The out-of-bounds access and its consequences are confined to the kernel's own security authority; no hypervisor, IOMMU, or sandbox boundary is crossed.\nC:H - The attacker-chosen 32-bit index yields an out-of-bounds read at an arbitrary offset from a kernel heap object, and the resulting forged vb2_buffer/mem_priv is used to build a dma_buf fd handed back to userspace whose vaddr can be mmap'd, exposing arbitrary kernel memory.\nI:H - The forged struct vb2_buffer * is dereferenced through call_ptr_memop as vb->vb2_queue->mem_ops->get_dmabuf(), an attacker-influenced indirect call, and the exported dma_buf mapping is writable, giving arbitrary kernel memory write and control-flow hijack potential.\nA:H - An index between the allocated buffer count and 32 returns a NULL slot that vb2_core_expbuf() immediately dereferences, and larger indices dereference wild pointers, producing a reliable kernel oops/panic on demand."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/dvb-core/dvb_vb2.c"],"versions":[{"version":"7dc866df40127dceac9ba83ae16c0c11e7d1666f","lessThan":"721c37af0355cc0b540909c57fd7930dc99c72d8","status":"affected","versionType":"git"},{"version":"7dc866df40127dceac9ba83ae16c0c11e7d1666f","lessThan":"fa88dc7db176c79b50adb132a56120a1d4d9d18b","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/dvb-core/dvb_vb2.c"],"versions":[{"version":"6.8","status":"affected"},{"version":"0","lessThan":"6.8","status":"unaffected","versionType":"semver"},{"version":"6.11.8","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.11.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/721c37af0355cc0b540909c57fd7930dc99c72d8"},{"url":"https://git.kernel.org/stable/c/fa88dc7db176c79b50adb132a56120a1d4d9d18b"}],"title":"media: dvb-core: add missing buffer index check","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"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:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-50291","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T20:14:21.168376Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-129","description":"CWE-129 Improper Validation of Array Index"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-10-01T20:17:21.088Z"}}]}}