CVE-2022-50454
Last modified
CVE-2022-50454 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table() nouveau_bo_init() is backed by ttm_bo_init() and ferries its return code back to the caller. On failures, ttm will call nouveau_bo_del_ttm() and free the memory.Thus, when nouveau_bo_init() returns an error, the gem object has already been released. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table() nouveau_bo_init() is backed by ttm_bo_init() and ferries its return code back to the caller. On failures, ttm will call nouveau_bo_del_ttm() and free the memory.Thus, when nouveau_bo_init() returns an error, the gem object has already been released. Then the call to nouveau_bo_ref() will use the freed "nvbo->bo" and lead to a use-after-free bug. We should delete the call to nouveau_bo_ref() to avoid the use-after-free.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.4, < 5.4.220 |
| Linux | Linux Kernel | >= 5.5, < 5.10.150 |
| Linux | Linux Kernel | >= 5.11, < 5.15.75 |
| Linux | Linux Kernel | >= 5.16, < 5.19.17 |
| Linux | Linux Kernel | >= 6.0, < 6.0.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-50454?
How severe is CVE-2022-50454?
How do I fix CVE-2022-50454?
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 2022
- CVE-2022-50448In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50449In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50450Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2022-50451In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50452In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50453In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50455Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2022-50456In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50457In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50458In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50459In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50460In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-50454?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
