Skip to content

mmc: vub300: fix NULL-deref and UAF on disconnect

Johan Hovold linux-mmc lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mmc: vub300: fix NULL-deref on disconnectdrivers/mmc/host/vub300.c+1 -14 replies
2/4mmc: vub300: fix use-after-free on disconnectdrivers/mmc/host/vub300.c+11 -61 reply
3/4mmc: vub300: rename probe error labelsdrivers/mmc/host/vub300.c+10 -80 replies
4/4mmc: vub300: clean up module initdrivers/mmc/host/vub300.c+16 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] mmc: vub300: fix NULL-deref and UAF on disconnect

This series fixes lifetime issues that can lead to NULL pointer dereferences and use-after-free.

Included are also two related cleanups.

Johan

Johan Hovold (4):
mmc: vub300: fix NULL-deref on disconnect
mmc: vub300: fix use-after-free on disconnect
mmc: vub300: rename probe error labels
mmc: vub300: clean up module init

 drivers/mmc/host/vub300.c | 70 +++++++++++++++++++++------------------
 1 file changed, 38 insertions(+), 32 deletions(-)
Signature · 1 line
2.52.0