Skip to main content
VulnerabilityPublished

CVE-2026-138905: Linux kernel · media: vicodec: fix NULL deref on oversized frame

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in ed06bca3414b045dd29a0a5ca65e64e83e0b5373 : update Linux kernel when convenient.

Data as of 30 Nov 2026, 13:46 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in ed06bca3414b045dd29a0a5ca65e64e83e0b5373, c657eb609197e289b054bc2c4e86a0fc32dd7ebe, b6f62366bc014a3a20fa0a3c42e51cadd198fb41 +5

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < ed06bca3414b045dd29a0a5ca65e64e83e0b5373
Fixed in
  • ed06bca3414b045dd29a0a5ca65e64e83e0b5373
LinuxLinuxAffected
  • ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < c657eb609197e289b054bc2c4e86a0fc32dd7ebe
Fixed in
  • c657eb609197e289b054bc2c4e86a0fc32dd7ebe
LinuxLinuxAffected
  • ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < b6f62366bc014a3a20fa0a3c42e51cadd198fb41
Fixed in
  • b6f62366bc014a3a20fa0a3c42e51cadd198fb41
LinuxLinuxAffected
  • ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < 855012e5e1bb64b7f7e50422c02b2ebdcd872657
Fixed in
  • 855012e5e1bb64b7f7e50422c02b2ebdcd872657
LinuxLinuxAffected
  • ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < 7347bd55fdc61db467400439a038a38ff69bc041
Fixed in
  • 7347bd55fdc61db467400439a038a38ff69bc041
LinuxLinuxAffected
  • ≥ 3b15f68e19c28a76d175f61943a8c23224afce93, < 563dfdc969c1bf63e4ace17a53aaaedd59595a01
Fixed in
  • 563dfdc969c1bf63e4ace17a53aaaedd59595a01

Description

In the Linux kernel, the following vulnerability has been resolved: media: vicodec: fix NULL deref on oversized frame job_ready() only honours the is_header_valid() verdict when ctx->comp_has_frame is set, and comp_has_frame is only set once comp_size reaches the full frame size. Since the copy is clamped to ctx->comp_max_size, a header advertising a larger size leaves comp_size stuck at comp_max_size, so comp_has_frame stays false and the failed validation is discarded. Control then falls into the resolution change branch, which calls update_capture_data_from_header(). That function re-derives info via info_from_header(), assigns it to q_dst->info and dereferences it as q_dst->info->sizeimage_mult, with no NULL check of its own. is_header_valid() does check that same info_from_header() result -- if (!info) return false which is precisely the false verdict job_ready() discarded above. info_from_header() returns NULL whenever the header flags resolve to no supported pixel format. Drop the comp_has_frame conjunct so an invalid header always bails out. The resolution change path is unaffected, as it is entered with a valid header. Oversized frames are then rejected by device_process(), which already returns -EINVAL when comp_frame_size exceeds comp_max_size.

References

Community reviews

Loading reviews…