RLIMIT_NOFILE > FD_SETSIZE seems to cause select() to corrupt the stack
Bug #386558 reported by
Andrew Pollock
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GLibC |
Fix Released
|
Medium
|
|||
glibc (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
We've found that when a program has a lot of FDs open and does a select(), that the stack can get corrupted.
CVE References
summary: |
- RLIMIT_NOFILE > 1024 seems to cause select() to corrupt the stack + RLIMIT_NOFILE > FD_SETSIZE seems to cause select() to corrupt the stack |
Changed in glibc (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
visibility: | private → public |
Changed in glibc: | |
status: | Unknown → Confirmed |
Changed in glibc: | |
status: | Confirmed → Won't Fix |
Changed in glibc: | |
importance: | Unknown → Medium |
Changed in glibc: | |
status: | Won't Fix → Fix Released |
To post a comment you must log in.
Here's a sample program that will segfault