Thread (2 messages) 2 messages, 2 authors, 2021-12-29

RE: [char-misc-next] mei: hbm: fix client dma reply status

From: Grumbach, Emmanuel <hidden>
Date: 2021-12-29 16:09:28
Also in: lkml

From: Alexander Usyskin <alexander.usyskin@intel.com>

Don't blindly copy status value received from the firmware into internal client
status field, It may be positive and ERR_PTR(ret) will translate it into an
invalid address and the caller will crash.

Put the error code into the client status on failure.

Fixes: 369aea845951 ("mei: implement client dma setup.")
Reported-by: Emmanuel Grumbach <redacted>
Cc: <redacted> # v5.11+
Acked-by: Tomas Winkler <redacted>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <redacted>
Tested-by: : Emmanuel Grumbach <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help