drm/nouveau: Fix gem reference leak in validate_init()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.18, 5.10.271, 5.15.222, 6.1.189, 6.6.158, and 3 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: Fix gem reference leak in validate_init() On the ttm_bo_reserve() failure and "vma not found" error paths, the loop breaks without adding the looked-up object to any validate list, so the reference taken by drm_gem_object_lookup() is never released; validate_fini() only walks the spliced lists. Drop the reference before breaking out on both paths.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 19ca10d82e33bcfe92412c461fc3534ec1e14747 · fixed in af2f48c12365866abb327d75c21a13bbde84719c; From 19ca10d82e33bcfe92412c461fc3534ec1e14747 · fixed in 3c80e069470cf73c357c9edb5ec5fba20e6f6a98; From 19ca10d82e33bcfe92412c461fc3534ec1e14747 · fixed in 957619120c26d6727efd18504e6b488673d3900a; From 19ca10d82e33bcfe92412c461fc3534ec1e14747 · fixed in 74485cdc343060fce08f8f3990da524d783e43a7; From 19ca10d82e33bcfe92412c461fc3534ec1e14747 · fixed in 8281930fc194ad448aaa5de8dd47fb6fb1cba327; From 19ca10d82e33bcfe92412c461fc3534ec1e14747 · fixed in 030e93fc91d55d9487b3b85fc0712bb795d77834; From 19ca10d82e33bcfe92412c461fc3534ec1e14747 · fixed in 9e13c398a23445baf38f0a59033dd9872a2bfe20; From 19ca10d82e33bcfe92412c461fc3534ec1e14747 · fixed in 5ea72f7b7139b123713a7983448f910bc4514d9e; From 4.17.12 · fixed in 4.18
- Linux Linux
4.18
- KernelLinux
From 4.18.0 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.55; From 6.19.0 · fixed in 7.2.9
References 8
git.kernel.org
- stable/c/af2f48c12365866abb327d75c21a13bbde84719c
- stable/c/3c80e069470cf73c357c9edb5ec5fba20e6f6a98
- stable/c/957619120c26d6727efd18504e6b488673d3900a
- stable/c/74485cdc343060fce08f8f3990da524d783e43a7
- stable/c/8281930fc194ad448aaa5de8dd47fb6fb1cba327
- stable/c/030e93fc91d55d9487b3b85fc0712bb795d77834
- stable/c/9e13c398a23445baf38f0a59033dd9872a2bfe20
- stable/c/5ea72f7b7139b123713a7983448f910bc4514d9e