diff options
| author | Ard Biesheuvel <[email protected]> | 2025-03-17 07:23:11 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <[email protected]> | 2025-03-17 17:19:02 +0000 |
| commit | dec1277875a5974413068bfb67df7e87e51a189b (patch) | |
| tree | 76c2fc5a217054ec4877cd55296bc34306b755ba /rust/helpers/platform.c | |
| parent | efi/libstub: Avoid physical address 0x0 when doing random allocation (diff) | |
| download | kernel-dec1277875a5974413068bfb67df7e87e51a189b.tar.gz kernel-dec1277875a5974413068bfb67df7e87e51a189b.zip | |
efivarfs: use I_MUTEX_CHILD nested lock to traverse variables on resume
syzbot warns about a potential deadlock, but this is a false positive
resulting from a missing lockdep annotation: iterate_dir() locks the
parent whereas the inode_lock() it warns about locks the child, which is
guaranteed to be a different lock.
So use inode_lock_nested() instead with the appropriate lock class.
Reported-by: [email protected]
Suggested-by: Al Viro <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
