udf: Fix NULL pointer dereference in udf_symlink function (Linux Linux)

CVE-2021-47353
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.31 % · centile 24 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: udf: Fix NULL pointer dereference in udf_symlink function In function udf_symlink, epos.bh is assigned with the value returned by udf_tgetblk. The function udf_tgetblk is defined in udf/misc.c and returns the value of sb_getblk function that could be NULL. Then, epos.bh is used without any check, causing a possible NULL pointer dereference when sb_getblk fails. This fix adds a check to validate the value of epos.bh.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

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 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2f3d9ddd32a28803baa547e6274983b67d5e287c ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 371566f63cbd0bb6fbb25b8fe9d5798268d35af9 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < baea588a42d675e35daeaddd10fbc9700550bc4d ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3638705ecd5ad2785e996f820121c0ad15ce64b5 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 80d505aee6398cf8beb72475c7edcf1733c1c68b ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 21bf1414580c36ffc8d8de043beb3508cf812238
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 4.4.276 ≤ 4.4.* ; unaffected 4.9.276 ≤ 4.9.* ; unaffected 4.14.240 ≤ 4.14.* ; unaffected 4.19.198 ≤ 4.19.*

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