Vulnerability · Published Feb 27, 2025 · Assigned by Linux
CVE-2024-57834media: vidtv: Fix a null-ptr-deref in vidtv_mux_stop_thread
Medium 5.5
In plain English
A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: media: vidtv: Fix a null-ptr-deref in vidtv_mux_stop_thread syzbot report a null-ptr-deref in vidtv_mux_stop_thread. [1] If dvb->mux is not initialized successfully by vidtv_mux_init() in the vidtv_start_streaming(), it will trigger null pointer dereference about mux in vidtv_mux_stop_thread(). Adjust the timing of streaming initialization and check it before stopping it. [1] KASAN: null-ptr-deref in range [0x0000000000000128-0x000000000000012f] CPU: 0 UID: 0 PID: 5842 Comm: syz-executor248 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:vidtv_mux_stop_thread+0x26/0x80 drivers/media/test-drivers/vidtv/vidtv_mux.c:471 Code: 90 90 90 90 66 0f 1f 00 55 53 48 89 fb e8 82 2e c8 f9 48 8d bb 28 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 02 7e 3b 0f b6 ab 28 01 00 00 31 ff 89 ee e8 RSP: 0018:ffffc90003f2faa8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff87cfb125 RDX: 0000000000000025 RSI: ffffffff87d120ce RDI: 0000000000000128 RBP: ffff888029b8d220 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000003 R12: ffff888029b8d188 R13: ffffffff8f590aa0 R14: ffffc9000581c5c8 R15: ffff888029a17710 FS: 00007f7eef5156c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7eef5e635c CR3: 0000000076ca6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> vidtv_stop_streaming drivers/media/test-drivers/vidtv/vidtv_bridge.c:209 [inline] vidtv_stop_feed+0x151/0x250 drivers/media/test-drivers/vidtv/vidtv_bridge.c:252 dmx_section_feed_stop_filtering+0x90/0x160 drivers/media/dvb-core/dvb_demux.c:1000 dvb_dmxdev_feed_stop.isra.0+0x1ee/0x270 drivers/media/dvb-core/dmxdev.c:486 dvb_dmxdev_filter_stop+0x22a/0x3a0 drivers/media/dvb-core/dmxdev.c:559 dvb_dmxdev_filter_free drivers/media/dvb-core/dmxdev.c:840 [inline] dvb_demux_release+0x92/0x550 drivers/media/dvb-core/dmxdev.c:1246 __fput+0x3f8/0xb60 fs/file_table.c:450 task_work_run+0x14e/0x250 kernel/task_work.c:239 get_signal+0x1d3/0x2610 kernel/signal.c:2790 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.129-1 | DEBIAN-CVE-2024-57834 |
| Debian:13 | linux | 6.12.16-1 | DEBIAN-CVE-2024-57834 |
| Debian:14 | linux | 6.12.16-1 | DEBIAN-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux | 5.15.0-140.150 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux | 5.15.0-140.150 | USN-7510-1 |
| Ubuntu:24.04:LTS | linux | 6.8.0-78.78 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux | 6.8.0-78.78 | USN-7703-1 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1084.91 | USN-7510-7 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1084.91 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1035.37 | USN-7703-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1035.37 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1035.37~22.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1035.37~22.04.1 | USN-7703-2 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1089.98 | USN-7510-3 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1089.98 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1034.39 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1034.39 | USN-7737-1 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | 6.11.0-1015.15~24.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | 6.11.0-1015.15~24.04.1 | USN-7521-1 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1034.39~22.04.1 | USN-7737-1 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1034.39~22.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1089.98.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | 6.8.0-1022.23 | USN-7737-1 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | 6.8.0-1022.23 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1083.92 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1083.92 | USN-7511-1 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1036.38 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1036.38 | USN-7703-2 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | 6.11.0-1015.15~24.04.1 | USN-7521-1 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | 6.11.0-1015.15~24.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1036.38~22.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1036.38~22.04.1 | USN-7703-2 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1081.87 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1081.87 | USN-7511-3 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1032.36 | USN-7703-4 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1032.36 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1066.74 | USN-7510-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1066.74 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1019.21 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1019.21 | USN-7703-2 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | 6.11.0-26.26~24.04.1 | USN-7521-1 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | 6.11.0-26.26~24.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-78.78~22.04.1 | USN-7703-4 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-78.78~22.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1076.79 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1076.79 | USN-7510-1 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1033.33 | USN-7703-2 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1033.33 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1033.33~22.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1033.33~22.04.1 | USN-7703-2 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1079.85 | USN-7510-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1079.85 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1080.85 | USN-7510-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1080.85 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-140.150 | USN-7510-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-140.150 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-78.78.1 | USN-7703-1 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-78.78.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | 6.11.0-1014.15~24.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | 6.11.0-1014.15~24.04.1 | USN-7521-3 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-78.78.1~22.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-78.78.1~22.04.1 | USN-7703-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1078.79 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1078.79 | USN-7510-1 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1035.38 | USN-7703-4 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1035.38 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | 6.11.0-1010.10 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1035.38~22.04.1 | USN-7703-4 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1035.38~22.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1035.38.1 | USN-7703-4 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1035.38.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1037.37 | USN-7510-3 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1037.37 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1009.9 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1026.26 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1026.26 | USN-7510-7 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | 6.11.0-1022.22 | USN-7521-1 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | 6.11.0-1022.22 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1081.87 | USN-7510-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1081.87 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1032.33 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1032.33 | USN-7703-3 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1032.33~22.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1032.33~22.04.1 | USN-7703-3 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1078.81 | USN-7510-7 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1078.81 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1035.39 | USN-7703-4 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1035.39 | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-78.78~22.04.1 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2024-57834 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1017.18 | UBUNTU-CVE-2024-57834 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1050.54 | USN-7602-1 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1050.54 | UBUNTU-CVE-2024-57834 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f90cf6079bf67988f8b1ad1ade70fc89d0080905 – before 52d3512f9a7a52ef92864679b1e8e8aa16202c6af90cf6079bf67988f8b1ad1ade70fc89d0080905 – before 59a707ad952eb2ea8d59457d662b6f4138f17b08f90cf6079bf67988f8b1ad1ade70fc89d0080905 – before 86307e443c5844f38e1b98e2c51a4195c55576cdf90cf6079bf67988f8b1ad1ade70fc89d0080905 – before 2c5601b99d79d196fe4a37159e3dfb38e778ea18f90cf6079bf67988f8b1ad1ade70fc89d0080905 – before 95432a37778c9c5dd105b7b9f19e9695c9e166cff90cf6079bf67988f8b1ad1ade70fc89d0080905 – before 904a8323cc8afa7eb9ce3e67303a2b3f2f787306f90cf6079bf67988f8b1ad1ade70fc89d0080905 – before 1221989555db711578a327a9367f1be46500cb48 |
| Linux | Linux | 5.10 |
References
- https://git.kernel.org/stable/c/52d3512f9a7a52ef92864679b1e8e8aa16202c6a
- https://git.kernel.org/stable/c/59a707ad952eb2ea8d59457d662b6f4138f17b08
- https://git.kernel.org/stable/c/86307e443c5844f38e1b98e2c51a4195c55576cd
- https://git.kernel.org/stable/c/2c5601b99d79d196fe4a37159e3dfb38e778ea18
- https://git.kernel.org/stable/c/95432a37778c9c5dd105b7b9f19e9695c9e166cf
- https://git.kernel.org/stable/c/904a8323cc8afa7eb9ce3e67303a2b3f2f787306
- https://git.kernel.org/stable/c/1221989555db711578a327a9367f1be46500cb48
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html