CVE-2024-26697 (GCVE-0-2024-26697)

Vulnerability from cvelistv5 – Published: 2024-04-03 14:54 – Updated: 2026-08-05 11:26
VLAI
Title
nilfs2: fix data corruption in dsync block recovery for small block sizes
Summary
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix data corruption in dsync block recovery for small block sizes The helper function nilfs_recovery_copy_block() of nilfs_recovery_dsync_blocks(), which recovers data from logs created by data sync writes during a mount after an unclean shutdown, incorrectly calculates the on-page offset when copying repair data to the file's page cache. In environments where the block size is smaller than the page size, this flaw can cause data corruption and leak uninitialized memory bytes during the recovery process. Fix these issues by correcting this byte offset calculation on the page.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator (v2.0.3)
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b , < 5278c3eb6bf5896417572b52adb6be9d26e92f65 (git)
Affected: 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b , < a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba (git)
Affected: 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b , < 364a66be2abdcd4fd426ffa44d9b8f40aafb3caa (git)
Affected: 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b , < 120f7fa2008e3bd8b7680b4ab5df942decf60fd5 (git)
Affected: 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b , < 9c9c68d64fd3284f7097ed6ae057c8441f39fcd3 (git)
Affected: 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b , < 2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d (git)
Affected: 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b , < 2000016bab499074e6248ea85aeea7dd762355d9 (git)
Affected: 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b , < 67b8bcbaed4777871bb0dcc888fb02a614a98ab1 (git)
Create a notification for this product.
Linux Linux Affected: 2.6.30
Unaffected: 0 , < 2.6.30 (semver)
Unaffected: 4.19.307 , ≤ 4.19.* (semver)
Unaffected: 5.4.269 , ≤ 5.4.* (semver)
Unaffected: 5.10.210 , ≤ 5.10.* (semver)
Unaffected: 5.15.149 , ≤ 5.15.* (semver)
Unaffected: 6.1.79 , ≤ 6.1.* (semver)
Unaffected: 6.6.18 , ≤ 6.6.* (semver)
Unaffected: 6.7.6 , ≤ 6.7.* (semver)
Unaffected: 6.8 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T00:14:12.662Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5278c3eb6bf5896417572b52adb6be9d26e92f65"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/364a66be2abdcd4fd426ffa44d9b8f40aafb3caa"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/120f7fa2008e3bd8b7680b4ab5df942decf60fd5"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/9c9c68d64fd3284f7097ed6ae057c8441f39fcd3"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/2000016bab499074e6248ea85aeea7dd762355d9"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/67b8bcbaed4777871bb0dcc888fb02a614a98ab1"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-26697",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T15:52:50.686290Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:33:29.604Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nilfs2/recovery.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5278c3eb6bf5896417572b52adb6be9d26e92f65",
              "status": "affected",
              "version": "0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b",
              "versionType": "git"
            },
            {
              "lessThan": "a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba",
              "status": "affected",
              "version": "0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b",
              "versionType": "git"
            },
            {
              "lessThan": "364a66be2abdcd4fd426ffa44d9b8f40aafb3caa",
              "status": "affected",
              "version": "0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b",
              "versionType": "git"
            },
            {
              "lessThan": "120f7fa2008e3bd8b7680b4ab5df942decf60fd5",
              "status": "affected",
              "version": "0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b",
              "versionType": "git"
            },
            {
              "lessThan": "9c9c68d64fd3284f7097ed6ae057c8441f39fcd3",
              "status": "affected",
              "version": "0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b",
              "versionType": "git"
            },
            {
              "lessThan": "2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d",
              "status": "affected",
              "version": "0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b",
              "versionType": "git"
            },
            {
              "lessThan": "2000016bab499074e6248ea85aeea7dd762355d9",
              "status": "affected",
              "version": "0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b",
              "versionType": "git"
            },
            {
              "lessThan": "67b8bcbaed4777871bb0dcc888fb02a614a98ab1",
              "status": "affected",
              "version": "0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nilfs2/recovery.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.30"
            },
            {
              "lessThan": "2.6.30",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.307",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.269",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.210",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.149",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.79",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.18",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.8",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.307",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.269",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.210",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.149",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.79",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.18",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.7.6",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix data corruption in dsync block recovery for small block sizes\n\nThe helper function nilfs_recovery_copy_block() of\nnilfs_recovery_dsync_blocks(), which recovers data from logs created by\ndata sync writes during a mount after an unclean shutdown, incorrectly\ncalculates the on-page offset when copying repair data to the file\u0027s page\ncache.  In environments where the block size is smaller than the page\nsize, this flaw can cause data corruption and leak uninitialized memory\nbytes during the recovery process.\n\nFix these issues by correcting this byte offset calculation on the page."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable code is only reachable by mounting a nilfs2 block device or image whose last logs are unclean data-sync logs, which requires local system access (removable media, loop device, or autofs/udisks handling). No network-facing service reaches `nilfs_do_roll_forward()`.\nAC:L - The attacker fully controls the on-disk parameters that drive the defect \u2014 block size (1K/2K via mkfs, guaranteeing blocksize \u003c PAGE_SIZE), `fi_ino`, `bi_blkoff`, and the log block placement that fixes `bh_offset(bh_org)` \u2014 so the misdirected copy and the uninitialized target buffer occur deterministically on every mount, with no race or environmental precondition.\nPR:L - nilfs2 registers as FS_REQUIRES_DEV without FS_USERNS_MOUNT, so unprivileged user namespaces do not grant the mount, but in the most severe realistic deployment (desktop/kiosk/embedded with udisks2 or autofs auto-mounting removable media, or an fstab `user` entry) an ordinary local user supplies the image and the mount happens on their behalf.\nUI:N - The attacker inserts their own media or invokes the permitted mount themselves and then reads back the recovered file; no separate victim needs to take any action.\nS:U - The disclosed memory and the corrupted data both belong to the same kernel security authority as the vulnerable code; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - Each recovered block leaves the intended buffer filled with stale contents of a freshly allocated page-cache page \u2014 previously freed anonymous memory, other files\u0027 page cache, slab or page-table pages \u2014 and `__block_commit_write()` marks it uptodate and dirty, so it becomes readable file data and is persisted to disk. The attacker can place an unbounded number of dsync recovery blocks in the crafted log and repeat the mount, turning this into a large-volume, groomable disclosure of kernel and other users\u0027 memory.\nI:H - The recovered bytes are written to an attacker-chosen wrong offset in the folio while the intended block is filled with uninitialized memory and then marked dirty, permanently corrupting file contents on disk. Because `fi_ino` is unvalidated at this version, the attacker can direct this corruption at any inode, including directories and nilfs2 metadata files, so on-disk data and metadata integrity is fully lost.\nA:H - The garbage injected into an attacker-selected inode\u0027s page cache is committed and written back, so directing it at the root directory or a metadata inode feeds corrupted entries into nilfs2\u0027s directory and btree parsers \u2014 the same input class that produces the documented nilfs2 kernel BUG_ON/oops crashes \u2014 and `nilfs_error()` renders the filesystem unusable (panic under `errors=panic`)."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:26:45.330Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5278c3eb6bf5896417572b52adb6be9d26e92f65"
        },
        {
          "url": "https://git.kernel.org/stable/c/a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba"
        },
        {
          "url": "https://git.kernel.org/stable/c/364a66be2abdcd4fd426ffa44d9b8f40aafb3caa"
        },
        {
          "url": "https://git.kernel.org/stable/c/120f7fa2008e3bd8b7680b4ab5df942decf60fd5"
        },
        {
          "url": "https://git.kernel.org/stable/c/9c9c68d64fd3284f7097ed6ae057c8441f39fcd3"
        },
        {
          "url": "https://git.kernel.org/stable/c/2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d"
        },
        {
          "url": "https://git.kernel.org/stable/c/2000016bab499074e6248ea85aeea7dd762355d9"
        },
        {
          "url": "https://git.kernel.org/stable/c/67b8bcbaed4777871bb0dcc888fb02a614a98ab1"
        }
      ],
      "title": "nilfs2: fix data corruption in dsync block recovery for small block sizes",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-26697",
    "datePublished": "2024-04-03T14:54:57.848Z",
    "dateReserved": "2024-02-19T14:20:24.156Z",
    "dateUpdated": "2026-08-05T11:26:45.330Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-26697",
      "date": "2026-08-09",
      "epss": "0.00243",
      "percentile": "0.15403"
    },
    "fkie_nvd": {
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnilfs2: fix data corruption in dsync block recovery for small block sizes\\n\\nThe helper function nilfs_recovery_copy_block() of\\nnilfs_recovery_dsync_blocks(), which recovers data from logs created by\\ndata sync writes during a mount after an unclean shutdown, incorrectly\\ncalculates the on-page offset when copying repair data to the file\u0027s page\\ncache.  In environments where the block size is smaller than the page\\nsize, this flaw can cause data corruption and leak uninitialized memory\\nbytes during the recovery process.\\n\\nFix these issues by correcting this byte offset calculation on the page.\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se resolvi\\u00f3 la siguiente vulnerabilidad: nilfs2: corrige la corrupci\\u00f3n de datos en la recuperaci\\u00f3n de bloques dsync para tama\\u00f1os de bloques peque\\u00f1os La funci\\u00f3n auxiliar nilfs_recovery_copy_block() de nilfs_recovery_dsync_blocks(), que recupera datos de los registros creados por escrituras de sincronizaci\\u00f3n de datos durante un montaje despu\\u00e9s un apagado incorrecto calcula incorrectamente el desplazamiento en la p\\u00e1gina al copiar los datos de reparaci\\u00f3n en la memoria cach\\u00e9 de la p\\u00e1gina del archivo. En entornos donde el tama\\u00f1o del bloque es menor que el tama\\u00f1o de la p\\u00e1gina, esta falla puede causar corrupci\\u00f3n de datos y p\\u00e9rdida de bytes de memoria no inicializados durante el proceso de recuperaci\\u00f3n. Solucione estos problemas corrigiendo este c\\u00e1lculo de desplazamiento de bytes en la p\\u00e1gina.\"}]",
      "id": "CVE-2024-26697",
      "lastModified": "2024-11-21T09:02:52.090",
      "published": "2024-04-03T15:15:52.880",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/120f7fa2008e3bd8b7680b4ab5df942decf60fd5\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/2000016bab499074e6248ea85aeea7dd762355d9\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/364a66be2abdcd4fd426ffa44d9b8f40aafb3caa\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/5278c3eb6bf5896417572b52adb6be9d26e92f65\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/67b8bcbaed4777871bb0dcc888fb02a614a98ab1\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/9c9c68d64fd3284f7097ed6ae057c8441f39fcd3\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/120f7fa2008e3bd8b7680b4ab5df942decf60fd5\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/2000016bab499074e6248ea85aeea7dd762355d9\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/364a66be2abdcd4fd426ffa44d9b8f40aafb3caa\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/5278c3eb6bf5896417572b52adb6be9d26e92f65\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/67b8bcbaed4777871bb0dcc888fb02a614a98ab1\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/9c9c68d64fd3284f7097ed6ae057c8441f39fcd3\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Awaiting Analysis"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-26697\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-04-03T15:15:52.880\",\"lastModified\":\"2026-08-04T11:16:57.093\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnilfs2: fix data corruption in dsync block recovery for small block sizes\\n\\nThe helper function nilfs_recovery_copy_block() of\\nnilfs_recovery_dsync_blocks(), which recovers data from logs created by\\ndata sync writes during a mount after an unclean shutdown, incorrectly\\ncalculates the on-page offset when copying repair data to the file\u0027s page\\ncache.  In environments where the block size is smaller than the page\\nsize, this flaw can cause data corruption and leak uninitialized memory\\nbytes during the recovery process.\\n\\nFix these issues by correcting this byte offset calculation on the page.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: nilfs2: corrige la corrupci\u00f3n de datos en la recuperaci\u00f3n de bloques dsync para tama\u00f1os de bloques peque\u00f1os La funci\u00f3n auxiliar nilfs_recovery_copy_block() de nilfs_recovery_dsync_blocks(), que recupera datos de los registros creados por escrituras de sincronizaci\u00f3n de datos durante un montaje despu\u00e9s un apagado incorrecto calcula incorrectamente el desplazamiento en la p\u00e1gina al copiar los datos de reparaci\u00f3n en la memoria cach\u00e9 de la p\u00e1gina del archivo. En entornos donde el tama\u00f1o del bloque es menor que el tama\u00f1o de la p\u00e1gina, esta falla puede causar corrupci\u00f3n de datos y p\u00e9rdida de bytes de memoria no inicializados durante el proceso de recuperaci\u00f3n. Solucione estos problemas corrigiendo este c\u00e1lculo de desplazamiento de bytes en la p\u00e1gina.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/nilfs2/recovery.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\",\"lessThan\":\"5278c3eb6bf5896417572b52adb6be9d26e92f65\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\",\"lessThan\":\"a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\",\"lessThan\":\"364a66be2abdcd4fd426ffa44d9b8f40aafb3caa\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\",\"lessThan\":\"120f7fa2008e3bd8b7680b4ab5df942decf60fd5\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\",\"lessThan\":\"9c9c68d64fd3284f7097ed6ae057c8441f39fcd3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\",\"lessThan\":\"2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\",\"lessThan\":\"2000016bab499074e6248ea85aeea7dd762355d9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\",\"lessThan\":\"67b8bcbaed4777871bb0dcc888fb02a614a98ab1\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/nilfs2/recovery.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.30\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.30\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.19.307\",\"lessThanOrEqual\":\"4.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.269\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.210\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.149\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.79\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.18\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.7.6\",\"lessThanOrEqual\":\"6.7.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.8\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"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-09-10T15:52:50.686290Z\",\"id\":\"CVE-2024-26697\",\"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\":\"CWE-787\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"4.19.307\",\"matchCriteriaId\":\"4B4E1A83-9957-4265-94C0-516374C8CCFD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"5.4.269\",\"matchCriteriaId\":\"319545F3-D56C-4751-BEBF-0505478BBAE8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.210\",\"matchCriteriaId\":\"F5CB4CA6-A9A0-4AFD-9102-8CF94D708170\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.149\",\"matchCriteriaId\":\"0D0465BB-4053-4E15-9137-6696EBAE90FD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.79\",\"matchCriteriaId\":\"656E2F29-1779-4EFC-AA64-8F984E2885B1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.6.18\",\"matchCriteriaId\":\"BD961E49-FEDA-47CF-BF23-4D2BD942B4E0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.7.6\",\"matchCriteriaId\":\"C6D6A5C8-7308-42A9-8A72-ABF3DEA4BB82\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"B9F4EA73-0894-400F-A490-3A397AB7A517\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"056BD938-0A27-4569-B391-30578B309EE3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"F02056A5-B362-4370-9FF8-6F0BD384D520\"}]}]},{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"07B237A9-69A3-4A9C-9DA0-4E06BD37AE73\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/120f7fa2008e3bd8b7680b4ab5df942decf60fd5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2000016bab499074e6248ea85aeea7dd762355d9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/364a66be2abdcd4fd426ffa44d9b8f40aafb3caa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5278c3eb6bf5896417572b52adb6be9d26e92f65\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/67b8bcbaed4777871bb0dcc888fb02a614a98ab1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9c9c68d64fd3284f7097ed6ae057c8441f39fcd3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/120f7fa2008e3bd8b7680b4ab5df942decf60fd5\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2000016bab499074e6248ea85aeea7dd762355d9\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/364a66be2abdcd4fd426ffa44d9b8f40aafb3caa\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5278c3eb6bf5896417572b52adb6be9d26e92f65\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/67b8bcbaed4777871bb0dcc888fb02a614a98ab1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9c9c68d64fd3284f7097ed6ae057c8441f39fcd3\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Mailing List\"]},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Mailing List\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-04T19:10:46+00:00",
      "cve": "CVE-2024-26697",
      "id": "CVE-2024-26697",
      "initial_release_date": "2024-04-03T00:00:00+00:00",
      "product_status:known_affected": "42",
      "product_status:known_not_affected": "156",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: nilfs2: fix data corruption in dsync block recovery for small block sizes",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-26697.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-07-25T01:56:56Z",
      "cve": "CVE-2024-26697",
      "id": "CVE-2024-26697",
      "initial_release_date": "2024-04-10T02:16:39Z",
      "product_status:known_affected": "394",
      "product_status:known_not_affected": "268",
      "product_status:recommended": "456",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-26697",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-26697.json",
      "version": "62"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/5278c3eb6bf5896417572b52adb6be9d26e92f65\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/364a66be2abdcd4fd426ffa44d9b8f40aafb3caa\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/120f7fa2008e3bd8b7680b4ab5df942decf60fd5\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/9c9c68d64fd3284f7097ed6ae057c8441f39fcd3\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/2000016bab499074e6248ea85aeea7dd762355d9\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/67b8bcbaed4777871bb0dcc888fb02a614a98ab1\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T00:14:12.662Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-26697\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T15:52:50.686290Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:16.970Z\"}}], \"cna\": {\"title\": \"nilfs2: fix data corruption in dsync block recovery for small block sizes\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The vulnerable code is only reachable by mounting a nilfs2 block device or image whose last logs are unclean data-sync logs, which requires local system access (removable media, loop device, or autofs/udisks handling). No network-facing service reaches `nilfs_do_roll_forward()`.\\nAC:L - The attacker fully controls the on-disk parameters that drive the defect \\u2014 block size (1K/2K via mkfs, guaranteeing blocksize \u003c PAGE_SIZE), `fi_ino`, `bi_blkoff`, and the log block placement that fixes `bh_offset(bh_org)` \\u2014 so the misdirected copy and the uninitialized target buffer occur deterministically on every mount, with no race or environmental precondition.\\nPR:L - nilfs2 registers as FS_REQUIRES_DEV without FS_USERNS_MOUNT, so unprivileged user namespaces do not grant the mount, but in the most severe realistic deployment (desktop/kiosk/embedded with udisks2 or autofs auto-mounting removable media, or an fstab `user` entry) an ordinary local user supplies the image and the mount happens on their behalf.\\nUI:N - The attacker inserts their own media or invokes the permitted mount themselves and then reads back the recovered file; no separate victim needs to take any action.\\nS:U - The disclosed memory and the corrupted data both belong to the same kernel security authority as the vulnerable code; no VM, IOMMU, or sandbox boundary is crossed.\\nC:H - Each recovered block leaves the intended buffer filled with stale contents of a freshly allocated page-cache page \\u2014 previously freed anonymous memory, other files\u0027 page cache, slab or page-table pages \\u2014 and `__block_commit_write()` marks it uptodate and dirty, so it becomes readable file data and is persisted to disk. The attacker can place an unbounded number of dsync recovery blocks in the crafted log and repeat the mount, turning this into a large-volume, groomable disclosure of kernel and other users\u0027 memory.\\nI:H - The recovered bytes are written to an attacker-chosen wrong offset in the folio while the intended block is filled with uninitialized memory and then marked dirty, permanently corrupting file contents on disk. Because `fi_ino` is unvalidated at this version, the attacker can direct this corruption at any inode, including directories and nilfs2 metadata files, so on-disk data and metadata integrity is fully lost.\\nA:H - The garbage injected into an attacker-selected inode\u0027s page cache is committed and written back, so directing it at the root directory or a metadata inode feeds corrupted entries into nilfs2\u0027s directory and btree parsers \\u2014 the same input class that produces the documented nilfs2 kernel BUG_ON/oops crashes \\u2014 and `nilfs_error()` renders the filesystem unusable (panic under `errors=panic`).\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\", \"lessThan\": \"5278c3eb6bf5896417572b52adb6be9d26e92f65\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\", \"lessThan\": \"a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\", \"lessThan\": \"364a66be2abdcd4fd426ffa44d9b8f40aafb3caa\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\", \"lessThan\": \"120f7fa2008e3bd8b7680b4ab5df942decf60fd5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\", \"lessThan\": \"9c9c68d64fd3284f7097ed6ae057c8441f39fcd3\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\", \"lessThan\": \"2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\", \"lessThan\": \"2000016bab499074e6248ea85aeea7dd762355d9\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b\", \"lessThan\": \"67b8bcbaed4777871bb0dcc888fb02a614a98ab1\", \"versionType\": \"git\"}], \"programFiles\": [\"fs/nilfs2/recovery.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"2.6.30\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"2.6.30\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.19.307\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.269\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.210\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.149\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.79\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.18\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.7.6\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.7.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"fs/nilfs2/recovery.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/5278c3eb6bf5896417572b52adb6be9d26e92f65\"}, {\"url\": \"https://git.kernel.org/stable/c/a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba\"}, {\"url\": \"https://git.kernel.org/stable/c/364a66be2abdcd4fd426ffa44d9b8f40aafb3caa\"}, {\"url\": \"https://git.kernel.org/stable/c/120f7fa2008e3bd8b7680b4ab5df942decf60fd5\"}, {\"url\": \"https://git.kernel.org/stable/c/9c9c68d64fd3284f7097ed6ae057c8441f39fcd3\"}, {\"url\": \"https://git.kernel.org/stable/c/2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d\"}, {\"url\": \"https://git.kernel.org/stable/c/2000016bab499074e6248ea85aeea7dd762355d9\"}, {\"url\": \"https://git.kernel.org/stable/c/67b8bcbaed4777871bb0dcc888fb02a614a98ab1\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnilfs2: fix data corruption in dsync block recovery for small block sizes\\n\\nThe helper function nilfs_recovery_copy_block() of\\nnilfs_recovery_dsync_blocks(), which recovers data from logs created by\\ndata sync writes during a mount after an unclean shutdown, incorrectly\\ncalculates the on-page offset when copying repair data to the file\u0027s page\\ncache.  In environments where the block size is smaller than the page\\nsize, this flaw can cause data corruption and leak uninitialized memory\\nbytes during the recovery process.\\n\\nFix these issues by correcting this byte offset calculation on the page.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.307\", \"versionStartIncluding\": \"2.6.30\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.269\", \"versionStartIncluding\": \"2.6.30\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.210\", \"versionStartIncluding\": \"2.6.30\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.149\", \"versionStartIncluding\": \"2.6.30\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.79\", \"versionStartIncluding\": \"2.6.30\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.18\", \"versionStartIncluding\": \"2.6.30\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.7.6\", \"versionStartIncluding\": \"2.6.30\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.8\", \"versionStartIncluding\": \"2.6.30\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T11:26:45.330Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-26697\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T11:26:45.330Z\", \"dateReserved\": \"2024-02-19T14:20:24.156Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-04-03T14:54:57.848Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



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…

Loading…