net/dpaa2: Avoid explicit cpumask var allocation on stack (Linux Linux)

CVE-2024-42093
HIGH 7.3

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net/dpaa2: Avoid explicit cpumask var allocation on stack For CONFIG_CPUMASK_OFFSTACK=y kernel, explicit allocation of cpumask variable on stack is not recommended since it can cause potential stack overflow. Instead, kernel code should always use *cpumask_var API(s) to allocate cpumask var in config-neutral way, leaving allocation strategy to CONFIG_CPUMASK_OFFSTACK. Use *cpumask_var API(s) to address it.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 < b2262b3be27cee334a2fa175ae3afb53f38fb0b1 ; affected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 < 763896ab62a672d728f5eb10ac90d98c607a8509 ; affected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 < a55afc0f5f20ba30970aaf7271929dc00eee5e7d ; affected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 < 48147337d7efdea6ad6e49f5b8eb894b95868ef0 ; affected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 < 69f49527aea12c23b78fb3d0a421950bf44fb4e2 ; affected 93ddf0b211a0a0367d01c9587169c16ed77b4b98 < 5e4f25091e6d06e99a23f724c839a58a8776a527
Linux · Linuxaffected 4.16 ; unaffected 0 < 4.16 ; unaffected 5.4.279 ≤ 5.4.* ; unaffected 5.10.221 ≤ 5.10.* ; unaffected 5.15.162 ≤ 5.15.* ; unaffected 6.1.97 ≤ 6.1.*

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