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

CVE-2024-26697
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.26 % · centile 18 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

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.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b < 5278c3eb6bf5896417572b52adb6be9d26e92f65 ; affected 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b < a6efe6dbaaf504f5b3f8a5c3f711fe54e7dda0ba ; affected 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b < 364a66be2abdcd4fd426ffa44d9b8f40aafb3caa ; affected 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b < 120f7fa2008e3bd8b7680b4ab5df942decf60fd5 ; affected 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b < 9c9c68d64fd3284f7097ed6ae057c8441f39fcd3 ; affected 0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b < 2e1480538ef60bfee5473dfe02b1ecbaf1a4aa0d
Linux · Linuxaffected 2.6.30 ; unaffected 0 < 2.6.30 ; unaffected 4.19.307 ≤ 4.19.* ; unaffected 5.4.269 ≤ 5.4.* ; unaffected 5.10.210 ≤ 5.10.* ; unaffected 5.15.149 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD