lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 20 May 2020 14:57:07 +0000
From:   David Laight <David.Laight@...LAB.COM>
To:     "" <>,
        "" <>,
        "'Marcelo Ricardo Leitner'" <>,
        Neil Horman <>
Subject: Minor bugs in sctp_getsockopt()

I've found 2 minor bugs in sctp_getsockopt().

sctp_getsockopt_peer_auth_chunks() fails to allow for the header
structure when checking the length of the user buffer.
So it can write beyond the end of the user buffer.

sctp_getsockopt_pr_streamstatus() fails to do the copy_to_user()
when streamoute is NULL.

I found these in the middle of writing another patch.
So generating the patch is tricky.


Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)

Powered by blists - more mailing lists