CVE-2024-53126
Last modified
CVE-2024-53126 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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().. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
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().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | <= 6.3 |
| Linux | Linux Kernel | >= 6.6.0, < 6.6.63 |
| Linux | Linux Kernel | >= 6.11.0, < 6.11.10 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-53126?
How severe is CVE-2024-53126?
How do I fix CVE-2024-53126?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-53120In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-53121In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-53122In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-53123In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-53124In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-53125In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-53127In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-53128In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-53129In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5313CWE-668: Exposure of the Resource Wrong Sphere vulnerability…6.5
- CVE-2024-53130In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-53131In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-53126?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
