title: f2fs: fix to avoid potential deadlock
description: In the Linux kernel, the following vulnerability has been resolved:
f2fs: fix to avoid potential deadlock
Using f2fs_trylock_op() in f2fs_write_compressed_pages() to avoid potential
deadlock like we did in f2fs_write_single_data_page().
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 1da177e4c3f4, lessThan: 0478ccdc8ea0, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 8e8542437bb4, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: df77fbd8c5b2, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5.4.189, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.6.7, lessThanOrEqual: 5.6.*, status: unaffected, versionType: custom
version: 5.7, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
