Security mailing lists by PureSourceCode

CVE-2026-139041

not scored yet

media: vicodec: make encoder CAPTURE dimensions read-only

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < 69ae6d7be0d67ecdedbea49a658d284cb6035495; >= efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < 30fbc161c40c28f46f780f4222dbc8966d85af7c; >= efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < 2373c6da34cd39ba58b3c1cf87cd32752bfa1612; >= efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < ae0ced91c40cbe86a5f5fc196f02df6d85aee77d; >= efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < 3ba760923c0846e3ea2ab811d19d2ca29bf5b118; >= efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < 72b9c63beb0151c917bdc538daaefb636f442b17; >= efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < f4bb5d4f446b6ae00a954003a0d9b7797a1b4197; >= efec9c815e5da15fe671fe7b3a0ea5575067b4b5, < 2532e9d2f8ccb330a9c924b1ee34c5629240d352 69ae6d7be0d67ecdedbea49a658d284cb6035495, 30fbc161c40c28f46f780f4222dbc8966d85af7c, 2373c6da34cd39ba58b3c1cf87cd32752bfa1612, ae0ced91c40cbe86a5f5fc196f02df6d85aee77d, 3ba760923c0846e3ea2ab811d19d2ca29bf5b118, 72b9c63beb0151c917bdc538daaefb636f442b17, f4bb5d4f446b6ae00a954003a0d9b7797a1b4197, 2532e9d2f8ccb330a9c924b1ee34c5629240d352
CVE List Linux Linux = 5.3

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.