# CVE-2026-31599: media: vidtv: fix NULL pointer dereference in vidtv\_channel\_pmt\_match\_sections

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-24 · Modified: 2026-06-14
- Aliases: UBUNTU-CVE-2026-31599, DEBIAN-CVE-2026-31599, CGA-2frc-h3gr-xhfr, CGA-7r56-j47q-9rqj, CGA-9mcg-44m9-7g5w, CGA-cphp-fw85-9whj, CGA-cqc3-mf22-5fmf, CGA-h57v-pwwj-x3r3, CGA-h8qc-2mq3-7665, CGA-jvqg-qc49-xqj5, CGA-r82x-4g9p-7r6c
- Record: https://cvemate.com/vulnerability/CVE-2026-31599 · JSON: https://cvemate.com/vulnerability/CVE-2026-31599/json

## Description

```text
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
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.13%, percentile 2.8%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 159)

- chainguard linux-aws-6.12 (Chainguard): \< 6.12.85-r0
- chainguard linux-aws-6.18 (Chainguard): \< 6.18.31-r0
- chainguard linux-azure-6.18 (Chainguard): \< 6.18.31-r0
- chainguard linux-gcp-6.18 (Chainguard): \< 6.18.31-r0
- chainguard linux-qemu-6.12 (Chainguard): \< 6.12.85-r0
- chainguard linux-qemu-6.18 (Chainguard): \< 6.18.31-r0
- chainguard linux-qemu-6.18-bootc-boot-installed (Chainguard): \< 6.18.31-r0
- chainguard linux-vmware-6.12 (Chainguard): \< 6.12.85-r0
- chainguard linux-vmware-6.18 (Chainguard): \< 6.18.31-r0
- debian linux (Debian): \< 6.1.176-1 \| \< 6.12.85-1 \| \< 6.19.14-1
- ubuntu linux (Ubuntu): \< 5.15.0-186.196 \| \< 6.8.0-136.136 \| All versions (No fix recorded) \| \< 7.0.0-27.27
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1112.119 \| \< 6.8.0-1061.64 \| All versions (No fix recorded) \| \< 7.0.0-1008.8
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1112.119~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 46)

- <https://git.kernel.org/stable/c/54e18a23e62e81b8335cec3e8e9c5cb33fd88665>
- <https://git.kernel.org/stable/c/5c986b77200b5ea754ba6636deacc7e0942fec9b>
- <https://git.kernel.org/stable/c/93d9e747a9e8a5ca9e3c5e37dcff76b40399139f>
- <https://git.kernel.org/stable/c/b7efb4c94797c504a1c678edb48c2aa311d3309f>
- <https://git.kernel.org/stable/c/e589de36da106ef739ba98f66f5a5c2023370706>
- <https://git.kernel.org/stable/c/2dff11fb5098ae453651f8f77e94ad499c078022>
- <https://git.kernel.org/stable/c/b832cfd516b8504e95884622cee60bf9a39b7945>
- <https://git.kernel.org/stable/c/07c1e474cf9acf777f09d14a8f8dfcef5b84e46f>
- <https://git.kernel.org/stable/c/f8e1fc918a9fe67103bcda01d20d745f264d00a7>
- <https://ubuntu.com/security/CVE-2026-31599>
- <https://www.cve.org/CVERecord?id=CVE-2026-31599>
- <https://git.kernel.org/linus/f8e1fc918a9fe67103bcda01d20d745f264d00a7>
- <https://ubuntu.com/security/notices/USN-8488-1>
- <https://ubuntu.com/security/notices/USN-8488-2>
- <https://ubuntu.com/security/notices/USN-8507-1>
- <https://ubuntu.com/security/notices/USN-8569-1>
- <https://ubuntu.com/security/notices/USN-8567-1>
- <https://ubuntu.com/security/notices/USN-8574-1>
- <https://ubuntu.com/security/notices/USN-8575-1>
- <https://ubuntu.com/security/notices/USN-8576-1>

---

Data as of 2026-12-06T04:10:30.907Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
