diff options
author | Foster Snowhill <forst@pen.gy> | 2025-01-26 02:54:04 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-01-28 14:16:32 +0300 |
commit | 429fa68b58cefb9aa9de27e4089637298b46b757 (patch) | |
tree | 35d06042819c9ed37ba78f09baf2484ad5f2758d /scripts/gdb/linux/modules.py | |
parent | c219427ed296f94bb4b91d08626776dc7719ee27 (diff) | |
download | linux-429fa68b58cefb9aa9de27e4089637298b46b757.tar.xz |
usbnet: ipheth: check that DPE points past NCM header
By definition, a DPE points at the start of a network frame/datagram.
Thus it makes no sense for it to point at anything that's part of the
NCM header. It is not a security issue, but merely an indication of
a malformed DPE.
Enforce that all DPEs point at the data portion of the URB, past the
NCM header.
Fixes: a2d274c62e44 ("usbnet: ipheth: add CDC NCM support")
Cc: stable@vger.kernel.org
Signed-off-by: Foster Snowhill <forst@pen.gy>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions