diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-06-08 16:16:29 +0200 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2020-06-09 09:50:18 +0200 |
commit | fc961522ddbdf00254dd03b677627139cc1f68bc (patch) | |
tree | b81f898f8dac5429084e0abb43b96c330bd6ff34 /lib/bust_spinlocks.c | |
parent | exfat: fix range validation error in alloc and free cluster (diff) | |
download | linux-fc961522ddbdf00254dd03b677627139cc1f68bc.tar.xz linux-fc961522ddbdf00254dd03b677627139cc1f68bc.zip |
exfat: Fix potential use after free in exfat_load_upcase_table()
This code calls brelse(bh) and then dereferences "bh" on the next line
resulting in a possible use after free. The brelse() should just be
moved down a line.
Fixes: b676fdbcf4c8 ("exfat: standardize checksum calculation")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Diffstat (limited to 'lib/bust_spinlocks.c')
0 files changed, 0 insertions, 0 deletions