Re: [PATCH] fork: fix copy_process(CLONE_PARENT) race with the exiting ->real_parent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 08, 2020 at 11:56:48AM -0800, Linus Torvalds wrote:
> .. oh, and I suspect it should have been marked for stable.
> 
> I added Oleg's ack (implicit in an earlier thread), but didn't add a stable tag.
> 
> It's commit b4e00444cab4 ("fork: fix copy_process(CLONE_PARENT) race
> with the exiting ->real_parent") in my tree.
> 
> I'm not sure how serious it is. Yeah, the race can cause the wrong
> exit signal in theory, but I think you almost have to do it with
> cooperating processes, at which point you could have just done it
> intentionally in the first place.
> 
> But it does look like a real data race, and the fix looks small and
> obvious enough that I think it's stable material.

Now queued up to stable trees, thanks!

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux