CVE-2026-138931
Received Received - Intake

Buffer Overflow in Linux Kernel V4L2-ISP Driver

Vulnerability report for CVE-2026-138931, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-30

Last updated on: 2026-11-30

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: media: v4l2-isp: reject zero-sized parameter blocks v4l2_isp_params_validate_buffer() walks the blocks of a parameters buffer by adding block->size to the current offset. A block whose type_info[] entry is an uninitialised hole passes every check on the way there: a size of 0 is not caught by the block->size > buffer_size test, and the match against the type info size compares 0 with the hole's own 0 and passes as well. The walk then makes no forward progress and loops forever. Drivers build their type_info[] arrays with designated initialisers indexed by their block type enumeration, so an enumerator left without an entry leaves a zeroed hole rather than failing the build. Drivers call the validator from vb2 .buf_prepare, so such a hole turns a VIDIOC_QBUF on the parameters video device into an unkillable task spinning with the queue mutex held. Reject a block whose type info entry is empty. The driver does not implement the type, so it cannot tell whether the block content is meaningful, and accepting it silently would leave that content unconstrained until a later kernel implements the type and starts validating it. The size match then always runs against a non-zero size, and no block can advance the walk by zero.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-30
Last Modified
2026-11-30
Generated
2026-12-01
AI Q&A
2026-12-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a flaw in the v4l2-isp driver where zero-sized parameter blocks are not properly rejected. The function v4l2_isp_params_validate_buffer() incorrectly processes blocks with uninitialized holes in their type_info arrays, leading to an infinite loop when the block size is zero. This causes a VIDIOC_QBUF call to hang indefinitely with the queue mutex held.

Detection Guidance

This vulnerability is specific to the Linux kernel's media subsystem and cannot be detected via network scanning tools. It requires checking the kernel version and examining the v4l2-isp driver for the described flaw. Use uname -a to check the kernel version and grep for v4l2-isp in kernel logs or driver modules.

Impact Analysis

This vulnerability can cause system hangs or denial of service when processing video device buffers. If exploited, it may lead to unresponsive applications or kernel tasks, potentially requiring a system reboot to recover. It primarily affects systems using the v4l2-isp driver for video processing.

Mitigation Strategies

Update the Linux kernel to a patched version that resolves CVE-2026-138931. If an update is not immediately available, disable the v4l2-isp driver or restrict access to video device nodes to prevent exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138931. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...