Patch "staging: greybus: uart: Fix atomicity violation in get_serial_info()" has been added to the 6.12-stable tree
Hi Sasha,
Quoted 31 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
staging: greybus: uart: Fix atomicity violation in
get_serial_info()to the 6.12-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
staging-greybus-uart-fix-atomicity-violation-in-get_.patch
and it can be found in the queue-6.12 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
commit
61937fd741031632e0a1337553e51b754748ca0dAuthor: Qiu-ji Chen <[email protected]> Date: Thu Nov 7 19:33:37 2024 +0800staging: greybus: uart: Fix atomicity violation in
get_serial_info()[ Upstream commit
fe0ebeafc3b723b2f8edf27ecec6d353b08397df]Our static checker found a bug where
set_serial_info()uses a mutex, butget_serial_info()does not. Fortunately, the impact of this is relatively minor. It doesn't cause a crash or any other serious issues. However, if a race condition occurs betweenset_serial_info()andget_serial_info(), there is a chance that the data returned byget_serial_info()will be meaningless.
Quoted 8 lines
Signed-off-by Qiu-ji Chen <[email protected]>Fixes 0aad5ad563c8 ("greybus/uart: switch to ->[sg]et_serial()")Reviewed-by Johan Hovold <[email protected]>Reviewed-by Dan Carpenter <[email protected]>Reviewed-by Alex Elder <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>Signed-off-by Sasha Levin <[email protected]>
The CC stable tag was omitted on purpose here so please drop this one and any dependencies from all stable queues.
Johan
Greg Kroah-Hartman
maintainerQuoted 43 lines · Johan Hovold
Hi Sasha,
Quoted 31 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
staging: greybus: uart: Fix atomicity violation in
get_serial_info()to the 6.12-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
staging-greybus-uart-fix-atomicity-violation-in-get_.patch
and it can be found in the queue-6.12 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
commit
61937fd741031632e0a1337553e51b754748ca0dAuthor: Qiu-ji Chen <[email protected]> Date: Thu Nov 7 19:33:37 2024 +0800staging: greybus: uart: Fix atomicity violation in
get_serial_info()[ Upstream commit
fe0ebeafc3b723b2f8edf27ecec6d353b08397df]Our static checker found a bug where
set_serial_info()uses a mutex, butget_serial_info()does not. Fortunately, the impact of this is relatively minor. It doesn't cause a crash or any other serious issues. However, if a race condition occurs betweenset_serial_info()andget_serial_info(), there is a chance that the data returned byget_serial_info()will be meaningless.Quoted 8 lines
Signed-off-by Qiu-ji Chen <[email protected]>Fixes 0aad5ad563c8 ("greybus/uart: switch to ->[sg]et_serial()")Reviewed-by Johan Hovold <[email protected]>Reviewed-by Dan Carpenter <[email protected]>Reviewed-by Alex Elder <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>Signed-off-by Sasha Levin <[email protected]>
Quoted 2 lines
The CC stable tag was omitted on purpose here so please drop this one and any dependencies from all stable queues.
Now dropped from all queues, thanks.
greg k-h