CVE-2024-26697
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-devel | Amazon Linux | 4.14.343-259.562.amzn2 |
| kernel-tools-devel | Amazon Linux | 4.14.343-259.562.amzn2 |
| kernel-tools | Amazon Linux | 4.14.343-259.562.amzn2 |
| perf | Amazon Linux | 4.14.343-259.562.amzn2 |
| linux_kernel | linux | 6.7.6, 6.6.18, 6.1.79, 5.15.149, 5.10.210, 5.4.269, 4.19.307 |
| Linux | Linux | a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba, 9c9c68d64fd3284f7097ed6ae057c8441f39fcd3, 67b8bcbaed4777871bb0dcc888fb02a614a98ab1, 5278c3eb6bf5896417572b52adb6be9d26e92f65, 364a66be2abdcd4fd426ffa44d9b8f40aafb3caa, 2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d, 2000016bab499074e6248ea85aeea7dd762355d9, 120f7fa2008e3bd8b7680b4ab5df942decf60fd5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b |
| Linux | Linux | 2.6.30, 0, 4.19.307 |
| amazon:2 | kernel-devel | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | perf | 0 |
| Linux | Linux | 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b, 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b |
| linux | linux_kernel | 2.6.30, 2.6.30, 2.6.30 |
| amazon:2 | python-perf | 0 |
| amazon:2 | kernel | 0 |
| amazon:2 | kernel-livepatch-4.14.343-259.562 | 0 |
| amazon:2 | kernel-headers | 0 |
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