{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()\n\nThe value of mirror->pg_bytes_written should only be updated after a\nsuccessful 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",
               "programFiles": [
                  "fs/nfs/pagelist.c"
               ],
               "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",
               "programFiles": [
                  "fs/nfs/pagelist.c"
               ],
               "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"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/e8b8418ce14ae66ee55179901edd12191ab06a9e"
            },
            {
               "url": "https://git.kernel.org/stable/c/b291baae24f876acd5a5dd57d0bb2bbac8a68b0c"
            },
            {
               "url": "https://git.kernel.org/stable/c/c757c1f1e65d89429db1409429436cf40d47c008"
            },
            {
               "url": "https://git.kernel.org/stable/c/40f139a6d50c232c0d1fd1c5e65a845c62db0ede"
            },
            {
               "url": "https://git.kernel.org/stable/c/785917316b25685c9b3a2a88f933139f2de75e33"
            },
            {
               "url": "https://git.kernel.org/stable/c/7087db95c0a06ab201b8ebfac6a7ec1e34257997"
            },
            {
               "url": "https://git.kernel.org/stable/c/2fe1cac336b55a1f79e603e9ce3552c3623e90eb"
            },
            {
               "url": "https://git.kernel.org/stable/c/0d0ea309357dea0d85a82815f02157eb7fcda39f"
            }
         ],
         "title": "NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2021-47166",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
