summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-10-07 19:20:41 +0200
committerTakashi Iwai <tiwai@suse.de>2026-10-08 08:47:07 +0200
commitf701f6738de2d11e206a74d2a81465051dbf1ba3 (patch)
tree6671170783964202ae7a35ccd0344a8544e9f8ba /tools/lib/python/kdoc/python_version.py
parentc01fb2ed90c0770560ea9cc1644f205956b26a70 (diff)
ALSA: usb-audio: Fix data race at mixer_ctl_feature_info()
The info callback for USB-audio mixer controls for feature unit has a dynamic initialization of the contents with the check of cval->initialized flag. But, since the info callback may be concurrently called, this may lead to a data race, giving back an inconsistent state. Similarly, get and put callbacks may have concurrent accesses and can get bogus states. For avoiding the data race, introduce a mutex locking for the controls and protect against concurrent info callback calls. Reported-by: Sashiko <sashiko-bot@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261007172051.13240-6-tiwai@suse.de
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions