public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5.10 0/1] rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
@ 2022-10-07 13:29 Andrew Chernyakov
  2022-10-07 13:29 ` [PATCH 5.10 1/1] " Andrew Chernyakov
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Chernyakov @ 2022-10-07 13:29 UTC (permalink / raw)
  To: acherniakov, Greg Kroah-Hartman
  Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Mathieu Poirier,
	linux-arm-msm, linux-remoteproc, linux-kernel,
	Krzysztof Kozlowski, stable, lvc-project

With static analisys tools we found that strncpy() is used in rpmsg. This
function is not safe and can lead to buffer overflow. This patchset
replaces strncpy() with strscpy_pad().

Link: https://lore.kernel.org/all/20220519073330.7187-1-krzysztof.kozlowski@linaro.org/

Found by Linux Verification Center (linuxtesting.org) with SVACE.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-10-09 18:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-07 13:29 [PATCH 5.10 0/1] rpmsg: qcom: glink: replace strncpy() with strscpy_pad() Andrew Chernyakov
2022-10-07 13:29 ` [PATCH 5.10 1/1] " Andrew Chernyakov
2022-10-07 16:40   ` Greg Kroah-Hartman
2022-10-08 21:11     ` David Laight
2022-10-09 15:23       ` Krzysztof Kozlowski
2022-10-09 18:17         ` 'Greg Kroah-Hartman'

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox