jfs: Fix shift-out-of-bounds in dbDiscardAG (Linux Linux)

CVE-2024-44938
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: jfs: Fix shift-out-of-bounds in dbDiscardAG When searching for the next smaller log2 block, BLKSTOL2() returned 0, causing shift exponent -1 to be negative. This patch fixes the issue by exiting the loop directly when negative shift is found.

Faiblesses (CWE)

  • CWE-787 — Écriture hors limites

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 b40c2e665cd552eae5fbdbb878bc29a34357668e < bb7c605a754823b86dd74f6537ccb9d38a9dec5a ; affected b40c2e665cd552eae5fbdbb878bc29a34357668e < 4de2c04c3acd5b84f50b0d2f8f09e9b2f42374b9 ; affected b40c2e665cd552eae5fbdbb878bc29a34357668e < bd04a149e3a29e7f71b7956ed41dba34e42d539e ; affected b40c2e665cd552eae5fbdbb878bc29a34357668e < f650148b43949ca9e37e820804bb6026fff404f3 ; affected b40c2e665cd552eae5fbdbb878bc29a34357668e < 234e6ea0855cdb5673d54ecaf7dc5c78f3e84630 ; affected b40c2e665cd552eae5fbdbb878bc29a34357668e < 7063b80268e2593e58bee8a8d709c2f3ff93e2f2
Linux · Linuxaffected 3.7 ; unaffected 0 < 3.7 ; unaffected 5.10.237 ≤ 5.10.* ; unaffected 5.15.181 ≤ 5.15.* ; unaffected 6.1.107 ≤ 6.1.* ; unaffected 6.6.47 ≤ 6.6.*

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