CVE-2024-53126

CVE-2024-53126

High · published December 4, 2024

CVSS v3.1
7.1
EPSS
0%
Percentile
11.2
In the wild
Unconfirmed
What it is

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

vdpa: solidrun: Fix UB bug with devres

In psnet_open_pf_bar() and snet_open_vf_bar() a string later passed to

pcim_iomap_regions() is placed on the stack. Neither

pcim_iomap_regions() nor the functions it calls copy that string.

Should the string later ever be used, this, consequently, causes

undefined behavior since the stack frame will by then have disappeared.

Fix the bug by allocating the strings on the heap through

devm_kasprintf().

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00214 · 11.2th percentile
Published
2024-12-04T20:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≤ 6.3—
linux/linux_kernel≥ 6.6.0, < 6.6.636.6.63
linux/linux_kernel≥ 6.11.0, < 6.11.106.11.10
References (3)
EPSS history
Timeline
  • 04 DEC 14:20Z
    vdpa: solidrun: Fix UB bug with devres
    cvelistv5