{"id":"CVE-2026-53382","summary":"media: vidtv: fix NULL pointer dereference in vidtv_mux_push_si","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: vidtv: fix NULL pointer dereference in vidtv_mux_push_si\n\nsyzbot reported a general protection fault in\nvidtv_psi_ts_psi_write_into [1].\n\nvidtv_mux_get_pid_ctx() can return NULL, but vidtv_mux_push_si() does\nnot check for this before dereferencing the returned pointer to access\nthe continuity counter. This leads to a general protection fault when\naccessing a near-NULL address.\n\nThe root cause is that vidtv_mux_pid_ctx_init() does not check the\nreturn value of vidtv_mux_create_pid_ctx_once() for PMT section PIDs.\nIf the allocation fails, the PID context is never created, but init\nreturns success. The subsequent vidtv_mux_push_si() call then gets\nNULL from vidtv_mux_get_pid_ctx() and crashes.\n\nFix both the root cause (add error check in vidtv_mux_pid_ctx_init\nfor PMT PIDs) and add defensive NULL checks in vidtv_mux_push_si for\nall vidtv_mux_get_pid_ctx() calls.\n\n[1]\nOops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI\nKASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\nWorkqueue: events vidtv_mux_tick\nRIP: 0010:vidtv_psi_ts_psi_write_into+0x54a/0xbc0 drivers/media/test-drivers/vidtv/vidtv_psi.c:197\nCall Trace:\n \u003cTASK\u003e\n vidtv_psi_table_header_write_into drivers/media/test-drivers/vidtv/vidtv_psi.c:799 [inline]\n vidtv_psi_pmt_write_into+0x3b2/0xa70 drivers/media/test-drivers/vidtv/vidtv_psi.c:1231\n vidtv_mux_push_si+0x932/0xe80 drivers/media/test-drivers/vidtv/vidtv_mux.c:196\n vidtv_mux_tick+0xe9b/0x1480 drivers/media/test-drivers/vidtv/vidtv_mux.c:408","modified":"2026-07-23T09:59:39.887976110Z","published":"2026-07-19T11:59:31.045Z","related":["openSUSE-SU-2026:11339-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53382.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/232e4b313ea342672edf8947e067c0de4328405b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/353d9578951dd38bc9679308f5b618ceed1f20fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/455bc12e7b73ab5a2dfcb47822e91e772bc6c42e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6df7e16d4f742c80add58995a6e69385b97aa9e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7d8bf3d8f91073f4db347ed3aa6302b56107499c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b28b12be6e8910489e6800ed93ea4d41dfe19683"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd923dadefadb9671b5ac341b672ff424d429c39"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0f5a1d7056980a0d512456fdb370cfb72bba86a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f965cf22dda7f512f4922415894c3e528269a4ae"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53382.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53382"},{"type":"PACKAGE","url":"https://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":"455bc12e7b73ab5a2dfcb47822e91e772bc6c42e"},{"fixed":"f0f5a1d7056980a0d512456fdb370cfb72bba86a"},{"fixed":"6df7e16d4f742c80add58995a6e69385b97aa9e6"},{"fixed":"cd923dadefadb9671b5ac341b672ff424d429c39"},{"fixed":"353d9578951dd38bc9679308f5b618ceed1f20fa"},{"fixed":"f965cf22dda7f512f4922415894c3e528269a4ae"},{"fixed":"b28b12be6e8910489e6800ed93ea4d41dfe19683"},{"fixed":"232e4b313ea342672edf8947e067c0de4328405b"},{"fixed":"7d8bf3d8f91073f4db347ed3aa6302b56107499c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53382.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.0"},{"fixed":"5.10.260"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.211"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.177"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.144"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.95"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.37"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53382.json"}}],"schema_version":"1.7.5"}