VDB

CVE-2024-26697

CVE-2024-26697 PUBLISHED CVSS 7.8 HIGH

nilfs2: fix data corruption in dsync block recovery for small block sizes

Reported by linux · Published April 3, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-develAmazon Linux4.14.343-259.562.amzn2
kernel-tools-develAmazon Linux4.14.343-259.562.amzn2
kernel-toolsAmazon Linux4.14.343-259.562.amzn2
perfAmazon Linux4.14.343-259.562.amzn2
linux_kernellinux6.7.6, 6.6.18, 6.1.79, 5.15.149, 5.10.210, 5.4.269, 4.19.307
LinuxLinuxa6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba, 9c9c68d64fd3284f7097ed6ae057c8441f39fcd3, 67b8bcbaed4777871bb0dcc888fb02a614a98ab1, 5278c3eb6bf5896417572b52adb6be9d26e92f65, 364a66be2abdcd4fd426ffa44d9b8f40aafb3caa, 2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d, 2000016bab499074e6248ea85aeea7dd762355d9, 120f7fa2008e3bd8b7680b4ab5df942decf60fd5

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b
LinuxLinux2.6.30, 0, 4.19.307
amazon:2kernel-devel0
amazon:2kernel-tools-devel0
amazon:2kernel-tools0
amazon:2perf0
LinuxLinux0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b
linuxlinux_kernel2.6.30, 2.6.30, 2.6.30
amazon:2python-perf0
amazon:2kernel0
amazon:2kernel-livepatch-4.14.343-259.5620
amazon:2kernel-headers0

Timeline

  • Apr 1, 2024 CVE Published
  • Apr 4, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Jan 15, 2026 Security Advisory (261 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (224 in total, the first dated here)
  • Aug 4, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-26697
vulnetix vdb fixes CVE-2024-26697

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26697/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›