nilfs2: fix potential oob read in nilfs_btree_check_delete() (Linux Linux)

CVE-2024-47757
HIGH 7.1

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 15 ()
É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 potential oob read in nilfs_btree_check_delete() The function nilfs_btree_check_delete(), which checks whether degeneration to direct mapping occurs before deleting a b-tree entry, causes memory access outside the block buffer when retrieving the maximum key if the root node has no entries. This does not usually happen because b-tree mappings with 0 child nodes are never created by mkfs.nilfs2 or nilfs2 itself. However, it can happen if the b-tree root node read from a device is configured that way, so fix this potential issue by adding a check for that case.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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 17c76b0104e4a6513983777e1a17e0297a12b0c4 < f3a9859767c7aea758976f5523903d247e585129 ; affected 17c76b0104e4a6513983777e1a17e0297a12b0c4 < ed76d381dae125b81d09934e365391a656249da8 ; affected 17c76b0104e4a6513983777e1a17e0297a12b0c4 < d20674f31626e0596ae4c1d9401dfb6739b81b58 ; affected 17c76b0104e4a6513983777e1a17e0297a12b0c4 < c4f8554996e8ada3be872dfb8f60e93bcf15fb27 ; affected 17c76b0104e4a6513983777e1a17e0297a12b0c4 < a8abfda768b9f33630cfbc4af6c4214f1e5681b0 ; affected 17c76b0104e4a6513983777e1a17e0297a12b0c4 < 257f9e5185eb6de83377caea686c306e22e871f2
Linux · Linuxaffected 2.6.30 ; unaffected 0 < 2.6.30 ; unaffected 4.19.323 ≤ 4.19.* ; unaffected 5.4.285 ≤ 5.4.* ; unaffected 5.10.227 ≤ 5.10.* ; unaffected 5.15.168 ≤ 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