[PATCH v2 net 0/2] net: hamradio: fix missing input validation in bpqether and scc

Mashiro Chen posted 2 patches 2 months, 1 week ago
drivers/net/hamradio/bpqether.c | 3 +++
drivers/net/hamradio/scc.c      | 2 ++
2 files changed, 5 insertions(+)
[PATCH v2 net 0/2] net: hamradio: fix missing input validation in bpqether and scc
Posted by Mashiro Chen 2 months, 1 week ago
This series fixes two missing input validation bugs in the hamradio
drivers. Both patches were reviewed by Joerg Reuter (hamradio
maintainer).

v2 changes:
- bpqether: no code change; add Acked-by: Joerg Reuter
- scc: drop the upper bound of 4096 per reviewer feedback;
  only enforce the minimum of 16

Mashiro Chen (2):
  net: hamradio: bpqether: validate frame length in bpq_rcv()
  net: hamradio: scc: validate bufsize in SIOCSCCSMEM ioctl

 drivers/net/hamradio/bpqether.c | 3 +++
 drivers/net/hamradio/scc.c      | 2 ++
 2 files changed, 5 insertions(+)

-- 
2.53.0