diff options
| author | Dan Carpenter <[email protected]> | 2022-08-30 14:55:07 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-08-30 15:15:16 +0000 |
| commit | e230a4455ac3e9b112f0367d1b8e255e141afae0 (patch) | |
| tree | 4c486f2019380b7b393e4021f383edee654021ef /fs/jbd2/commit.c | |
| parent | staging: r8188eu: Add Rosewill USB-N150 Nano to device tables (diff) | |
| download | kernel-e230a4455ac3e9b112f0367d1b8e255e141afae0.tar.gz kernel-e230a4455ac3e9b112f0367d1b8e255e141afae0.zip | |
staging: rtl8712: fix use after free bugs
_Read/Write_MACREG callbacks are NULL so the read/write_macreg_hdl()
functions don't do anything except free the "pcmd" pointer. It
results in a use after free. Delete them.
Fixes: 2865d42c78a9 ("staging: r8712u: Add the new driver to the mainline kernel")
Cc: stable <[email protected]>
Reported-by: Zheng Wang <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/Yw4ASqkYcUhUfoY2@kili
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
