cbcvebase.
CVE-2022-50626
published 2025-12-08

CVE-2022-50626: In the Linux kernel, the following vulnerability has been resolved: media: dvb-usb: fix memory leak in dvb_usb_adapter_init() Syzbot reports a memory leak in…

PriorityP419low5.5
EPSS
0.23%
13.5th percentile
In the Linux kernel, the following vulnerability has been resolved: media: dvb-usb: fix memory leak in dvb_usb_adapter_init() Syzbot reports a memory leak in "dvb_usb_adapter_init()". The leak is due to not accounting for and freeing current iteration's adapter->priv in case of an error. Currently if an error occurs, it will exit before incrementing "num_adapters_initalized", which is used as a reference counter to free all adap->priv in "dvb_usb_adapter_exit()". There are multiple error paths that can exit from before incrementing the counter. Including the error handling paths for "dvb_usb_adapter_stream_init()", "dvb_usb_adapter_dvb_init()" and "dvb_usb_adapter_frontend_init()" within "dvb_usb_adapter_init()". This means that in case of an error in any of these functions the current iteration is not accounted for and the current iteration's adap->priv is not freed. Fix this by freeing the current iteration's adap->priv in the "stream_init_err:" label in the error path. The rest of the (accounted for) adap->priv objects are freed in dvb_usb_adapter_exit() as expected using the num_adapters_initalized variable. Syzbot report: BUG: memory leak unreferenced object 0xffff8881172f1a00 (size 512): comm "kworker/0:2", pid 139, jiffies 4294994873 (age 10.960s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [] dvb_usb_adapter_init drivers/media/usb/dvb-usb/dvb-usb-init.c:75 [inline] [] dvb_usb_init drivers/media/usb/dvb-usb/dvb-usb-init.c:184 [inline] [] dvb_usb_device_init.cold+0x4e5/0x79e drivers/media/usb/dvb-usb/dvb-usb-init.c:308 [] dib0700_probe+0x8d/0x1b0 drivers/media/usb/dvb-usb/dib0700_core.c:883 [] usb_probe_interface+0x177/0x370 drivers/usb/core/driver.c:396 [] call_driver_probe drivers/base/dd.c:542 [inline] [] really_probe.part.0+0xe7/0x310 drivers/base/dd.c:621 [] really_probe drivers/base/dd.c:583 [inline] [] __driver_probe_device+0

Affected

23 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.4-1 (bookworm)linux 6.1.4-1 (bookworm)
linuxlinux
linuxlinux>= 4d43e13f723e12734257277cc38497fab1efc605 < 733bc9e226da2a7f43b10031b8ebfc26d89ec4bd733bc9e226da2a7f43b10031b8ebfc26d89ec4bd
linuxlinux>= 4d43e13f723e12734257277cc38497fab1efc605 < e5a49140035591d13ff57a7537c65217e5af0d15e5a49140035591d13ff57a7537c65217e5af0d15
linuxlinux>= 4d43e13f723e12734257277cc38497fab1efc605 < 21b6b0c9f3796e6917e90db403dae9e74025fc4021b6b0c9f3796e6917e90db403dae9e74025fc40
linuxlinux>= 4d43e13f723e12734257277cc38497fab1efc605 < 17217737c174883dd975885ab4bee4b00f51723917217737c174883dd975885ab4bee4b00f517239
linuxlinux>= 4d43e13f723e12734257277cc38497fab1efc605 < 7d7ab25ead969594df05fb09ee46ca931d46c5c87d7ab25ead969594df05fb09ee46ca931d46c5c8
linuxlinux>= 4d43e13f723e12734257277cc38497fab1efc605 < d0af6220bb1eed8225a5511de5a3bd386b94afa4d0af6220bb1eed8225a5511de5a3bd386b94afa4
linuxlinux>= 4d43e13f723e12734257277cc38497fab1efc605 < e5d01eb6dc2f699a395d3e731c58a9b3bb4e269fe5d01eb6dc2f699a395d3e731c58a9b3bb4e269f
linuxlinux>= 4d43e13f723e12734257277cc38497fab1efc605 < 93bbf2ed428142aa9a9693721230b28571678bf893bbf2ed428142aa9a9693721230b28571678bf8
linuxlinux>= 4d43e13f723e12734257277cc38497fab1efc605 < 94d90fb06b94a90c176270d38861bcba34ce377d94d90fb06b94a90c176270d38861bcba34ce377d
linuxlinux_kernel>= 0 < 5.10.178-15.10.178-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 2.6.19 < 4.9.3374.9.337
linuxlinux_kernel>= 4.10.0 < 4.14.3034.14.303
linuxlinux_kernel>= 4.15.0 < 4.19.2704.19.270
linuxlinux_kernel>= 4.20.0 < 5.4.2295.4.229
linuxlinux_kernel>= 5.11.0 < 5.15.865.15.86
linuxlinux_kernel>= 5.16.0 < 6.0.166.0.16
linuxlinux_kernel>= 5.5.0 < 5.10.1635.10.163
linuxlinux_kernel>= 6.1.0 < 6.1.26.1.2
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.