cve-2023-52682
Vulnerability from cvelistv5
Published
2024-05-17 14:24
Modified
2024-08-02 23:11
Severity
Summary
f2fs: fix to wait on block writeback for post_read case
Impacted products
VendorProduct
LinuxLinux
LinuxLinux
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-52682",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-23T19:39:15.342278Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:23:15.749Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T23:11:34.506Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/9bfd5ea71521d0e522ba581c6ccc5db93759c0c3"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/4535be48780431753505e74e1b1ad4836a189bc2"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f904c156d8011d8291ffd5b6b398f3747e294986"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/55fdc1c24a1d6229fe0ecf31335fb9a2eceaaa00"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/f2fs/data.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9bfd5ea71521",
              "status": "affected",
              "version": "4c8ff7095bef",
              "versionType": "git"
            },
            {
              "lessThan": "4535be487804",
              "status": "affected",
              "version": "4c8ff7095bef",
              "versionType": "git"
            },
            {
              "lessThan": "f904c156d801",
              "status": "affected",
              "version": "4c8ff7095bef",
              "versionType": "git"
            },
            {
              "lessThan": "55fdc1c24a1d",
              "status": "affected",
              "version": "4c8ff7095bef",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/f2fs/data.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.6"
            },
            {
              "lessThan": "5.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.75",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.14",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.2",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.8",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to wait on block writeback for post_read case\n\nIf inode is compressed, but not encrypted, it missed to call\nf2fs_wait_on_block_writeback() to wait for GCed page writeback\nin IPU write path.\n\nThread A\t\t\t\tGC-Thread\n\t\t\t\t\t- f2fs_gc\n\t\t\t\t\t - do_garbage_collect\n\t\t\t\t\t  - gc_data_segment\n\t\t\t\t\t   - move_data_block\n\t\t\t\t\t    - f2fs_submit_page_write\n\t\t\t\t\t     migrate normal cluster\u0027s block via\n\t\t\t\t\t     meta_inode\u0027s page cache\n- f2fs_write_single_data_page\n - f2fs_do_write_data_page\n  - f2fs_inplace_write_data\n   - f2fs_submit_page_bio\n\nIRQ\n- f2fs_read_end_io\n\t\t\t\t\tIRQ\n\t\t\t\t\told data overrides new data due to\n\t\t\t\t\tout-of-order GC and common IO.\n\t\t\t\t\t- f2fs_read_end_io"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-05-29T05:15:48.803Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9bfd5ea71521d0e522ba581c6ccc5db93759c0c3"
        },
        {
          "url": "https://git.kernel.org/stable/c/4535be48780431753505e74e1b1ad4836a189bc2"
        },
        {
          "url": "https://git.kernel.org/stable/c/f904c156d8011d8291ffd5b6b398f3747e294986"
        },
        {
          "url": "https://git.kernel.org/stable/c/55fdc1c24a1d6229fe0ecf31335fb9a2eceaaa00"
        }
      ],
      "title": "f2fs: fix to wait on block writeback for post_read case",
      "x_generator": {
        "engine": "bippy-a5840b7849dd"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52682",
    "datePublished": "2024-05-17T14:24:45.345Z",
    "dateReserved": "2024-03-07T14:49:46.887Z",
    "dateUpdated": "2024-08-02T23:11:34.506Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-52682\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-17T15:15:19.427\",\"lastModified\":\"2024-05-17T18:35:35.070\",\"vulnStatus\":\"Awaiting Analysis\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nf2fs: fix to wait on block writeback for post_read case\\n\\nIf inode is compressed, but not encrypted, it missed to call\\nf2fs_wait_on_block_writeback() to wait for GCed page writeback\\nin IPU write path.\\n\\nThread A\\t\\t\\t\\tGC-Thread\\n\\t\\t\\t\\t\\t- f2fs_gc\\n\\t\\t\\t\\t\\t - do_garbage_collect\\n\\t\\t\\t\\t\\t  - gc_data_segment\\n\\t\\t\\t\\t\\t   - move_data_block\\n\\t\\t\\t\\t\\t    - f2fs_submit_page_write\\n\\t\\t\\t\\t\\t     migrate normal cluster\u0027s block via\\n\\t\\t\\t\\t\\t     meta_inode\u0027s page cache\\n- f2fs_write_single_data_page\\n - f2fs_do_write_data_page\\n  - f2fs_inplace_write_data\\n   - f2fs_submit_page_bio\\n\\nIRQ\\n- f2fs_read_end_io\\n\\t\\t\\t\\t\\tIRQ\\n\\t\\t\\t\\t\\told data overrides new data due to\\n\\t\\t\\t\\t\\tout-of-order GC and common IO.\\n\\t\\t\\t\\t\\t- f2fs_read_end_io\"},{\"lang\":\"es\",\"value\":\" En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: f2fs: correcci\u00f3n para esperar en la reescritura del bloque para el caso post_read. Si el inodo est\u00e1 comprimido, pero no encriptado, no llam\u00f3 a f2fs_wait_on_block_writeback() para esperar la reescritura de la p\u00e1gina GCed en la ruta de escritura de la IPU. Subproceso A GC-Thread - f2fs_gc - do_garbage_collect - gc_data_segment - move_data_block - f2fs_submit_page_write migra el bloque del cl\u00faster normal a trav\u00e9s del cach\u00e9 de p\u00e1gina de meta_inode - f2fs_write_single_data_page - f2fs_do_write_data_page - f2fs_inplace_write_data - f2fs_submit_page_bio IRQ - fs_read_end_io Los datos antiguos de IRQ anulan los datos nuevos debido a GC desordenado y com\u00fan O\u00cd. - f2fs_read_end_io\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/4535be48780431753505e74e1b1ad4836a189bc2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/55fdc1c24a1d6229fe0ecf31335fb9a2eceaaa00\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9bfd5ea71521d0e522ba581c6ccc5db93759c0c3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f904c156d8011d8291ffd5b6b398f3747e294986\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...