# CVE-2026-138931: media: v4l2-isp: reject zero-sized parameter blocks

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:26:18.933Z
- Modified: 2026-11-30T14:17:52.290Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3cb6de6fafb8fca55b14313e63f13ce10ecc6fc4 before db7fce6eb2a7699cb583ba07ad4e78dbd23d750a; from 3cb6de6fafb8fca55b14313e63f13ce10ecc6fc4 before 43ba38e1e02bbfbe99d3c4145df3c24797586c97; 6.19 (not affected: before 6.19; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/db7fce6eb2a7699cb583ba07ad4e78dbd23d750a>
- <https://git.kernel.org/stable/c/43ba38e1e02bbfbe99d3c4145df3c24797586c97>

## Sources

- CVE List: [CVE-2026-138931](https://www.cve.org/CVERecord?id=CVE-2026-138931), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138931](https://nvd.nist.gov/vuln/detail/CVE-2026-138931), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138931 · Whole record: https://cve.day/CVE-2026-138931.json · Rebuilt by cve.day 2026-11-30T14:33:04.361Z
