Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139027

published

media: vivid: round the height down to the vertical subsampling factor

Published
30 Nov 2026, 13:27:11 UTC
Updated
30 Nov 2026, 13:27:11 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxddcaee9dd4c00174db8ddf913c87ddf3773c446e to < f8614b4e7dd89b69b63405e47aa84aeae5a656b4 · ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < f3b8f2f68afb6b16ce254266b246bbb8a1aaf1f8 · ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < 6c55e02d9b3f4bdcd4e951c8d7cf3ae8131e3e43 · ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < 66ad567e88397a04429d8f768f49cb8e52fd1dd0 · ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < 883ba9671d826fe7e6a5d2cd6789eb42f46f9ec5 · ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < 00dd4a5c2b8c7391367c047ad79158043116723c · ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < e9115c139cad53919457a179d81964430dfdae32 · ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < a2ec28dd2a88d0721fc4a30242861e2be01d4023 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.1 (affected) · 0 to < 4.1 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: media: vivid: round the height down to the vertical subsampling factor syzbot reports a vmalloc out-of-bounds write in the test pattern generator: BUG: KASAN: vmalloc-out-of-bounds in tpg_fill_plane_pattern drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2617 [inline] BUG: KASAN: vmalloc-out-of-bounds in tpg_fill_plane_buffer+0x2063/0x4160 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2705 Write of size 720 at addr ffffc900038f9d50 by task vivid-000-vid-c/6017 The reproducer requests a 720x49 NV12 capture format, i.e. an odd height for a format whose chroma plane is vertically subsampled. The buffer size is derived from the height by a truncating division: sizes[p] = (tpg_g_line_width(&dev->tpg, p) * h) / dev->fmt_cap->vdownsampling[p] + dev->fmt_cap->data_offset[p]; For a single buffer holding both planes tpg_g_line_width() returns 720 + 720 / 2 = 1080, so 1080 * 49 = 52920 bytes get allocated. tpg_fill_plane_buffer() however emits one chroma line for every two luma lines, i.e. DIV_ROUND_UP(49, 2) = 25 lines, and thus needs 49 * 720 + 25 * 720 = 53280 bytes. The memcpy() of the last chroma line runs 360 bytes past the end of the buffer. An odd height is not meaningful for a 4:2:0 format in the first place, since the chroma plane would have to hold half a line. Rather than fixing up each of the ~10 sites that divide the height by vdownsampling[], round the height down to a multiple of the vertical subsampling factor where it enters the driver. Adjusting the format is what TRY_FMT/S_FMT are for, and it keeps every later division exact. Formats without vertical subsampling are unaffected and keep accepting odd heights. Tested with the syzbot reproducer, which no longer triggers the splat, and by streaming NV12, NV21, YUV420, YVU420 and YUYV at heights 47, 48, 49, 51, 480, 481 and 1081. v4l2-compliance gives identical results before and after (48 of 50 succeeded on the vivid device in both cases; the two failures are pre-existing and unrelated).

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < f8614b4e7dd89b69b63405e47aa84aeae5a656b4 (affected · git)ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < f3b8f2f68afb6b16ce254266b246bbb8a1aaf1f8 (affected · git)ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < 6c55e02d9b3f4bdcd4e951c8d7cf3ae8131e3e43 (affected · git)ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < 66ad567e88397a04429d8f768f49cb8e52fd1dd0 (affected · git)ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < 883ba9671d826fe7e6a5d2cd6789eb42f46f9ec5 (affected · git)ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < 00dd4a5c2b8c7391367c047ad79158043116723c (affected · git)ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < e9115c139cad53919457a179d81964430dfdae32 (affected · git)ddcaee9dd4c00174db8ddf913c87ddf3773c446e to < a2ec28dd2a88d0721fc4a30242861e2be01d4023 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.1 (affected)0 to < 4.1 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

media: vivid: round the height down to the vertical subsampling factor

Provenance

Schema
5.2
Searchable
yes
Content hash
a70e67108e2ec04085d16efefb8ce126f6b7cf1eb76317ccad63ac95dea7e47f
Ingested
30 Nov 2026, 13:36:40 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected