cve-2024-26869
Vulnerability from cvelistv5
Published
2024-04-17 10:27
Modified
2024-12-19 08:49
Severity ?
EPSS score ?
0.10% (0.28341)
Summary
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to truncate meta inode pages forcely Below race case can cause data corruption: Thread A GC thread - gc_data_segment - ra_data_block - locked meta_inode page - f2fs_inplace_write_data - invalidate_mapping_pages : fail to invalidate meta_inode page due to lock failure or dirty|writeback status - f2fs_submit_page_bio : write last dirty data to old blkaddr - move_data_block - load old data from meta_inode page - f2fs_submit_page_write : write old data to new blkaddr Because invalidate_mapping_pages() will skip invalidating page which has unclear status including locked, dirty, writeback and so on, so we need to use truncate_inode_pages_range() instead of invalidate_mapping_pages() to make sure meta_inode page will be dropped.
Impacted products
Vendor Product Version
Linux Linux Version: 6aa58d8ad20a3323f42274c25820a6f54192422d
Version: 6aa58d8ad20a3323f42274c25820a6f54192422d
Version: 6aa58d8ad20a3323f42274c25820a6f54192422d
Version: 6aa58d8ad20a3323f42274c25820a6f54192422d
Create a notification for this product.
   Linux Linux Version: 4.19
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2024-26869",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "total",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-06-12T17:28:33.962208Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-06-12T17:31:41.499Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
         {
            providerMetadata: {
               dateUpdated: "2024-08-02T00:21:04.218Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/c92f2927df860a60ba815d3ee610a944b92a8694",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/77bfdb89cc222fc7bfe198eda77bdc427d5ac189",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/04226d8e3c4028dc451e9d8777356ec0f7919253",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/9f0c4a46be1fe9b97dbe66d49204c1371e3ece65",
               },
            ],
            title: "CVE Program Container",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "fs/f2fs/checkpoint.c",
                  "fs/f2fs/f2fs.h",
                  "fs/f2fs/segment.c",
                  "include/linux/f2fs_fs.h",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "c92f2927df860a60ba815d3ee610a944b92a8694",
                     status: "affected",
                     version: "6aa58d8ad20a3323f42274c25820a6f54192422d",
                     versionType: "git",
                  },
                  {
                     lessThan: "77bfdb89cc222fc7bfe198eda77bdc427d5ac189",
                     status: "affected",
                     version: "6aa58d8ad20a3323f42274c25820a6f54192422d",
                     versionType: "git",
                  },
                  {
                     lessThan: "04226d8e3c4028dc451e9d8777356ec0f7919253",
                     status: "affected",
                     version: "6aa58d8ad20a3323f42274c25820a6f54192422d",
                     versionType: "git",
                  },
                  {
                     lessThan: "9f0c4a46be1fe9b97dbe66d49204c1371e3ece65",
                     status: "affected",
                     version: "6aa58d8ad20a3323f42274c25820a6f54192422d",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "fs/f2fs/checkpoint.c",
                  "fs/f2fs/f2fs.h",
                  "fs/f2fs/segment.c",
                  "include/linux/f2fs_fs.h",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "4.19",
                  },
                  {
                     lessThan: "4.19",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.23",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.7.*",
                     status: "unaffected",
                     version: "6.7.11",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.8.*",
                     status: "unaffected",
                     version: "6.8.2",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "6.9",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to truncate meta inode pages forcely\n\nBelow race case can cause data corruption:\n\nThread A\t\t\t\tGC thread\n\t\t\t\t\t- gc_data_segment\n\t\t\t\t\t - ra_data_block\n\t\t\t\t\t  - locked meta_inode page\n- f2fs_inplace_write_data\n - invalidate_mapping_pages\n : fail to invalidate meta_inode page\n   due to lock failure or dirty|writeback\n   status\n - f2fs_submit_page_bio\n : write last dirty data to old blkaddr\n\t\t\t\t\t - move_data_block\n\t\t\t\t\t  - load old data from meta_inode page\n\t\t\t\t\t  - f2fs_submit_page_write\n\t\t\t\t\t  : write old data to new blkaddr\n\nBecause invalidate_mapping_pages() will skip invalidating page which\nhas unclear status including locked, dirty, writeback and so on, so\nwe need to use truncate_inode_pages_range() instead of\ninvalidate_mapping_pages() to make sure meta_inode page will be dropped.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-12-19T08:49:04.410Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/c92f2927df860a60ba815d3ee610a944b92a8694",
            },
            {
               url: "https://git.kernel.org/stable/c/77bfdb89cc222fc7bfe198eda77bdc427d5ac189",
            },
            {
               url: "https://git.kernel.org/stable/c/04226d8e3c4028dc451e9d8777356ec0f7919253",
            },
            {
               url: "https://git.kernel.org/stable/c/9f0c4a46be1fe9b97dbe66d49204c1371e3ece65",
            },
         ],
         title: "f2fs: fix to truncate meta inode pages forcely",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-26869",
      datePublished: "2024-04-17T10:27:30.100Z",
      dateReserved: "2024-02-19T14:20:24.184Z",
      dateUpdated: "2024-12-19T08:49:04.410Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-26869\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-04-17T11:15:09.413\",\"lastModified\":\"2024-11-21T09:03:15.370\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nf2fs: fix to truncate meta inode pages forcely\\n\\nBelow race case can cause data corruption:\\n\\nThread A\\t\\t\\t\\tGC thread\\n\\t\\t\\t\\t\\t- gc_data_segment\\n\\t\\t\\t\\t\\t - ra_data_block\\n\\t\\t\\t\\t\\t  - locked meta_inode page\\n- f2fs_inplace_write_data\\n - invalidate_mapping_pages\\n : fail to invalidate meta_inode page\\n   due to lock failure or dirty|writeback\\n   status\\n - f2fs_submit_page_bio\\n : write last dirty data to old blkaddr\\n\\t\\t\\t\\t\\t - move_data_block\\n\\t\\t\\t\\t\\t  - load old data from meta_inode page\\n\\t\\t\\t\\t\\t  - f2fs_submit_page_write\\n\\t\\t\\t\\t\\t  : write old data to new blkaddr\\n\\nBecause invalidate_mapping_pages() will skip invalidating page which\\nhas unclear status including locked, dirty, writeback and so on, so\\nwe need to use truncate_inode_pages_range() instead of\\ninvalidate_mapping_pages() to make sure meta_inode page will be dropped.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: f2fs: corrección para truncar las páginas de meta-inodo a la fuerza El siguiente caso de carrera puede causar corrupción de datos: Hilo Un hilo de GC - gc_data_segment - ra_data_block - página de meta_inodo bloqueada - f2fs_inplace_write_data - invalidate_mapping_pages: no se puede invalidar meta_inode página debido a falla de bloqueo o estado sucio|reescritura - f2fs_submit_page_bio: escribe los últimos datos sucios en el blkaddr antiguo - move_data_block - carga datos antiguos de la página meta_inode - f2fs_submit_page_write: escribe datos antiguos en el blkaddr nuevo Porque invalidate_mapping_pages() omitirá la página de invalidación cuyo estado no está claro incluyendo bloqueado, sucio, reescritura, etc., por lo que debemos usar truncate_inode_pages_range() en lugar de invalidate_mapping_pages() para asegurarnos de que la página meta_inode se elimine.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/04226d8e3c4028dc451e9d8777356ec0f7919253\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/77bfdb89cc222fc7bfe198eda77bdc427d5ac189\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9f0c4a46be1fe9b97dbe66d49204c1371e3ece65\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c92f2927df860a60ba815d3ee610a944b92a8694\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/04226d8e3c4028dc451e9d8777356ec0f7919253\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/77bfdb89cc222fc7bfe198eda77bdc427d5ac189\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/9f0c4a46be1fe9b97dbe66d49204c1371e3ece65\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/c92f2927df860a60ba815d3ee610a944b92a8694\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-26869\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-12T17:28:33.962208Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-12T17:28:41.121Z\"}}], \"cna\": {\"title\": \"f2fs: fix to truncate meta inode pages forcely\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6aa58d8ad20a\", \"lessThan\": \"c92f2927df86\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6aa58d8ad20a\", \"lessThan\": \"77bfdb89cc22\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6aa58d8ad20a\", \"lessThan\": \"04226d8e3c40\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6aa58d8ad20a\", \"lessThan\": \"9f0c4a46be1f\", \"versionType\": \"git\"}], \"programFiles\": [\"fs/f2fs/checkpoint.c\", \"fs/f2fs/f2fs.h\", \"fs/f2fs/segment.c\", \"include/linux/f2fs_fs.h\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.19\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.19\", \"versionType\": \"custom\"}, {\"status\": \"unaffected\", \"version\": \"6.6.23\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.7.11\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"6.7.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8.2\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"6.8.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"fs/f2fs/checkpoint.c\", \"fs/f2fs/f2fs.h\", \"fs/f2fs/segment.c\", \"include/linux/f2fs_fs.h\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/c92f2927df860a60ba815d3ee610a944b92a8694\"}, {\"url\": \"https://git.kernel.org/stable/c/77bfdb89cc222fc7bfe198eda77bdc427d5ac189\"}, {\"url\": \"https://git.kernel.org/stable/c/04226d8e3c4028dc451e9d8777356ec0f7919253\"}, {\"url\": \"https://git.kernel.org/stable/c/9f0c4a46be1fe9b97dbe66d49204c1371e3ece65\"}], \"x_generator\": {\"engine\": \"bippy-a5840b7849dd\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nf2fs: fix to truncate meta inode pages forcely\\n\\nBelow race case can cause data corruption:\\n\\nThread A\\t\\t\\t\\tGC thread\\n\\t\\t\\t\\t\\t- gc_data_segment\\n\\t\\t\\t\\t\\t - ra_data_block\\n\\t\\t\\t\\t\\t  - locked meta_inode page\\n- f2fs_inplace_write_data\\n - invalidate_mapping_pages\\n : fail to invalidate meta_inode page\\n   due to lock failure or dirty|writeback\\n   status\\n - f2fs_submit_page_bio\\n : write last dirty data to old blkaddr\\n\\t\\t\\t\\t\\t - move_data_block\\n\\t\\t\\t\\t\\t  - load old data from meta_inode page\\n\\t\\t\\t\\t\\t  - f2fs_submit_page_write\\n\\t\\t\\t\\t\\t  : write old data to new blkaddr\\n\\nBecause invalidate_mapping_pages() will skip invalidating page which\\nhas unclear status including locked, dirty, writeback and so on, so\\nwe need to use truncate_inode_pages_range() instead of\\ninvalidate_mapping_pages() to make sure meta_inode page will be dropped.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-05-29T05:24:11.307Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2024-26869\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-06-12T17:31:41.499Z\", \"dateReserved\": \"2024-02-19T14:20:24.184Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-04-17T10:27:30.100Z\", \"assignerShortName\": \"Linux\"}",
         dataType: "CVE_RECORD",
         dataVersion: "5.1",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.