CVE-2024-42093

Source
https://cve.org/CVERecord?id=CVE-2024-42093
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42093.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42093
Downstream
Related
Published
2024-07-29T17:39:29.470Z
Modified
2026-03-14T12:35:15.617112Z
Summary
net/dpaa2: Avoid explicit cpumask var allocation on stack
Details

In the Linux kernel, the following vulnerability has been resolved:

net/dpaa2: Avoid explicit cpumask var allocation on stack

For CONFIGCPUMASKOFFSTACK=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 *cpumaskvar API(s) to allocate cpumask var in config-neutral way, leaving allocation strategy to CONFIGCPUMASK_OFFSTACK.

Use *cpumask_var API(s) to address it.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42093.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
93ddf0b211a0a0367d01c9587169c16ed77b4b98
Fixed
b2262b3be27cee334a2fa175ae3afb53f38fb0b1
Fixed
763896ab62a672d728f5eb10ac90d98c607a8509
Fixed
a55afc0f5f20ba30970aaf7271929dc00eee5e7d
Fixed
48147337d7efdea6ad6e49f5b8eb894b95868ef0
Fixed
69f49527aea12c23b78fb3d0a421950bf44fb4e2
Fixed
5e4f25091e6d06e99a23f724c839a58a8776a527
Fixed
d33fe1714a44ff540629b149d8fab4ac6967585c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42093.json"