lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251107154426.2116743-1-Sergey.Nalivayko@kaspersky.com>
Date: Fri, 7 Nov 2025 18:44:24 +0300
From: Nalivayko Sergey <Sergey.Nalivayko@...persky.com>
To: <linux-media@...r.kernel.org>
CC: Nalivayko Sergey <Sergey.Nalivayko@...persky.com>,
	<linux-kernel@...r.kernel.org>, <lvc-project@...uxtesting.org>, Mauro
 Carvalho Chehab <mchehab@...nel.org>, Michael Krufky <mkrufky@...uxtv.org>
Subject: [PATCH 0/2] media: dvb-usb-v2: add init_ready flag to prevent  race during device initialization

This patch series introduces an atomic init_ready flag in 
struct dvb_usb_device and adds checks in relevant code paths. 
Drivers now verify that device initialization has completed before 
performing operations that rely on initialized device state. 
If the device is not yet ready, the operation is deferred until 
initialization finishes, preventing race conditions and improving 
driver robustness.

Nalivayko Sergey (2):
  media: dvb-usb-v2: add device init_ready flag
  media: mxl111sf: fix i2c race condition during device probe

 drivers/media/usb/dvb-usb-v2/dvb_usb.h      | 3 +++
 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c | 4 ++++
 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c | 2 +-
 3 files changed, 8 insertions(+), 1 deletion(-)

-- 
2.39.5


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ