GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2023-52582 (GCVE-0-2023-52582)

Vulnerability from cvelistv5 – Published: 2024-03-02 21:59 – Updated: 2026-05-11 19:29
VLAI
Title
netfs: Only call folio_start_fscache() one time for each folio
Summary
In the Linux kernel, the following vulnerability has been resolved: netfs: Only call folio_start_fscache() one time for each folio If a network filesystem using netfs implements a clamp_length() function, it can set subrequest lengths smaller than a page size. When we loop through the folios in netfs_rreq_unlock_folios() to set any folios to be written back, we need to make sure we only call folio_start_fscache() once for each folio. Otherwise, this simple testcase: mount -o fsc,rsize=1024,wsize=1024 127.0.0.1:/export /mnt/nfs dd if=/dev/zero of=/mnt/nfs/file.bin bs=4096 count=1 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0126359 s, 324 kB/s echo 3 > /proc/sys/vm/drop_caches cat /mnt/nfs/file.bin > /dev/null will trigger an oops similar to the following: page dumped because: VM_BUG_ON_FOLIO(folio_test_private_2(folio)) ------------[ cut here ]------------ kernel BUG at include/linux/netfs.h:44! ... CPU: 5 PID: 134 Comm: kworker/u16:5 Kdump: loaded Not tainted 6.4.0-rc5 ... RIP: 0010:netfs_rreq_unlock_folios+0x68e/0x730 [netfs] ... Call Trace: netfs_rreq_assess+0x497/0x660 [netfs] netfs_subreq_terminated+0x32b/0x610 [netfs] nfs_netfs_read_completion+0x14e/0x1a0 [nfs] nfs_read_completion+0x2f9/0x330 [nfs] rpc_free_task+0x72/0xa0 [sunrpc] rpc_async_release+0x46/0x70 [sunrpc] process_one_work+0x3bd/0x710 worker_thread+0x89/0x610 kthread+0x181/0x1c0 ret_from_fork+0x29/0x50
Severity
No CVSS data available.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-03-04 19:13 UTC
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 3d3c95046742e4eebaa4b891b0b01cbbed94ebbd , < df9950d37df113db59495fa09d060754366a2b7c (git)
Affected: 3d3c95046742e4eebaa4b891b0b01cbbed94ebbd , < d9f5537479d4ec97ea92ff24e81a517d5772581a (git)
Affected: 3d3c95046742e4eebaa4b891b0b01cbbed94ebbd , < df1c357f25d808e30b216188330e708e09e1a412 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.13
Unaffected: 0 , < 5.13 (semver)
Unaffected: 6.1.56 , ≤ 6.1.* (semver)
Unaffected: 6.5.6 , ≤ 6.5.* (semver)
Unaffected: 6.6 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-52582",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-03-04T19:13:04.085277Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:23:51.958Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T23:03:21.213Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/df9950d37df113db59495fa09d060754366a2b7c"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/d9f5537479d4ec97ea92ff24e81a517d5772581a"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/df1c357f25d808e30b216188330e708e09e1a412"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/netfs/buffered_read.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "df9950d37df113db59495fa09d060754366a2b7c",
              "status": "affected",
              "version": "3d3c95046742e4eebaa4b891b0b01cbbed94ebbd",
              "versionType": "git"
            },
            {
              "lessThan": "d9f5537479d4ec97ea92ff24e81a517d5772581a",
              "status": "affected",
              "version": "3d3c95046742e4eebaa4b891b0b01cbbed94ebbd",
              "versionType": "git"
            },
            {
              "lessThan": "df1c357f25d808e30b216188330e708e09e1a412",
              "status": "affected",
              "version": "3d3c95046742e4eebaa4b891b0b01cbbed94ebbd",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/netfs/buffered_read.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.13"
            },
            {
              "lessThan": "5.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.56",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.56",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.6",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Only call folio_start_fscache() one time for each folio\n\nIf a network filesystem using netfs implements a clamp_length()\nfunction, it can set subrequest lengths smaller than a page size.\n\nWhen we loop through the folios in netfs_rreq_unlock_folios() to\nset any folios to be written back, we need to make sure we only\ncall folio_start_fscache() once for each folio.\n\nOtherwise, this simple testcase:\n\n  mount -o fsc,rsize=1024,wsize=1024 127.0.0.1:/export /mnt/nfs\n  dd if=/dev/zero of=/mnt/nfs/file.bin bs=4096 count=1\n  1+0 records in\n  1+0 records out\n  4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0126359 s, 324 kB/s\n  echo 3 \u003e /proc/sys/vm/drop_caches\n  cat /mnt/nfs/file.bin \u003e /dev/null\n\nwill trigger an oops similar to the following:\n\n  page dumped because: VM_BUG_ON_FOLIO(folio_test_private_2(folio))\n  ------------[ cut here ]------------\n  kernel BUG at include/linux/netfs.h:44!\n  ...\n  CPU: 5 PID: 134 Comm: kworker/u16:5 Kdump: loaded Not tainted 6.4.0-rc5\n  ...\n  RIP: 0010:netfs_rreq_unlock_folios+0x68e/0x730 [netfs]\n  ...\n  Call Trace:\n    netfs_rreq_assess+0x497/0x660 [netfs]\n    netfs_subreq_terminated+0x32b/0x610 [netfs]\n    nfs_netfs_read_completion+0x14e/0x1a0 [nfs]\n    nfs_read_completion+0x2f9/0x330 [nfs]\n    rpc_free_task+0x72/0xa0 [sunrpc]\n    rpc_async_release+0x46/0x70 [sunrpc]\n    process_one_work+0x3bd/0x710\n    worker_thread+0x89/0x610\n    kthread+0x181/0x1c0\n    ret_from_fork+0x29/0x50"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:29:41.298Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/df9950d37df113db59495fa09d060754366a2b7c"
        },
        {
          "url": "https://git.kernel.org/stable/c/d9f5537479d4ec97ea92ff24e81a517d5772581a"
        },
        {
          "url": "https://git.kernel.org/stable/c/df1c357f25d808e30b216188330e708e09e1a412"
        }
      ],
      "title": "netfs: Only call folio_start_fscache() one time for each folio",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52582",
    "datePublished": "2024-03-02T21:59:48.490Z",
    "dateReserved": "2024-03-02T21:55:42.569Z",
    "dateUpdated": "2026-05-11T19:29:41.298Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-52582",
      "date": "2026-09-16",
      "epss": "0.00227",
      "percentile": "0.13545"
    },
    "fkie_nvd": {
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnetfs: Only call folio_start_fscache() one time for each folio\\n\\nIf a network filesystem using netfs implements a clamp_length()\\nfunction, it can set subrequest lengths smaller than a page size.\\n\\nWhen we loop through the folios in netfs_rreq_unlock_folios() to\\nset any folios to be written back, we need to make sure we only\\ncall folio_start_fscache() once for each folio.\\n\\nOtherwise, this simple testcase:\\n\\n  mount -o fsc,rsize=1024,wsize=1024 127.0.0.1:/export /mnt/nfs\\n  dd if=/dev/zero of=/mnt/nfs/file.bin bs=4096 count=1\\n  1+0 records in\\n  1+0 records out\\n  4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0126359 s, 324 kB/s\\n  echo 3 \u003e /proc/sys/vm/drop_caches\\n  cat /mnt/nfs/file.bin \u003e /dev/null\\n\\nwill trigger an oops similar to the following:\\n\\n  page dumped because: VM_BUG_ON_FOLIO(folio_test_private_2(folio))\\n  ------------[ cut here ]------------\\n  kernel BUG at include/linux/netfs.h:44!\\n  ...\\n  CPU: 5 PID: 134 Comm: kworker/u16:5 Kdump: loaded Not tainted 6.4.0-rc5\\n  ...\\n  RIP: 0010:netfs_rreq_unlock_folios+0x68e/0x730 [netfs]\\n  ...\\n  Call Trace:\\n    netfs_rreq_assess+0x497/0x660 [netfs]\\n    netfs_subreq_terminated+0x32b/0x610 [netfs]\\n    nfs_netfs_read_completion+0x14e/0x1a0 [nfs]\\n    nfs_read_completion+0x2f9/0x330 [nfs]\\n    rpc_free_task+0x72/0xa0 [sunrpc]\\n    rpc_async_release+0x46/0x70 [sunrpc]\\n    process_one_work+0x3bd/0x710\\n    worker_thread+0x89/0x610\\n    kthread+0x181/0x1c0\\n    ret_from_fork+0x29/0x50\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfs: solo llame a folio_start_fscache() una vez para cada folio. Si un sistema de archivos de red que utiliza netfs implementa una funci\\u00f3n abrazadera_longitud(), puede establecer longitudes de subsolicitud m\\u00e1s peque\\u00f1as que el tama\\u00f1o de una p\\u00e1gina. Cuando recorremos las publicaciones en netfs_rreq_unlock_folios() para configurar las publicaciones que se reescribir\\u00e1n, debemos asegurarnos de llamar solo a folio_start_fscache() una vez para cada publicaci\\u00f3n. De lo contrario, este caso de prueba simple: mount -o fsc,rsize=1024,wsize=1024 127.0.0.1:/export /mnt/nfs dd if=/dev/zero of=/mnt/nfs/file.bin bs=4096 count= 1 1+0 registros en 1+0 registros en salida 4096 bytes (4,1 kB, 4,0 KiB) copiados, 0,0126359 s, 324 kB/s echo 3 \u0026gt; /proc/sys/vm/drop_caches cat /mnt/nfs/file.bin \u0026gt; /dev/null desencadenar\\u00e1 un error similar al siguiente: p\\u00e1gina volcada porque: VM_BUG_ON_FOLIO(folio_test_private_2(folio)) ------------[ cortar aqu\\u00ed ]---------- -- \\u00a1ERROR del kernel en include/linux/netfs.h:44! ... CPU: 5 PID: 134 Comm: kworker/u16:5 Kdump: cargado No contaminado 6.4.0-rc5 ... RIP: 0010:netfs_rreq_unlock_folios+0x68e/0x730 [netfs] ... Seguimiento de llamadas: netfs_rreq_assess+0x497 /0x660 [netfs] netfs_subreq_terminate+0x32b/0x610 [netfs] nfs_netfs_read_completion+0x14e/0x1a0 [nfs] nfs_read_completion+0x2f9/0x330 [nfs] rpc_free_task+0x72/0xa0 [sunrpc] rpc_a sync_release+0x46/0x70 [sunrpc] proceso_one_work+0x3bd/0x710 hilo_trabajador+0x89/0x610 kthread+0x181/0x1c0 ret_from_fork+0x29/0x50\"}]",
      "id": "CVE-2023-52582",
      "lastModified": "2024-11-21T08:40:07.197",
      "published": "2024-03-02T22:15:49.770",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/d9f5537479d4ec97ea92ff24e81a517d5772581a\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/df1c357f25d808e30b216188330e708e09e1a412\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/df9950d37df113db59495fa09d060754366a2b7c\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/d9f5537479d4ec97ea92ff24e81a517d5772581a\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/df1c357f25d808e30b216188330e708e09e1a412\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/df9950d37df113db59495fa09d060754366a2b7c\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Undergoing Analysis"
    },
    "microsoft_vex": {
      "current_release_date": "2026-03-31T15:17:06.000Z",
      "cve": "CVE-2023-52582",
      "id": "msrc_CVE-2023-52582",
      "initial_release_date": "2024-03-02T08:00:00.000Z",
      "product_status:under_investigation": "3",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "netfs: Only call folio_start_fscache() one time for each folio",
      "url": "https://msrc.microsoft.com/csaf/vex/2024/msrc_cve-2023-52582.json",
      "version": "3"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-52582\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-03-02T22:15:49.770\",\"lastModified\":\"2026-06-17T06:43:04.760\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnetfs: Only call folio_start_fscache() one time for each folio\\n\\nIf a network filesystem using netfs implements a clamp_length()\\nfunction, it can set subrequest lengths smaller than a page size.\\n\\nWhen we loop through the folios in netfs_rreq_unlock_folios() to\\nset any folios to be written back, we need to make sure we only\\ncall folio_start_fscache() once for each folio.\\n\\nOtherwise, this simple testcase:\\n\\n  mount -o fsc,rsize=1024,wsize=1024 127.0.0.1:/export /mnt/nfs\\n  dd if=/dev/zero of=/mnt/nfs/file.bin bs=4096 count=1\\n  1+0 records in\\n  1+0 records out\\n  4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0126359 s, 324 kB/s\\n  echo 3 \u003e /proc/sys/vm/drop_caches\\n  cat /mnt/nfs/file.bin \u003e /dev/null\\n\\nwill trigger an oops similar to the following:\\n\\n  page dumped because: VM_BUG_ON_FOLIO(folio_test_private_2(folio))\\n  ------------[ cut here ]------------\\n  kernel BUG at include/linux/netfs.h:44!\\n  ...\\n  CPU: 5 PID: 134 Comm: kworker/u16:5 Kdump: loaded Not tainted 6.4.0-rc5\\n  ...\\n  RIP: 0010:netfs_rreq_unlock_folios+0x68e/0x730 [netfs]\\n  ...\\n  Call Trace:\\n    netfs_rreq_assess+0x497/0x660 [netfs]\\n    netfs_subreq_terminated+0x32b/0x610 [netfs]\\n    nfs_netfs_read_completion+0x14e/0x1a0 [nfs]\\n    nfs_read_completion+0x2f9/0x330 [nfs]\\n    rpc_free_task+0x72/0xa0 [sunrpc]\\n    rpc_async_release+0x46/0x70 [sunrpc]\\n    process_one_work+0x3bd/0x710\\n    worker_thread+0x89/0x610\\n    kthread+0x181/0x1c0\\n    ret_from_fork+0x29/0x50\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfs: solo llame a folio_start_fscache() una vez para cada folio. Si un sistema de archivos de red que utiliza netfs implementa una funci\u00f3n abrazadera_longitud(), puede establecer longitudes de subsolicitud m\u00e1s peque\u00f1as que el tama\u00f1o de una p\u00e1gina. Cuando recorremos las publicaciones en netfs_rreq_unlock_folios() para configurar las publicaciones que se reescribir\u00e1n, debemos asegurarnos de llamar solo a folio_start_fscache() una vez para cada publicaci\u00f3n. De lo contrario, este caso de prueba simple: mount -o fsc,rsize=1024,wsize=1024 127.0.0.1:/export /mnt/nfs dd if=/dev/zero of=/mnt/nfs/file.bin bs=4096 count= 1 1+0 registros en 1+0 registros en salida 4096 bytes (4,1 kB, 4,0 KiB) copiados, 0,0126359 s, 324 kB/s echo 3 \u0026gt; /proc/sys/vm/drop_caches cat /mnt/nfs/file.bin \u0026gt; /dev/null desencadenar\u00e1 un error similar al siguiente: p\u00e1gina volcada porque: VM_BUG_ON_FOLIO(folio_test_private_2(folio)) ------------[ cortar aqu\u00ed ]---------- -- \u00a1ERROR del kernel en include/linux/netfs.h:44! ... CPU: 5 PID: 134 Comm: kworker/u16:5 Kdump: cargado No contaminado 6.4.0-rc5 ... RIP: 0010:netfs_rreq_unlock_folios+0x68e/0x730 [netfs] ... Seguimiento de llamadas: netfs_rreq_assess+0x497 /0x660 [netfs] netfs_subreq_terminate+0x32b/0x610 [netfs] nfs_netfs_read_completion+0x14e/0x1a0 [nfs] nfs_read_completion+0x2f9/0x330 [nfs] rpc_free_task+0x72/0xa0 [sunrpc] rpc_a sync_release+0x46/0x70 [sunrpc] proceso_one_work+0x3bd/0x710 hilo_trabajador+0x89/0x610 kthread+0x181/0x1c0 ret_from_fork+0x29/0x50\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/netfs/buffered_read.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3d3c95046742e4eebaa4b891b0b01cbbed94ebbd\",\"lessThan\":\"df9950d37df113db59495fa09d060754366a2b7c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3d3c95046742e4eebaa4b891b0b01cbbed94ebbd\",\"lessThan\":\"d9f5537479d4ec97ea92ff24e81a517d5772581a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3d3c95046742e4eebaa4b891b0b01cbbed94ebbd\",\"lessThan\":\"df1c357f25d808e30b216188330e708e09e1a412\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/netfs/buffered_read.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.13\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.13\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.56\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.5.6\",\"lessThanOrEqual\":\"6.5.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-03-04T19:13:04.085277Z\",\"id\":\"CVE-2023-52582\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.13\",\"versionEndExcluding\":\"6.1.56\",\"matchCriteriaId\":\"22500F70-0E58-4032-89D2-3152759A8C0A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.5.6\",\"matchCriteriaId\":\"870FC772-173A-4A0F-B1AF-7976AD6057D3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"84267A4F-DBC2-444F-B41D-69E15E1BEC97\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"FB440208-241C-4246-9A83-C1715C0DAA6C\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/d9f5537479d4ec97ea92ff24e81a517d5772581a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/df1c357f25d808e30b216188330e708e09e1a412\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/df9950d37df113db59495fa09d060754366a2b7c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/d9f5537479d4ec97ea92ff24e81a517d5772581a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/df1c357f25d808e30b216188330e708e09e1a412\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/df9950d37df113db59495fa09d060754366a2b7c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2025-11-21T14:01:39+00:00",
      "cve": "CVE-2023-52582",
      "id": "CVE-2023-52582",
      "initial_release_date": "2023-01-01T00:00:00+00:00",
      "product_status:known_affected": "108",
      "product_status:known_not_affected": "90",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: netfs: improper loop in netfs_rreq_unlock_folios()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-52582.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T01:06:06Z",
      "cve": "CVE-2023-52582",
      "id": "CVE-2023-52582",
      "initial_release_date": "2024-03-05T04:31:30Z",
      "product_status:known_affected": "260",
      "product_status:known_not_affected": "294",
      "product_status:recommended": "673",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2023-52582",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2023-52582.json",
      "version": "58"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/df9950d37df113db59495fa09d060754366a2b7c\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/d9f5537479d4ec97ea92ff24e81a517d5772581a\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/df1c357f25d808e30b216188330e708e09e1a412\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T23:03:21.213Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-52582\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-03-04T19:13:04.085277Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:14.749Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"netfs: Only call folio_start_fscache() one time for each folio\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3d3c95046742e4eebaa4b891b0b01cbbed94ebbd\", \"lessThan\": \"df9950d37df113db59495fa09d060754366a2b7c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3d3c95046742e4eebaa4b891b0b01cbbed94ebbd\", \"lessThan\": \"d9f5537479d4ec97ea92ff24e81a517d5772581a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3d3c95046742e4eebaa4b891b0b01cbbed94ebbd\", \"lessThan\": \"df1c357f25d808e30b216188330e708e09e1a412\", \"versionType\": \"git\"}], \"programFiles\": [\"fs/netfs/buffered_read.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.13\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.13\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.1.56\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.5.6\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.5.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"fs/netfs/buffered_read.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/df9950d37df113db59495fa09d060754366a2b7c\"}, {\"url\": \"https://git.kernel.org/stable/c/d9f5537479d4ec97ea92ff24e81a517d5772581a\"}, {\"url\": \"https://git.kernel.org/stable/c/df1c357f25d808e30b216188330e708e09e1a412\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnetfs: Only call folio_start_fscache() one time for each folio\\n\\nIf a network filesystem using netfs implements a clamp_length()\\nfunction, it can set subrequest lengths smaller than a page size.\\n\\nWhen we loop through the folios in netfs_rreq_unlock_folios() to\\nset any folios to be written back, we need to make sure we only\\ncall folio_start_fscache() once for each folio.\\n\\nOtherwise, this simple testcase:\\n\\n  mount -o fsc,rsize=1024,wsize=1024 127.0.0.1:/export /mnt/nfs\\n  dd if=/dev/zero of=/mnt/nfs/file.bin bs=4096 count=1\\n  1+0 records in\\n  1+0 records out\\n  4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0126359 s, 324 kB/s\\n  echo 3 \u003e /proc/sys/vm/drop_caches\\n  cat /mnt/nfs/file.bin \u003e /dev/null\\n\\nwill trigger an oops similar to the following:\\n\\n  page dumped because: VM_BUG_ON_FOLIO(folio_test_private_2(folio))\\n  ------------[ cut here ]------------\\n  kernel BUG at include/linux/netfs.h:44!\\n  ...\\n  CPU: 5 PID: 134 Comm: kworker/u16:5 Kdump: loaded Not tainted 6.4.0-rc5\\n  ...\\n  RIP: 0010:netfs_rreq_unlock_folios+0x68e/0x730 [netfs]\\n  ...\\n  Call Trace:\\n    netfs_rreq_assess+0x497/0x660 [netfs]\\n    netfs_subreq_terminated+0x32b/0x610 [netfs]\\n    nfs_netfs_read_completion+0x14e/0x1a0 [nfs]\\n    nfs_read_completion+0x2f9/0x330 [nfs]\\n    rpc_free_task+0x72/0xa0 [sunrpc]\\n    rpc_async_release+0x46/0x70 [sunrpc]\\n    process_one_work+0x3bd/0x710\\n    worker_thread+0x89/0x610\\n    kthread+0x181/0x1c0\\n    ret_from_fork+0x29/0x50\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.56\", \"versionStartIncluding\": \"5.13\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.5.6\", \"versionStartIncluding\": \"5.13\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6\", \"versionStartIncluding\": \"5.13\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T07:39:11.397Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-52582\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T07:39:11.397Z\", \"dateReserved\": \"2024-03-02T21:55:42.569Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-03-02T21:59:48.490Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…