summaryrefslogtreecommitdiff
path: root/net/llc
diff options
context:
space:
mode:
authorMurad Masimov <m.masimov@mt-integration.ru>2025-03-03 13:04:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-13 12:53:17 +0100
commit48eb7e67c1780dc4427bad36caba2802ae5166db (patch)
tree6f9871c8b97638bcc49db0eb9f1ce48110297e76 /net/llc
parent7d0f113aad2c6dc98e23d04d2bad2b41125d7cbd (diff)
downloadlinux-48eb7e67c1780dc4427bad36caba2802ae5166db.tar.gz
linux-48eb7e67c1780dc4427bad36caba2802ae5166db.tar.bz2
linux-48eb7e67c1780dc4427bad36caba2802ae5166db.zip
ALSA: usx2y: validate nrpacks module parameter on probe
[ Upstream commit 172a0f509723fe4741d4b8e9190cf434b18320d8 ] The module parameter defines number of iso packets per one URB. User is allowed to set any value to the parameter of type int, which can lead to various kinds of weird and incorrect behavior like integer overflows, truncations, etc. Number of packets should be a small non-negative number. Since this parameter is read-only, its value can be validated on driver probe. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Murad Masimov <m.masimov@mt-integration.ru> Link: https://patch.msgid.link/20250303100413.835-1-m.masimov@mt-integration.ru Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions