CVE-2026-31599

Source
https://cve.org/CVERecord?id=CVE-2026-31599
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31599.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-31599
Downstream
Related
Published
2026-04-24T14:42:23.961Z
Modified
2026-06-18T03:54:45.030099067Z
Summary
media: vidtv: fix NULL pointer dereference in vidtv_channel_pmt_match_sections
Details

In the Linux kernel, the following vulnerability has been resolved:

media: vidtv: fix NULL pointer dereference in vidtvchannelpmtmatchsections

syzbot reported a general protection fault in vidtvpsidesc_assign [1].

vidtvpsipmtstreaminit() can return NULL on memory allocation failure, but vidtvchannelpmtmatchsections() does not check for this. When tail is NULL, the subsequent call to vidtvpsidesc_assign(&tail->descriptor, desc) dereferences a NULL pointer offset, causing a general protection fault.

Add a NULL check after vidtvpsipmtstreaminit(). 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:vidtvpsidescassign+0x24/0x90 drivers/media/test-drivers/vidtv/vidtvpsi.c:629 Call Trace: <TASK> vidtvchannelpmtmatchsections drivers/media/test-drivers/vidtv/vidtvchannel.c:349 [inline] vidtvchannelsiinit+0x1445/0x1a50 drivers/media/test-drivers/vidtv/vidtvchannel.c:479 vidtvmuxinit+0x526/0xbe0 drivers/media/test-drivers/vidtv/vidtvmux.c:519 vidtvstartstreaming drivers/media/test-drivers/vidtv/vidtvbridge.c:194 [inline] vidtvstartfeed+0x33e/0x4d0 drivers/media/test-drivers/vidtv/vidtvbridge.c:239

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31599.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f90cf6079bf67988f8b1ad1ade70fc89d0080905
Fixed
54e18a23e62e81b8335cec3e8e9c5cb33fd88665
Fixed
5c986b77200b5ea754ba6636deacc7e0942fec9b
Fixed
93d9e747a9e8a5ca9e3c5e37dcff76b40399139f
Fixed
b7efb4c94797c504a1c678edb48c2aa311d3309f
Fixed
e589de36da106ef739ba98f66f5a5c2023370706
Fixed
2dff11fb5098ae453651f8f77e94ad499c078022
Fixed
b832cfd516b8504e95884622cee60bf9a39b7945
Fixed
07c1e474cf9acf777f09d14a8f8dfcef5b84e46f
Fixed
f8e1fc918a9fe67103bcda01d20d745f264d00a7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31599.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.0
Fixed
5.10.258
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.209
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.175
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.136
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.83
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.24
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.14
Type
ECOSYSTEM
Events
Introduced
6.20.0
Fixed
7.0.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31599.json"