CVE-2026-31599
media: vidtv: fix NULL pointer dereference in vidtv_channel_pmt_match_sections
Check your servers for CVE-2026-31599
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-2026-31599 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: vidtv: fix NULL pointer dereference in vidtv_channel_pmt_match_sections
syzbot reported a general protection fault in vidtv_psi_desc_assign [1].
vidtv_psi_pmt_stream_init() can return NULL on memory allocation failure, but vidtv_channel_pmt_match_sections() does not check for this. When tail is NULL, the subsequent call to vidtv_psi_desc_assign(&tail->descriptor, desc) dereferences a NULL pointer offset, causing a general protection fault.
Add a NULL check after vidtv_psi_pmt_stream_init(). On failure, clean up the already-allocated stream chain and return.
[1] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: 0010:vidtv_psi_desc_assign+0x24/0x90 drivers/media/test-drivers/vidtv/vidtv_psi.c:629 Call Trace: <TASK> vidtv_channel_pmt_match_sections drivers/media/test-drivers/vidtv/vidtv_channel.c:349 [inline] vidtv_channel_si_init+0x1445/0x1a50 drivers/media/test-drivers/vidtv/vidtv_channel.c:479 vidtv_mux_init+0x526/0xbe0 drivers/media/test-drivers/vidtv/vidtv_mux.c:519 vidtv_start_streaming drivers/media/test-drivers/vidtv/vidtv_bridge.c:194 [inline] vidtv_start_feed+0x33e/0x4d0 drivers/media/test-drivers/vidtv/vidtv_bridge.c:239
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.90% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f90cf6079bf67988f8b1ad1ade70fc89d0080905, before 54e18a23e62e81b8335cec3e8e9c5cb33fd88665 affected from f90cf6079bf67988f8b1ad1ade70fc89d0080905, before 5c986b77200b5ea754ba6636deacc7e0942fec9b affected from f90cf6079bf67988f8b1ad1ade70fc89d0080905, before 93d9e747a9e8a5ca9e3c5e37dcff76b40399139f affected from f90cf6079bf67988f8b1ad1ade70fc89d0080905, before b7efb4c94797c504a1c678edb48c2aa311d3309f affected from f90cf6079bf67988f8b1ad1ade70fc89d0080905, before e589de36da106ef739ba98f66f5a5c2023370706 affected from f90cf6079bf67988f8b1ad1ade70fc89d0080905, before 2dff11fb5098ae453651f8f77e94ad499c078022 affected from f90cf6079bf67988f8b1ad1ade70fc89d0080905, before b832cfd516b8504e95884622cee60bf9a39b7945 affected from f90cf6079bf67988f8b1ad1ade70fc89d0080905, before 07c1e474cf9acf777f09d14a8f8dfcef5b84e46f affected from f90cf6079bf67988f8b1ad1ade70fc89d0080905, before f8e1fc918a9fe67103bcda01d20d745f264d00a7
Other versions: unaffected
|
| Linux |
affected 5.10 unaffected before 5.10 unaffected from 5.10.258 up to and including 5.10.* unaffected from 5.15.209 up to and including 5.15.* unaffected from 6.1.175 up to and including 6.1.* unaffected from 6.6.136 up to and including 6.6.* unaffected from 6.12.83 up to and including 6.12.* unaffected from 6.18.24 up to and including 6.18.* unaffected from 6.19.14 up to and including 6.19.* unaffected from 7.0.1 up to and including 7.0.* unaffected 7.1 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-2026-31599 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31599
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-2026-31599
trivy image --scanners vuln IMAGE | grep CVE-2026-31599
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/54e18a23e62e81b8335cec3e8e9c5cb33fd88665 git.kernel.org
- https://git.kernel.org/stable/c/5c986b77200b5ea754ba6636deacc7e0942fec9b git.kernel.org
- https://git.kernel.org/stable/c/93d9e747a9e8a5ca9e3c5e37dcff76b40399139f git.kernel.org
- https://git.kernel.org/stable/c/b7efb4c94797c504a1c678edb48c2aa311d3309f git.kernel.org
- https://git.kernel.org/stable/c/e589de36da106ef739ba98f66f5a5c2023370706 git.kernel.org
- https://git.kernel.org/stable/c/2dff11fb5098ae453651f8f77e94ad499c078022 git.kernel.org
- https://git.kernel.org/stable/c/b832cfd516b8504e95884622cee60bf9a39b7945 git.kernel.org
- https://git.kernel.org/stable/c/07c1e474cf9acf777f09d14a8f8dfcef5b84e46f git.kernel.org
- https://git.kernel.org/stable/c/f8e1fc918a9fe67103bcda01d20d745f264d00a7 git.kernel.org
Source: the record CVE-2026-31599 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