jfs: fix out-of-bounds in dbNextAG() and diAlloc() (Linux Linux)

CVE-2024-47723
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.29 % · centile 21 ()
É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 out-of-bounds in dbNextAG() and diAlloc() In dbNextAG() , there is no check for the case where bmp->db_numag is greater or same than MAXAG due to a polluted image, which causes an out-of-bounds. Therefore, a bounds check should be added in dbMount(). And in dbNextAG(), a check for the case where agpref is greater than bmp->db_numag should be added, so an out-of-bounds exception should be prevented. Additionally, a check for the case where agno is greater or same than MAXAG should be added in diAlloc() to prevent out-of-bounds.

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.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 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5ad6284c8d433f8a213111c5c44ead4d9705b622 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 0338e66cba272351ca9d7d03f3628e390e70963b ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < ead82533278502428883085a787d5a00f15e5eb9 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6ce8b6ab44a8b5918c0ee373d4ad19d19017931b ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; 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