{"id":"CVE-2022-48829","published":"2024-07-16T11:44:13Z","modified":"2026-10-14T18:44:53Z","title":"NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes\n\niattr::ia_size is a loff_t, so these NFSv3 procedures must be\ncareful to deal with incoming client size values that are larger\nthan s64_max without corrupting the value.\n\nSilently capping the value results in storing a different value\nthan the client passed in which is unexpected behavior, so remove\nthe min_t() check in decode_sattr3().\n\nNote that RFC 1813 permits only the WRITE procedure to return\nNFS3ERR_FBIG. We believe that NFSv3 reference implementations\nalso return NFS3ERR_FBIG when ia_size is too large.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00653,"percentile":0.52242,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/72c14aed6838b5d90b4dd926b6a339b34bb02e08","tags":[]},{"url":"https://git.kernel.org/stable/c/a231ae6bb50e7c0a9e9efd7b0d10687f1d71b3a3","tags":[]},{"url":"https://git.kernel.org/stable/c/37f2d2cd8eadddbbd9c7bda327a9393399b2f89b","tags":[]},{"url":"https://git.kernel.org/stable/c/aa9051ddb4b378bd22e72a67bc77b9fc1482c5f0","tags":[]},{"url":"https://git.kernel.org/stable/c/a648fdeb7c0e17177a2280344d015dba3fbe3314","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":10.45},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 72c14aed6838b5d90b4dd926b6a339b34bb02e08",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a231ae6bb50e7c0a9e9efd7b0d10687f1d71b3a3",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 37f2d2cd8eadddbbd9c7bda327a9393399b2f89b",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aa9051ddb4b378bd22e72a67bc77b9fc1482c5f0",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a648fdeb7c0e17177a2280344d015dba3fbe3314"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:57:33.741233Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53708","exploited":false,"provenance":"source"}}