Project

General

Profile

Actions

Bug #4430

open

firmware can get in endless out-of-memory loop on OUT EP flood

Added by laforge about 4 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Category:
firmware
Target version:
-
Start date:
03/01/2020
Due date:
% Done:

10%

Spec Reference:

Description

When flooding the OUT EP with too many messages, the firmware can get into an OOM situation from which it doesn't recover anymore. All it will do is print the below messages:

-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!
-E- _talloc_zero() out of memory!

I'm currently reproducing this with a test case that sends 1000 bogus OUT EP transfers to the device.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)