CVE-2024-42093

net/dpaa2: Avoid explicit cpumask var allocation on stack

State
Published
Severity
Not scored
Published
Jul 29, 2024
Updated
Oct 15, 2026
Reserved
Jul 29, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 93ddf0b211a0a0367d01c9587169c16ed77b4b98 to before b2262b3be27cee334a2fa175ae3afb53f38fb0b1Affected
  • 93ddf0b211a0a0367d01c9587169c16ed77b4b98 to before 763896ab62a672d728f5eb10ac90d98c607a8509Affected
  • 93ddf0b211a0a0367d01c9587169c16ed77b4b98 to before a55afc0f5f20ba30970aaf7271929dc00eee5e7dAffected
  • 93ddf0b211a0a0367d01c9587169c16ed77b4b98 to before 48147337d7efdea6ad6e49f5b8eb894b95868ef0Affected
  • 93ddf0b211a0a0367d01c9587169c16ed77b4b98 to before 69f49527aea12c23b78fb3d0a421950bf44fb4e2Affected
  • 93ddf0b211a0a0367d01c9587169c16ed77b4b98 to before 5e4f25091e6d06e99a23f724c839a58a8776a527Affected
  • 93ddf0b211a0a0367d01c9587169c16ed77b4b98 to before d33fe1714a44ff540629b149d8fab4ac6967585cAffected
LinuxLinux
  • 4.16Affected
  • before 4.16Not affected
  • 5.4.279 through 5.4.*Not affected
  • 5.10.221 through 5.10.*Not affected
  • 5.15.162 through 5.15.*Not affected
  • 6.1.97 through 6.1.*Not affected
  • 6.6.37 through 6.6.*Not affected
  • 6.9.8 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.