Thread (7 messages) flat view 7 messages, 4 authors, 2011-06-17

Re: [Security] inet_diag insufficient validation?

From: Dan Rosenberg <hidden>
Date: 2011-06-15 14:35:39

On Fri, 2011-06-03 at 14:55 +0800, Eugene Teo wrote:
Cc'ed acme.

On Wed, Jun 1, 2011 at 11:40 PM, Dan Rosenberg [off-list ref] wrote:
quoted
It seems to me that the auditing performed by inet_diag_bc_audit() is
insufficient to prevent pathological INET_DIAG bytecode from doing bad
things.

Firstly, it's possible to cause an infinite loop in inet_diag_bc_audit()
with a INET_DIAG_BC_JMP opcode with a "yes" value of 0.  The valid_cc()
function, also called from here, seems suspicious as well.
Any chance of getting this fixed?  I have a reproducer available if
necessary.

-Dan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help