CVE-2024-40939

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

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 18 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
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