c251bb8d97
- Version bump to 6.1.38r86 released by Oracle September 02 2022 This is a maintenance release. The following items were fixed and/or added: GUI: Improvements in Native Language Support area Main: OVF Export: Added support for exporting VMs containing Virtio-SCSI controllers Recording settings: Fixed a regression which could cause not starting the COM server (VBoxSVC) under certain circumstances (bug #21034) Recording: More deterministic naming for recorded files (will now overwrite old .webm files if present) Linux Host and Guest Additions installer: Improved check for systemd presence in the system (bug #19033) Linux Guest Additions: Introduced initial support for kernel 6.0 Linux Guest Additions: Additional fixes for kernel RHEL 9.1 (bug #21065) Windows Guest Additions: Improvements in Drag and Drop area Fixes permission problem with /dev/vboxuser (boo#1203370) Fixes boo#1203306 - 6.1.38 is available Fixes missing firewall opening (boo#1203086) Fixes boo#1201720 CVE items for CVE-2022-21571, CVE-2022-21554 OBS-URL: https://build.opensuse.org/request/show/1004165 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=653
22 lines
885 B
Diff
22 lines
885 B
Diff
Index: VirtualBox-6.1.38/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
|
|
===================================================================
|
|
--- VirtualBox-6.1.38.orig/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
|
|
+++ VirtualBox-6.1.38/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
|
|
@@ -35,7 +35,7 @@
|
|
#include <iprt/assert.h>
|
|
#include <iprt/errcore.h>
|
|
#include "r0drv/alloc-r0drv.h"
|
|
-
|
|
+#include <linux/kmemleak.h>
|
|
|
|
#if (defined(RT_ARCH_AMD64) || defined(DOXYGEN_RUNNING)) && !defined(RTMEMALLOC_EXEC_HEAP)
|
|
# if RTLNX_VER_MIN(2,6,23) && RTLNX_VER_MAX(5,8,0) && !RTLNX_RHEL_MAJ_PREREQ(8,5)
|
|
@@ -296,6 +296,7 @@ DECLHIDDEN(int) rtR0MemAllocEx(size_t cb
|
|
fFlags &= ~RTMEMHDR_FLAG_KMALLOC;
|
|
pHdr = vmalloc(cb + sizeof(*pHdr));
|
|
}
|
|
+ kmemleak_not_leak(pHdr);
|
|
}
|
|
else
|
|
pHdr = vmalloc(cb + sizeof(*pHdr));
|