diff options
| author | Griffin Kroah-Hartman <griffin@kroah.com> | 2026-07-08 13:08:59 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-08 13:32:16 +0200 |
| commit | 21b5bf155435008e0fb0736795289788e63d426f (patch) | |
| tree | 4ea3e2395e8727e2fcb755f3b8776a465711dd7d /scripts/sbom/git@git.tavy.me:linux-stable.git | |
| parent | 95f90eea070837f7c72207d5520f805bdefc3bc5 (diff) | |
usb: gadget: function: rndis: add length check for header
Add a length check for the rndis header in rndis_rm_hdr, to ensure that
MessageType, MessageLength, DataOffset, and DataLength fields are
present before they are accessed.
Assisted-by: gkh_clanker_2000
Cc: stable <stable@kernel.org>
Signed-off-by: Griffin Kroah-Hartman <griffin@kroah.com>
Link: https://patch.msgid.link/20260708-usb-gadget-rndis-v1-2-e77e026dcc6a@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/sbom/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
