Bugzilla – Bug 132733
VUL-0: CVE-2005-3106: kernel: local dos with CLONE_VM threads and core dumping
Last modified: 2021-11-22 10:26:37 UTC
CVE-2005-3106 Race condition in Linux 2.6, when threads are sharing memory mapping via CLONE_VM (such as linuxthreads and vfork), might allow local users to cause a denial of service (deadlock) by triggering a core dump while waiting for a thread that has just performed an exec. http://linux.bkbits.net:8080/linux-2.6/diffs/fs/exec.c@1.156?nav=index.html|src/|src/fs|hist/fs/exec.c
not sure if it affects us at all, have to cross check.
Chris, can you assign this to someone in your team please?
Gerd, please take this one as well.
Pretty much the same low impact as bug #132731, i.e. the deadlock affects the threaded task only, not the whole system. Backport looks trivial though, the fix likely applies as-is to sles9. Also made it into 2.6.11 mainline. What to do?
This lonely up() confuses me a bit. But I think it is as minor issue as the bug #132731, so lets lay it at rest.
The patch adds a matching down() in the other (completely new) "if (old_mm)" block. With the patch added the code between the first and second patch chunk runs with a read lock on old_mm->mmap_sem, which closes the race window.
CVE-2005-3106: CVSS v2 Base Score: 1.2 (AV:L/AC:H/Au:N/C:N/I:N/A:P)