CVE-2025-38226
media: vivid: Change the siize of the composing
Check your servers for CVE-2025-38226
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38226 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
media: vivid: Change the siize of the composing
syzkaller found a bug:
BUG: KASAN: vmalloc-out-of-bounds in tpg_fill_plane_pattern drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2608 [inline] BUG: KASAN: vmalloc-out-of-bounds in tpg_fill_plane_buffer+0x1a9c/0x5af0 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2705 Write of size 1440 at addr ffffc9000d0ffda0 by task vivid-000-vid-c/5304
CPU: 0 UID: 0 PID: 5304 Comm: vivid-000-vid-c Not tainted 6.14.0-rc2-syzkaller-00039-g09fbf3d50205 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x169/0x550 mm/kasan/report.c:489 kasan_report+0x143/0x180 mm/kasan/report.c:602 kasan_check_range+0x282/0x290 mm/kasan/generic.c:189 __asan_memcpy+0x40/0x70 mm/kasan/shadow.c:106 tpg_fill_plane_pattern drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2608 [inline] tpg_fill_plane_buffer+0x1a9c/0x5af0 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2705 vivid_fillbuff drivers/media/test-drivers/vivid/vivid-kthread-cap.c:470 [inline] vivid_thread_vid_cap_tick+0xf8e/0x60d0 drivers/media/test-drivers/vivid/vivid-kthread-cap.c:629 vivid_thread_vid_cap+0x8aa/0xf30 drivers/media/test-drivers/vivid/vivid-kthread-cap.c:767 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 </TASK>
The composition size cannot be larger than the size of fmt_cap_rect. So execute v4l2_rect_map_inside() even if has_compose_cap == 0.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 54f259906039dbfe46c550011409fa16f72370f6, before 57597d8db5bbda618ba2145b7e8a7e6f01b6a27e affected from f9d19f3a044ca651b0be52a4bf951ffe74259b9f, before 635cea4f44c1ddae208666772c164eab5a6bce39 affected from ab54081a2843aefb837812fac5488cc8f1696142, before 89b5ab822bf69867c3951dd0eb34b0314c38966b affected from 2f558c5208b0f70c8140e08ce09fcc84da48e789, before 5d89aa42534723400fefd46e26e053b9c382b4ee affected from 94a7ad9283464b75b12516c5512541d467cefcf8, before f6b1b0f8ba0b61d8b511df5649d57235f230c135 affected from 94a7ad9283464b75b12516c5512541d467cefcf8, before 00da1c767a6567e56f23dda586847586868ac064 affected from 94a7ad9283464b75b12516c5512541d467cefcf8, before c56398885716d97ee9bcadb2bc9663a8c1757a34 affected from 94a7ad9283464b75b12516c5512541d467cefcf8, before f83ac8d30c43fd902af7c84c480f216157b60ef0 affected 8c0ee15d9a102c732d0745566d254040085d5663 affected 5edc3604151919da8da0fb092b71d7dce07d848a affected 9c7fba9503b826f0c061d136f8f0c9f953ed18b9 affected ccb5392c4fea0e7d9f7ab35567e839d74cb3998b affected from 5.4.229, before 5.4.296 affected from 5.10.163, before 5.10.239 affected from 5.15.86, before 5.15.186 affected from 6.1.2, before 6.1.142 affected from 4.9.337, before 4.10 affected from 4.14.303, before 4.15 affected from 4.19.270, before 4.20 affected from 6.0.16, before 6.1
Other versions: unaffected
|
| Linux |
affected 6.2 unaffected before 6.2 unaffected from 5.4.296 up to and including 5.4.* unaffected from 5.10.239 up to and including 5.10.* unaffected from 5.15.186 up to and including 5.15.* unaffected from 6.1.142 up to and including 6.1.* unaffected from 6.6.95 up to and including 6.6.* unaffected from 6.12.35 up to and including 6.12.* unaffected from 6.15.4 up to and including 6.15.* unaffected 6.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38226 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38226
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38226
trivy image --scanners vuln IMAGE | grep CVE-2025-38226
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/57597d8db5bbda618ba2145b7e8a7e6f01b6a27e git.kernel.org
- https://git.kernel.org/stable/c/635cea4f44c1ddae208666772c164eab5a6bce39 git.kernel.org
- https://git.kernel.org/stable/c/89b5ab822bf69867c3951dd0eb34b0314c38966b git.kernel.org
- https://git.kernel.org/stable/c/5d89aa42534723400fefd46e26e053b9c382b4ee git.kernel.org
- https://git.kernel.org/stable/c/f6b1b0f8ba0b61d8b511df5649d57235f230c135 git.kernel.org
- https://git.kernel.org/stable/c/00da1c767a6567e56f23dda586847586868ac064 git.kernel.org
- https://git.kernel.org/stable/c/c56398885716d97ee9bcadb2bc9663a8c1757a34 git.kernel.org
- https://git.kernel.org/stable/c/f83ac8d30c43fd902af7c84c480f216157b60ef0 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38226 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse