{"id":"CVE-2022-50757","published":"2025-12-24T13:05:50Z","modified":"2026-08-05T08:59:43Z","title":"media: camss: Clean up received buffers on failed start of streaming","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: camss: Clean up received buffers on failed start of streaming\n\nIt is required to return the received buffers, if streaming can not be\nstarted. For instance media_pipeline_start() may fail with EPIPE, if\na link validation between entities is not passed, and in such a case\na user gets a kernel warning:\n\n  WARNING: CPU: 1 PID: 520 at drivers/media/common/videobuf2/videobuf2-core.c:1592 vb2_start_streaming+0xec/0x160\n  <snip>\n  Call trace:\n   vb2_start_streaming+0xec/0x160\n   vb2_core_streamon+0x9c/0x1a0\n   vb2_ioctl_streamon+0x68/0xbc\n   v4l_streamon+0x30/0x3c\n   __video_do_ioctl+0x184/0x3e0\n   video_usercopy+0x37c/0x7b0\n   video_ioctl2+0x24/0x40\n   v4l2_ioctl+0x4c/0x70\n\nThe fix is to correct the error path in video_start_streaming() of camss.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00202,"percentile":0.10103,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/75954cde8a5ca84003b24b6bf83197240935bd74","tags":[]},{"url":"https://git.kernel.org/stable/c/04c734c716a97f1493b1edac41316aaed1d2a9d9","tags":[]},{"url":"https://git.kernel.org/stable/c/fe443b3fe36cd23d4f5dc6d825d34322e7c89f0c","tags":[]},{"url":"https://git.kernel.org/stable/c/3d5cab726e3b370fea1b6e67183f0e13c409ce5c","tags":[]},{"url":"https://git.kernel.org/stable/c/d1c44928bb3ca0ec88e7ad5937a2a26a259aede6","tags":[]},{"url":"https://git.kernel.org/stable/c/f05326a440dc31b91b688b2f3f15b7347894a50b","tags":[]},{"url":"https://git.kernel.org/stable/c/24df4fa3e795fb4b15fd4d3c036596e0978d265a","tags":[]},{"url":"https://git.kernel.org/stable/c/c8f3582345e6a69da65ab588f7c4c2d1685b0e80","tags":[]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":2.02},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0ac2586c410fe00d58dd09bf270a22f25d5287b8, < 75954cde8a5ca84003b24b6bf83197240935bd74",">= 0ac2586c410fe00d58dd09bf270a22f25d5287b8, < 04c734c716a97f1493b1edac41316aaed1d2a9d9",">= 0ac2586c410fe00d58dd09bf270a22f25d5287b8, < fe443b3fe36cd23d4f5dc6d825d34322e7c89f0c",">= 0ac2586c410fe00d58dd09bf270a22f25d5287b8, < 3d5cab726e3b370fea1b6e67183f0e13c409ce5c",">= 0ac2586c410fe00d58dd09bf270a22f25d5287b8, < d1c44928bb3ca0ec88e7ad5937a2a26a259aede6",">= 0ac2586c410fe00d58dd09bf270a22f25d5287b8, < f05326a440dc31b91b688b2f3f15b7347894a50b",">= 0ac2586c410fe00d58dd09bf270a22f25d5287b8, < 24df4fa3e795fb4b15fd4d3c036596e0978d265a",">= 0ac2586c410fe00d58dd09bf270a22f25d5287b8, < c8f3582345e6a69da65ab588f7c4c2d1685b0e80"]},{"vendor":"Linux","product":"Linux","versions":["4.14"]}],"euvd":{"id":"EUVD-2022-55804","exploited":false,"provenance":"source"}}