Seahorse agent leaks file descriptors into created processes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
seahorse |
Fix Released
|
High
|
|||
seahorse (Debian) |
Fix Released
|
Unknown
|
|||
seahorse (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: seahorse
$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
Install Kubuntu 8.04 (desktop, 64-bit), create an account, log in through that account, open a shell and run the following command:
lsof -p$$|grep '[0-9][a-z] '
Expected result: four file descriptors in use by bash (the output below is from Ubuntu 7.10):
bash 9783 vanasscb 0u CHR 136,1 3 /dev/pts/1
bash 9783 vanasscb 1u CHR 136,1 3 /dev/pts/1
bash 9783 vanasscb 2u CHR 136,1 3 /dev/pts/1
bash 9783 vanasscb 255u CHR 136,1 3 /dev/pts/1
Actual result:
bash 13216 vanasscb 0u CHR 136,3 5 /dev/pts/3
bash 13216 vanasscb 1u CHR 136,3 5 /dev/pts/3
bash 13216 vanasscb 2u CHR 136,3 5 /dev/pts/3
bash 13216 vanasscb 4r FIFO 0,5 16413 pipe
bash 13216 vanasscb 5w FIFO 0,5 16413 pipe
bash 13216 vanasscb 6r FIFO 0,5 16414 pipe
bash 13216 vanasscb 7w FIFO 0,5 16414 pipe
bash 13216 vanasscb 8r FIFO 0,5 16415 pipe
bash 13216 vanasscb 9w FIFO 0,5 16415 pipe
bash 13216 vanasscb 13u unix 0xffff8100685762c0 16470 /tmp/seahorse-
bash 13216 vanasscb 255u CHR 136,3 5 /dev/pts/3
The above output shows that the processes that created bash did open several files and pipes without the FD_CLOEXEC flag. E.g. the /tmp/seahorse-
Changed in seahorse: | |
status: | Unknown → Confirmed |
status: | Unknown → Fix Released |
Changed in seahorse: | |
status: | Confirmed → Fix Released |
Changed in seahorse: | |
importance: | Unknown → High |
thank you for your bug report, the issue seems similar to http:// bugzilla. gnome.org/ show_bug. cgi?id= 544672