CVE-2024-53126

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-53126
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53126.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53126
Downstream
Related
Published
2024-12-04T15:15:12Z
Modified
2025-08-09T20:01:28Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

vdpa: solidrun: Fix UB bug with devres

In psnetopenpfbar() and snetopenvfbar() a string later passed to pcimiomapregions() is placed on the stack. Neither pcimiomapregions() 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().

References

Affected packages