[LTP] [PATCH v2 2/2] Add setsockopt08, CVE-2021-22555
Richard Palethorpe
rpalethorpe@suse.de
Tue Aug 3 11:35:54 CEST 2021
Hi,
Martin Doucha <mdoucha@suse.cz> writes:
> Hi,
> since this vulnerability is in the compat syscall wrappers, you should
> also copy the arch bits check from setsockopt03 setup().
+1
Will roll another patch after a delay.
>
> On 03. 08. 21 10:38, Richard Palethorpe via ltp wrote:
>> This is a copy and paste of Nicolai's reproducer. The main difference
>> is that I moved some code around. Of course I also used LTP library
>> features, but essentially it works the same.
>>
>> There are some hard coded values which I do not like. I guess these
>> could be calculated or varied somehow. However I struggle to understand
>> what the kernel is doing. This perhaps needs more investigation. We
>> could try generalising this test and setsockopt03
--
Thank you,
Richard.
More information about the ltp
mailing list