title: NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()
description: In the Linux kernel, the following vulnerability has been resolved:
NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()
The value of mirror->pg_bytes_written should only be updated after a
successful attempt to flush out the requests on the list.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: a7d42ddb3099, lessThan: e8b8418ce14a, status: affected, versionType: git
version: a7d42ddb3099, lessThan: b291baae24f8, status: affected, versionType: git
version: a7d42ddb3099, lessThan: c757c1f1e65d, status: affected, versionType: git
version: a7d42ddb3099, lessThan: 40f139a6d50c, status: affected, versionType: git
version: a7d42ddb3099, lessThan: 785917316b25, status: affected, versionType: git
version: a7d42ddb3099, lessThan: 7087db95c0a0, status: affected, versionType: git
version: a7d42ddb3099, lessThan: 2fe1cac336b5, status: affected, versionType: git
version: a7d42ddb3099, lessThan: 0d0ea309357d, 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: 4.0, status: affected
version: 0, lessThan: 4.0, status: unaffected, versionType: custom
version: 4.4.271, lessThanOrEqual: 4.4.*, status: unaffected, versionType: custom
version: 4.9.271, lessThanOrEqual: 4.9.*, status: unaffected, versionType: custom
version: 4.14.235, lessThanOrEqual: 4.14.*, status: unaffected, versionType: custom
version: 4.19.193, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.124, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.42, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.12.9, lessThanOrEqual: 5.12.*, status: unaffected, versionType: custom
version: 5.13, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
