ring-buffer: Fix possible dereference of uninitialized pointer
- 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 6.12.114, 6.18.16, 6.19.6
- 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: ring-buffer: Fix possible dereference of uninitialized pointer There is a pointer head_page in rb_meta_validate_events() which is not initialized at the beginning of a function. This pointer can be dereferenced if there is a failure during reader page validation. In this case the control is passed to "invalid" label where the pointer is dereferenced in a loop. To fix the issue initialize orig_head and head_page before calling rb_validate_buffer. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 5f3b6e839f3ceb8d6ef02231ba9b5aca71b8bf55 · fixed in a4afdff9c715af50cf6c3f2dc601932c2cea17a2; From 5f3b6e839f3ceb8d6ef02231ba9b5aca71b8bf55 · fixed in bc77986f3cb7476637052edf2d87137fa39f153d; From 5f3b6e839f3ceb8d6ef02231ba9b5aca71b8bf55 · fixed in d9942396845fef2369478c157b26738fe07142f6; From 5f3b6e839f3ceb8d6ef02231ba9b5aca71b8bf55 · fixed in f1547779402c4cd67755c33616b7203baa88420b
- Linux Linux
6.12
- KernelLinux
From 6.12.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.16; From 6.19.0 · fixed in 6.19.6