CVE-2026-139041

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

media: vicodec: make encoder CAPTURE dimensions read-only

Setting the encoder's compressed CAPTURE format to a smaller resolution than the raw OUTPUT format makes the encoder write past the end of the CAPTURE buffer.

For a stateful encoder the CAPTURE width and height are not client-settable; Documentation/userspace-api/media/v4l/dev-encoder.rst specifies them as "ignored (read-only)" on VIDIOC_S_FMT. vicodec only implements half of that: vidioc_s_fmt_vid_out() derives the CAPTURE coded size and sizeimage from the OUTPUT format, but S_FMT on the CAPTURE queue overwrites them. The encoder then takes its geometry from the OUTPUT queue alone, and v4l2_fwht_encode() gets no destination length.

Overwrite the requested width and height with the OUTPUT queue's coded dimensions in vidioc_try_fmt_vid_cap(), making them read-only as the interface requires.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-1390427.8In the Linux kernel, the following vulnerability has been resolved: media: vicodec: fix out-of-bounds write on under-rounded coded dimensioCVE-2026-139043In the Linux kernel, the following vulnerability has been resolved: media: vim2m: keep transaction buffer count stable while streaming V4LCVE-2026-139044In the Linux kernel, the following vulnerability has been resolved: media: go7007: bound EZ-USB I2C transfers to the usb_buf size go7007_uCVE-2026-139045In the Linux kernel, the following vulnerability has been resolved: media: au0828: Free URBs when starting DVB streaming fails start_urb_tCVE-2026-139046In the Linux kernel, the following vulnerability has been resolved: media: cx231xx: Fix cleanup path on failure If cx231xx_init_v4l2() faiCVE-2026-139047In the Linux kernel, the following vulnerability has been resolved: media: cx231xx-audio: drain wq_trigger before audio fini audio_triggerCVE-2026-139048In the Linux kernel, the following vulnerability has been resolved: media: pci: hws: only init channels the device actually has hws_probe(CVE-2026-1390497.0In the Linux kernel, the following vulnerability has been resolved: media: hws: Wait for IRQ handler before returning buffers hws_stop_strCVE-2026-139054.2Race in Chrome for iOS in Google Chrome on iOS prior to 150.0.7871.47 allowed a local attacker to obtain potentially sensitive information fCVE-2026-139050In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: ndfc: use devm_platform_ioremap_resource() Replace the oCVE-2026-139051In the Linux kernel, the following vulnerability has been resolved: fs: make sure to call fsnotify_inoderemove() only once when inode is deCVE-2026-139052In the Linux kernel, the following vulnerability has been resolved: mtd: spi-nor: sfdp: check the length of the SCCR map The spi_nor_parse
CVE-2026-139041: Unscored | Vulnix