Thread (1 message) 1 message, 1 author, 2021-02-02

Re: [PATCH v1] USB: CDC-ACM race condition during acm_disconnect

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2021-02-02 07:04:26

On Tue, Feb 02, 2021 at 03:29:11AM +0000, Paul O'Riordan wrote:
From: Paul O'Riordan <redacted>

This patch fixes a race condition between acm_disconnect and
acm_read_bulk_callback. acm_read_bulk_callback may be called after the
acm_disconnect function has been called resulting in kernel crashes

Signed-off-by: Paul O'Riordan <redacted>
---
Hi,

This is the friendly patch-bot of Greg Kroah-Hartman.  You have sent him
a patch that has triggered this response.  He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created.  Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- Your patch is malformed (tabs converted to spaces, linewrapped, etc.)
  and can not be applied.  Please read the file,
  Documentation/email-clients.txt in order to fix this.

- Your patch was attached, please place it inline so that it can be
  applied directly from the email message itself.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help