[Natty/SRU][PATCH] ipc/sem.c: fix race with concurrent semtimedop() timeouts and IPC_RMID

Herton R. Krzesinski herton.krzesinski at canonical.com
Fri Mar 2 16:18:54 UTC 2012

SRU justification

Kernel crash, due to race explained in upstream bug report:
In practice likely to happen on a highly loaded webserver

Upstream commit d694ad62bf539dbb20a0899ac2a954555f9e4a83

I'll attach to this bug as well.
- Build with gcc -o timedrm timedrm.cpp -lpthread
- Run with "test 250", sometimes you have to run more than one time to get the
oops, but it's very easy to get the crash.

Note: only needed for natty. The problem affects 2.6.35 and later, but
we already got fixes for Maverick/Oneiric through stable, Precise has
the fix in also.


More information about the kernel-team mailing list