[LTP] [PATCH] syscalls/setsockopt09: Add another linux git

xuyang2018.jy@fujitsu.com xuyang2018.jy@fujitsu.com
Fri Mar 4 04:24:17 CET 2022


Hi Petr
> Hi Xu,
>
>> On centos7.9ga, I still hit another crash problem because of use-after-free in
>> prb_retire_rx_blk_timer_expired(). Since we free it when timer expired, so this
>> case will crash after we print TPASS info.
>
> Reviewed-by: Petr Vorel<pvorel@suse.cz>
>
> LGTM.
> I tested two old kernels, the one with patch survives, the other got reboot.
>
> BTW funny enough the affected system manages to print "TPASS: Nothing bad
> happened, probably" before reboot :).
Yes, it crash when timer expired, so it will print TPASS before reboot. 
Also, I try sleep 10ms, but it still print TPASS and reboot after serval 
seconds.

I have wrote it in my commit message, so this should  be friendly for 
user to know this situation.

Best Regards
Yang Xu
>
> Kind regards,
> Petr


More information about the ltp mailing list