media: vidtv: fix NULL pointer dereference in vidtv_channel_pmt_match_sections
Summary
| CVE | CVE-2026-31599 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-24 15:16:38 UTC |
| Updated | 2026-06-01 17:16:50 UTC |
| 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 |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.000180000 probability, percentile 0.048130000 (date 2026-04-27)
Problem Types: CWE-476
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 54e18a23e62e81b8335cec3e8e9c5cb33fd88665 git | Not specified |
| CNA | Linux | Linux | affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 5c986b77200b5ea754ba6636deacc7e0942fec9b git | Not specified |
| CNA | Linux | Linux | affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 93d9e747a9e8a5ca9e3c5e37dcff76b40399139f git | Not specified |
| CNA | Linux | Linux | affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 b7efb4c94797c504a1c678edb48c2aa311d3309f git | Not specified |
| CNA | Linux | Linux | affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 e589de36da106ef739ba98f66f5a5c2023370706 git | Not specified |
| CNA | Linux | Linux | affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 2dff11fb5098ae453651f8f77e94ad499c078022 git | Not specified |
| CNA | Linux | Linux | affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 b832cfd516b8504e95884622cee60bf9a39b7945 git | Not specified |
| CNA | Linux | Linux | affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 07c1e474cf9acf777f09d14a8f8dfcef5b84e46f git | Not specified |
| CNA | Linux | Linux | affected f90cf6079bf67988f8b1ad1ade70fc89d0080905 f8e1fc918a9fe67103bcda01d20d745f264d00a7 git | Not specified |
| CNA | Linux | Linux | affected 5.10 | Not specified |
| CNA | Linux | Linux | unaffected 5.10 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.258 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.209 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.175 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.136 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.83 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.24 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.14 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.1 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/e589de36da106ef739ba98f66f5a5c2023370706 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/54e18a23e62e81b8335cec3e8e9c5cb33fd88665 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b7efb4c94797c504a1c678edb48c2aa311d3309f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/b832cfd516b8504e95884622cee60bf9a39b7945 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/93d9e747a9e8a5ca9e3c5e37dcff76b40399139f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/f8e1fc918a9fe67103bcda01d20d745f264d00a7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/5c986b77200b5ea754ba6636deacc7e0942fec9b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2dff11fb5098ae453651f8f77e94ad499c078022 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/07c1e474cf9acf777f09d14a8f8dfcef5b84e46f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.