[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BASH recursion segfault, FUNCNEST doesn't help

From: Chet Ramey
Subject: Re: BASH recursion segfault, FUNCNEST doesn't help
Date: Mon, 6 Jun 2022 09:57:50 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.0

On 6/1/22 4:49 PM, Gergely wrote:

I stumbled upon a recursion overflow crash in BASH. It affects both my
Debian machine (this report), as well as the latest stable built from

Yes, you created an infinitely recursive script. It's a race to see whether
you exceed your stack or VM resource limit first. Since you're not
executing within a shell function, FUNCNEST has no effect.

There's a slim chance this might be exploitable.

I'm skeptical.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]