{"api_version":"1","generated_at":"2026-12-01T13:32:47+00:00","cve":"CVE-2026-138931","urls":{"html":"https://cve.report/CVE-2026-138931","api":"https://cve.report/api/cve/CVE-2026-138931.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-138931","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-138931"},"summary":{"title":"media: v4l2-isp: reject zero-sized parameter blocks","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: v4l2-isp: reject zero-sized parameter blocks\n\nv4l2_isp_params_validate_buffer() walks the blocks of a parameters\nbuffer by adding block->size to the current offset. A block whose\ntype_info[] entry is an uninitialised hole passes every check on the\nway there: a size of 0 is not caught by the block->size > buffer_size\ntest, and the match against the type info size compares 0 with the\nhole's own 0 and passes as well. The walk then makes no forward\nprogress and loops forever.\n\nDrivers build their type_info[] arrays with designated initialisers\nindexed by their block type enumeration, so an enumerator left without\nan entry leaves a zeroed hole rather than failing the build. Drivers\ncall the validator from vb2 .buf_prepare, so such a hole turns a\nVIDIOC_QBUF on the parameters video device into an unkillable task\nspinning with the queue mutex held.\n\nReject a block whose type info entry is empty. The driver does not\nimplement the type, so it cannot tell whether the block content is\nmeaningful, and accepting it silently would leave that content\nunconstrained until a later kernel implements the type and starts\nvalidating it. The size match then always runs against a non-zero\nsize, and no block can advance the walk by zero.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:52","updated_at":"2026-11-30 14:17:52"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/43ba38e1e02bbfbe99d3c4145df3c24797586c97","name":"https://git.kernel.org/stable/c/43ba38e1e02bbfbe99d3c4145df3c24797586c97","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/db7fce6eb2a7699cb583ba07ad4e78dbd23d750a","name":"https://git.kernel.org/stable/c/db7fce6eb2a7699cb583ba07ad4e78dbd23d750a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-138931","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138931","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3cb6de6fafb8fca55b14313e63f13ce10ecc6fc4 db7fce6eb2a7699cb583ba07ad4e78dbd23d750a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3cb6de6fafb8fca55b14313e63f13ce10ecc6fc4 43ba38e1e02bbfbe99d3c4145df3c24797586c97 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/media/v4l2-core/v4l2-isp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"db7fce6eb2a7699cb583ba07ad4e78dbd23d750a","status":"affected","version":"3cb6de6fafb8fca55b14313e63f13ce10ecc6fc4","versionType":"git"},{"lessThan":"43ba38e1e02bbfbe99d3c4145df3c24797586c97","status":"affected","version":"3cb6de6fafb8fca55b14313e63f13ce10ecc6fc4","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/media/v4l2-core/v4l2-isp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.19"},{"lessThan":"6.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: v4l2-isp: reject zero-sized parameter blocks\n\nv4l2_isp_params_validate_buffer() walks the blocks of a parameters\nbuffer by adding block->size to the current offset. A block whose\ntype_info[] entry is an uninitialised hole passes every check on the\nway there: a size of 0 is not caught by the block->size > buffer_size\ntest, and the match against the type info size compares 0 with the\nhole's own 0 and passes as well. The walk then makes no forward\nprogress and loops forever.\n\nDrivers build their type_info[] arrays with designated initialisers\nindexed by their block type enumeration, so an enumerator left without\nan entry leaves a zeroed hole rather than failing the build. Drivers\ncall the validator from vb2 .buf_prepare, so such a hole turns a\nVIDIOC_QBUF on the parameters video device into an unkillable task\nspinning with the queue mutex held.\n\nReject a block whose type info entry is empty. The driver does not\nimplement the type, so it cannot tell whether the block content is\nmeaningful, and accepting it silently would leave that content\nunconstrained until a later kernel implements the type and starts\nvalidating it. The size match then always runs against a non-zero\nsize, and no block can advance the walk by zero."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:26:18.933Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/db7fce6eb2a7699cb583ba07ad4e78dbd23d750a"},{"url":"https://git.kernel.org/stable/c/43ba38e1e02bbfbe99d3c4145df3c24797586c97"}],"title":"media: v4l2-isp: reject zero-sized parameter blocks","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-138931","datePublished":"2026-11-30T13:26:18.933Z","dateReserved":"2026-11-30T13:22:15.904Z","dateUpdated":"2026-11-30T13:26:18.933Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:52","lastModifiedDate":"2026-11-30 14:17:52","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"138931","Ordinal":"1","Title":"media: v4l2-isp: reject zero-sized parameter blocks","CVE":"CVE-2026-138931","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"138931","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: v4l2-isp: reject zero-sized parameter blocks\n\nv4l2_isp_params_validate_buffer() walks the blocks of a parameters\nbuffer by adding block->size to the current offset. A block whose\ntype_info[] entry is an uninitialised hole passes every check on the\nway there: a size of 0 is not caught by the block->size > buffer_size\ntest, and the match against the type info size compares 0 with the\nhole's own 0 and passes as well. The walk then makes no forward\nprogress and loops forever.\n\nDrivers build their type_info[] arrays with designated initialisers\nindexed by their block type enumeration, so an enumerator left without\nan entry leaves a zeroed hole rather than failing the build. Drivers\ncall the validator from vb2 .buf_prepare, so such a hole turns a\nVIDIOC_QBUF on the parameters video device into an unkillable task\nspinning with the queue mutex held.\n\nReject a block whose type info entry is empty. The driver does not\nimplement the type, so it cannot tell whether the block content is\nmeaningful, and accepting it silently would leave that content\nunconstrained until a later kernel implements the type and starts\nvalidating it. The size match then always runs against a non-zero\nsize, and no block can advance the walk by zero.","Type":"Description","Title":"media: v4l2-isp: reject zero-sized parameter blocks"}]}}}