diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-03 11:03:07 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-03 11:03:07 -0800 |
commit | d6bbd51587ecd173958453969964fb41140b1540 (patch) | |
tree | 82c2cdac5cdec9ce9904f470cccb41dad217d680 /security | |
parent | 50d0f78f5c736e974188d72bf9317971e37e69b0 (diff) | |
parent | c0ee554906c3d6554fbddf95ae664cd9f817082b (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
Pull pid allocation bug fix from Eric Biederman:
"The replacement of the pid hash table and the pid bitmap with an idr
resulted in an implementation that now fails more often in low memory
situations. Allowing fuzzers to observe bad behavior from a memory
allocation failure during pid allocation.
This is a small change to fix this by making the kernel more robust in
the case of error. The non-error paths are left alone so the only
danger is to the already broken error path. I have manually injected
errors and verified that this new error handling works"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
pid: Handle failure to allocate the first pid in a pid namespace
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions