btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks() (Linux Linux)

CVE-2024-35936
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks() The unhandled case in btrfs_relocate_sys_chunks() loop is a corruption, as it could be caused only by two impossible conditions: - at first the search key is set up to look for a chunk tree item, with offset -1, this is an inexact search and the key->offset will contain the correct offset upon a successful search, a valid chunk tree item cannot have an offset -1 - after first successful search, the found_key corresponds to a chunk item, the offset is decremented by 1 before the next loop, it's impossible to find a chunk item there due to alignment and size constraints

Références

Scores

VersionScoreVecteurÉvalué par
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 2b82032c34ec40515d3c45c36cd1961f37977de8 < bebd9e0ff90034875c5dfe4bd514fd7055fc7a89 ; affected 2b82032c34ec40515d3c45c36cd1961f37977de8 < 576164bd01bd795f8b09fb194b493103506b33c9 ; affected 2b82032c34ec40515d3c45c36cd1961f37977de8 < 87299cdaae757f3f41212146cfb5b3af416b8385 ; affected 2b82032c34ec40515d3c45c36cd1961f37977de8 < d1ffa4ae2d591fdd40471074e79954ec45f147f7 ; affected 2b82032c34ec40515d3c45c36cd1961f37977de8 < 36c2a2863bc3896243eb724dc3fd4cf9aea633f2 ; affected 2b82032c34ec40515d3c45c36cd1961f37977de8 < 0d23b34c68c46cd225b55868bc8a269e3134816d
Linux · Linuxaffected 2.6.29 ; unaffected 0 < 2.6.29 ; unaffected 4.19.312 ≤ 4.19.* ; unaffected 5.4.274 ≤ 5.4.* ; unaffected 5.10.215 ≤ 5.10.* ; unaffected 5.15.155 ≤ 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