net: wwan: iosm: Fix tainted pointer delete is case of region creation fail (Linux Linux)

CVE-2024-40939
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: net: wwan: iosm: Fix tainted pointer delete is case of region creation fail In case of region creation fail in ipc_devlink_create_region(), previously created regions delete process starts from tainted pointer which actually holds error code value. Fix this bug by decreasing region index before delete. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

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: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 4dcd183fbd67b105decc8be262311937730ccdbf < fe394d59cdae81389dbf995e87c83c1acd120597 ; affected 4dcd183fbd67b105decc8be262311937730ccdbf < 040d9384870386eb5dc55472ac573ac7756b2050 ; affected 4dcd183fbd67b105decc8be262311937730ccdbf < 37a438704d19bdbe246d51d3749b6b3a8fe65afd ; affected 4dcd183fbd67b105decc8be262311937730ccdbf < b0c9a26435413b81799047a7be53255640432547
Linux · Linuxaffected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.95 ≤ 6.1.* ; unaffected 6.6.35 ≤ 6.6.* ; unaffected 6.9.6 ≤ 6.9.* ; unaffected 6.10 ≤ *

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