Re: kernel hangs quickly - non-root user reproducible



On Sun, 13 Jul 2008 16:23:03 +0200 H.Janssen <henny@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
| Hello,
|
| phil-news-nospam@xxxxxxxx wrote:
|
|> On Sun, 13 Jul 2008 08:26:42 +0200 Lennart Benschop <lennartb@xxxxxxxxx>
|> wrote:
|> | phil-news-nospam@xxxxxxxx wrote:
|> |
|> |> I've been able to quickly (sometimes instantly) cause the kernel to
|> |> hang or
|> |> crash via a shell command by a non-root user. The magic command is
|> |> LONG:
|> |
|> |>
|
| Funny command.... But the Linux kernel does not crash, the command only lets
| BASH eat up all available memory, and the kernel runs into problems just
| like with any other program which takes all memory.
|
| Just give the command "ulimit -v 200000" and try again....
|
| Anyhow, this indicates that it's wise to implement some limitations in
| virtual memory usage if there are users which might try such funny
| commands...

I do have other computers that do not hang or crash. It could be something
about how I have things configured on this one machine. Or it could be some
bad code in parts specific to this machine configuration. Or it could just
be bad hardware that has impact only on some specific instructions.

--
|WARNING: Due to extreme spam, googlegroups.com is blocked. Due to ignorance |
| by the abuse department, bellsouth.net is blocked. If you post to |
| Usenet from these places, find another Usenet provider ASAP. |
| Phil Howard KA9WGN (email for humans: first name in lower case at ipal.net) |
.



Relevant Pages

  • [Full-disclosure] [USN-1119-1] Linux kernel (OMAP4) vulnerabilities
    ... Multiple security flaws have been fixed in the OMAP4 port of the Linux kernel. ... memory ranges on 64bit kernels when allocating memory on behalf of 32bit ... a local attacker could perform malicious ... A local attacker could exploit this to cause the system to crash or ...
    (Full-Disclosure)
  • [USN-1119-1] Linux kernel (OMAP4) vulnerabilities
    ... Multiple security flaws have been fixed in the OMAP4 port of the Linux kernel. ... memory ranges on 64bit kernels when allocating memory on behalf of 32bit ... a local attacker could perform malicious ... A local attacker could exploit this to cause the system to crash or ...
    (Bugtraq)
  • Re: Scuzzy drives
    ... Robert Heller staggered into the Black Sun and said: ... cause a 2.6 kernel to hang (or crash, ...
    (comp.os.linux.misc)
  • [USN-1074-2] Linux kernel vulnerabilities
    ... could exploit this to crash the system, leading to a denial of service. ... A local attacker could overwrite append-only files, ... Gael Delalleu, Rafal Wojtczuk, and Brad Spengler discovered that the memory ... Eric Dumazet discovered that many network functions could leak kernel stack ...
    (Bugtraq)
  • [Full-disclosure] [USN-1074-2] Linux kernel vulnerabilities
    ... could exploit this to crash the system, leading to a denial of service. ... A local attacker could overwrite append-only files, ... Gael Delalleu, Rafal Wojtczuk, and Brad Spengler discovered that the memory ... Eric Dumazet discovered that many network functions could leak kernel stack ...
    (Full-Disclosure)