Skip to content
Memory corruption Advisory Advanced CVE-2026-8560

Heap buffer overflow in SwiftShader (CVE-2026-8560)

A heap buffer overflow occurs in SwiftShader's Vulkan image copy when a crafted HTML page triggers a memcpy that reads beyond the allocated buffer. An attacker could potentially cause a crash or execute arbitrary code in the GPU process.

Cassidy Kim Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 2.2 years

tested os: ubuntu 22.04 tested chrome version: stable & dev

repro steps: ./chrome --user-data-dir=/tmp/xx7 --disable-gpu http://localhost:8000/crash.html

==1598117==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7efd9d6f3917 at pc 0x5589cea51a62 bp 0x7efd7c161f70 sp 0x7efd7c161730 READ of size 2336 at 0x7efd9d6f3917 thread T17 #0 0x5589cea51a61 in __asan_memcpy asan_rtl:3 #1 0x7efda5896041 in vk::Image::copy(void const*, void*, unsigned int, unsigned int, VkImageSubresourceLayers const&, VkOffset3D const&, VkExtent3D const&) ./../../third_party/swiftshader/src/Vulkan/VkImage.cpp:659:5 #2 0x7efda58966cc in vk::Image::copyFrom(vk::Buffer*, VkBufferImageCopy2 const&) ./../../third_party/swiftshader/src/Vulkan/VkImage.cpp:684:2 #3 0x7efda585bd72 in vk::CommandBuffer::submit(vk::CommandBuffer::ExecutionState&) ./../../third_party/swiftshader/src/Vulkan/VkCommandBuffer.cpp:2383:12 #4 0x7efda58b5e4f in vk::Queue::submitQueue(vk::Queue::Task const&) ./../../third_party/swiftshader/src/Vulkan/VkQueue.cpp:104:42 #5 0x7efda58b4fe0 in vk::Queue::taskLoop(marl::Scheduler*) ./../../third_party/swiftshader/src/Vulkan/VkQueue.cpp:156:4 #6 0x7efda58b8985 in __invoke<void (vk::Queue::)(marl::Scheduler ), vk::Queue , marl::Scheduler , void> ./../../third_party/libc++/src/include/__type_traits/invoke.h:118:25 #7 0x7efda58b8985 in __thread_execute<std::__Cr::unique_ptr<std::__Cr::__thread_struct, std::__Cr::default_deletestd::__Cr::__thread_struct >, void (vk::Queue::)(marl::Scheduler ), vk::Queue , marl::Scheduler , 2UL, 3UL> ./../../third_party/libc++/src/include/__thread/thread.h:193:3 #8 0x7efda58b8985 in void std::__Cr::__thread_proxy<std::__Cr::tuple<std::__Cr::unique_ptr<std::__Cr::__thread_struct, std::__Cr::default_deletestd::__Cr::__thread_struct>, void (vk::Queue::)(marl::Scheduler), vk::Queue, marl::Scheduler>>(void) ./../../third_party/libc++/src/include/__thread/thread.h:202:3 #9 0x5589cea516a8 in asan_thread_start(void*) asan_rtl:28

0x7efd9d6f3917 is located 0 bytes after 4194583-byte region [0x7efd9d2f3800,0x7efd9d6f3917) allocated by thread T0 (chrome) here: #0 0x5589cea53b0f in __interceptor_malloc asan_rtl:3 #1 0x7efda5d543fd in allocate ./../../third_party/swiftshader/src/System/Memory.cpp:81:42 #2 0x7efda5d543fd in sw::allocateZeroOrPoison(unsigned long, unsigned long) ./../../third_party/swiftshader/src/System/Memory.cpp:110:9 #3 0x7efda587c9a2 in vk::DeviceMemory::allocateBuffer() ./../../third_party/swiftshader/src/Vulkan/VkDeviceMemory.cpp:342:11 #4 0x7efda587b5d6 in allocate ./../../third_party/swiftshader/src/Vulkan/VkDeviceMemory.cpp:275:12 #5 0x7efda587b5d6 in vk::DeviceMemory::Allocate(VkAllocationCallbacks const*, VkMemoryAllocateInfo const*, VkNonDispatchableHandle<VkDeviceMemory_T*>, vk::Device) ./../../third_party/swiftshader/src/Vulkan/VkDeviceMemory.cpp:103:29 #6 0x7efda58d21b2 in vkAllocateMemory ./../../third_party/swiftshader/src/Vulkan/libVulkan.cpp:1382:20 #7 0x7efdb1ee8637 in allocate ./../../third_party/angle/src/libANGLE/renderer/vulkan/vk_wrapper.h:1497:12 #8 0x7efdb1ee8637 in rx::(anonymous namespace)::FindAndAllocateCompatibleMemory(rx::vk::Context*, rx::vk::MemoryAllocationType, rx::vk::MemoryProperties const&, unsigned int, unsigned int*, VkMemoryRequirements const&, void const*, unsigned int*, rx::vk::DeviceMemory*) ./../../third_party/angle/src/libANGLE/renderer/vulkan/vk_utils.cpp:112:40 #9 0x7efdb1ee4d9d in AllocateAndBindBufferOrImageMemoryrx::vk::Buffer ./../../third_party/angle/src/libANGLE/renderer/vulkan/vk_utils.cpp:188:5 #10 0x7efdb1ee4d9d in AllocateBufferOrImageMemoryrx::vk::Buffer ./../../third_party/angle/src/libANGLE/renderer/vulkan/vk_utils.cpp:212:5 #11 0x7efdb1ee4d9d in rx::vk::AllocateBufferMemory(rx::vk::Context*, rx::vk::MemoryAllocationType, unsigned int, unsigned int*, void const*, rx::vk::Buffer*, unsigned int*, rx::vk::DeviceMemory*, unsigned long*) ./../../third_party/angle/src/libANGLE/renderer/vulkan/vk_utils.cpp:562:12 #12 0x7efdb1e782d7 in rx::vk::BufferPool::allocateNewBuffer(rx::vk::Context*, unsigned long) ./../../third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:3426:5 #13 0x7efdb1e78f36 in rx::vk::BufferPool::allocateBuffer(rx::vk::Context*, unsigned long, unsigned long, rx::vk::BufferSuballocation*) ./../../third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:3547:5 #14 0x7efdb1e8b6ad in rx::vk::BufferHelper::initSuballocation(rx::vk::Context*, unsigned int, unsigned long, unsigned long, rx::BufferUsageType, rx::vk::BufferPool*) ./../../third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp:4934:5 #15 0x7efdb1c40663 in rx::ContextVk::initBufferAllocation(rx::vk::BufferHelper*, unsigned int, unsigned long, unsigned long, rx::BufferUsageType) ./../../third_party/angle/src/libANGLE/renderer/vulkan/ContextVk.cpp:7124:42 #16 0x7efdb1bd89ef in acquireBufferHelper ./../../third_party/angle/src/libANGLE/renderer/vulkan/BufferVk.cpp:1209:5 #17 0x7efdb1bd89ef in rx::BufferVk::setDataWithMemoryType(gl::Context const*, gl::BufferBinding, void const*, unsigned long, unsigned int, gl::BufferUsage) ./../../third_party/angle/src/libANGLE/renderer/vulkan/BufferVk.cpp:469:9 #18 0x7efdb1bd7ff1 in rx::BufferVk::setDataWithUsageFlags(gl::Context const*, gl::BufferBinding, void*, void const*, unsigned long, gl::BufferUsage, unsigned int) ./../../third_party/angle/src/libANGLE/renderer/vulkan/BufferVk.cpp:423:12 #19 0x7efdb1fc792b in gl::Buffer::bufferDataImpl(gl::Context*, gl::BufferBinding, void const*, long, gl::BufferUsage, unsigned int) ./../../third_party/angle/src/libANGLE/Buffer.cpp:159:16 #20 0x7efdb1fc7d39 in gl::Buffer::bufferData(gl::Context*, gl::BufferBinding, void const*, long, gl::BufferUsage) ./../../third_party/angle/src/libANGLE/Buffer.cpp:123:12 #21 0x5589e8198737 in gpu::gles2::GLES2DecoderPassthroughImpl::DoBufferData(unsigned int, long, void const*, unsigned int) ./../../gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc:666:10 #22 0x5589e814908d in gpu::error::Error gpu::gles2::GLES2DecoderPassthroughImpl::DoCommandsImpl<false>(unsigned int, void const volatile*, int, int*) ./../../gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc:737:20 #23 0x5589e86675bb in gpu::CommandBufferService::Flush(int, gpu::AsyncAPIInterface*) ./../../gpu/command_buffer/service/command_buffer_service.cc:232:35 #24 0x5589e8656b33 in gpu::CommandBufferStub::OnAsyncFlush(int, unsigned int, std::__Cr::vector<gpu::SyncToken, std::__Cr::allocatorgpu::SyncToken> const&) ./../../gpu/ipc/service/command_buffer_stub.cc:507:22 #25 0x5589e8656009 in gpu::CommandBufferStub::ExecuteDeferredRequest(gpu::mojom::DeferredCommandBufferRequestParams&) ./../../gpu/ipc/service/command_buffer_stub.cc:155:7 #26 0x5589e86728d1 in gpu::GpuChannel::ExecuteDeferredRequest(mojo::StructPtrgpu::mojom::DeferredRequestParams) ./../../gpu/ipc/service/gpu_channel.cc:874:13 #27 0x5589e8682066 in void base::internal::DecayedFunctorTraits<void (gpu::GpuChannel::)(mojo::StructPtrgpu::mojom::DeferredRequestParams), base::WeakPtrgpu::GpuChannel&&, mojo::StructPtrgpu::mojom::DeferredRequestParams&&>::Invoke<void (gpu::GpuChannel::)(mojo::StructPtrgpu::mojom::DeferredRequestParams), base::WeakPtrgpu::GpuChannel const&, mojo::StructPtrgpu::mojom::DeferredRequestParams>(void (gpu::GpuChannel::)(mojo::StructPtrgpu::mojom::DeferredRequestParams), base::WeakPtrgpu::GpuChannel const&, mojo::StructPtrgpu::mojom::DeferredRequestParams&&) ./../../base/functional/bind_internal.h:738:12 #28 0x5589e8681e4c in MakeItSo<void (gpu::GpuChannel::)(mojo::StructPtrgpu::mojom::DeferredRequestParams), std::__Cr::tuple<base::WeakPtrgpu::GpuChannel, mojo::StructPtrgpu::mojom::DeferredRequestParams > > ./../../base/functional/bind_internal.h:954:5 #29 0x5589e8681e4c in RunImpl<void (gpu::GpuChannel::)(mojo::StructPtrgpu::mojom::DeferredRequestParams), std::__Cr::tuple<base::WeakPtrgpu::GpuChannel, mojo::StructPtrgpu::mojom::DeferredRequestParams >, 0UL, 1UL> ./../../base/functional/bind_internal.h:1067:14 #30 0x5589e8681e4c in base::internal::Invoker<base::internal::FunctorTraits<void (gpu::GpuChannel::&&)(mojo::StructPtrgpu::mojom::DeferredRequestParams), base::WeakPtrgpu::GpuChannel&&, mojo::StructPtrgpu::mojom::DeferredRequestParams&&>, base::internal::BindState<true, true, false, void (gpu::GpuChannel::)(mojo::StructPtrgpu::mojom::DeferredRequestParams), base::WeakPtrgpu::GpuChannel, mojo::StructPtrgpu::mojom::DeferredRequestParams>, void ()>::RunOnce(base::internal::BindStateBase) ./../../base/functional/bind_internal.h:980:12 #31 0x5589e5472d2d in Run ./../../base/functional/callback.h:156:12 #32 0x5589e5472d2d in gpu::SchedulerDfs::ExecuteSequence(base::IdType<gpu::SyncPointOrderData, unsigned int, 0u, 1u>) ./../../gpu/command_buffer/service/scheduler_dfs.cc:740:24 #33 0x5589e5470c42 in gpu::SchedulerDfs::RunNextTask() ./../../gpu/command_buffer/service/scheduler_dfs.cc:665:3 #34 0x5589e5474833 in Invoke<void (gpu::SchedulerDfs::)(), gpu::SchedulerDfs > ./../../base/functional/bind_internal.h:738:12 #35 0x5589e5474833 in MakeItSo<void (gpu::SchedulerDfs::)(), std::__Cr::tuple<base::internal::UnretainedWrapper<gpu::SchedulerDfs, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0> > > ./../../base/functional/bind_internal.h:930:12 #36 0x5589e5474833 in RunImpl<void (gpu::SchedulerDfs::)(), std::__Cr::tuple<base::internal::UnretainedWrapper<gpu::SchedulerDfs, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0> >, 0UL> ./../../base/functional/bind_internal.h:1067:14 #37 0x5589e5474833 in base::internal::Invoker<base::internal::FunctorTraits<void (gpu::SchedulerDfs::&&)(), gpu::SchedulerDfs>, base::internal::BindState<true, true, false, void (gpu::SchedulerDfs::)(), base::internal::UnretainedWrapper<gpu::SchedulerDfs, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, void ()>::RunOnce(base::internal::BindStateBase) ./../../base/functional/bind_internal.h:980:12 #38 0x5589e04d8834 in Run ./../../base/functional/callback.h:156:12 #39 0x5589e04d8834 in base::TaskAnnotator::RunTaskImpl(base::PendingTask&) ./../../base/task/common/task_annotator.cc:202:34 #40 0x5589e053a11f in RunTask<(lambda at ../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:475:11)> ./../../base/task/common/task_annotator.h:89:5 #41 0x5589e053a11f in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::LazyNow*) ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:473:23 #42 0x5589e0539109 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:338:40 #43 0x5589e053aeda in non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() ./../../base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:0:0

Thread T17 created by T0 (chrome) here: #0 0x5589cea39981 in ___interceptor_pthread_create asan_rtl:3 #1 0x7efda58b522e in __libcpp_thread_create ./../../third_party/libc++/src/include/__thread/support/pthread.h:181:10 #2 0x7efda58b522e in std::__Cr::thread::thread<void (vk::Queue::)(marl::Scheduler), vk::Queue*, marl::Scheduler*&, 0>(void (vk::Queue::&&)(marl::Scheduler), vk::Queue*&&, marl::Scheduler*&) ./../../third_party/libc++/src/include/__thread/thread.h:212:14 #3 0x7efda58b4e7b in vk::Queue::Queue(vk::Device*, marl::Scheduler*) ./../../third_party/swiftshader/src/Vulkan/VkQueue.cpp:38:16 #4 0x7efda586e7ac in vk::Device::Device(VkDeviceCreateInfo const*, void*, vk::PhysicalDevice*, VkPhysicalDeviceFeatures const*, std::__Cr::shared_ptrmarl::Scheduler const&) ./../../third_party/swiftshader/src/Vulkan/VkDevice.cpp:139:26 #5 0x7efda58cf925 in DispatchableObject<const VkDeviceCreateInfo , void , vk::PhysicalDevice , const VkPhysicalDeviceFeatures , std::__Cr::shared_ptrmarl::Scheduler > ./../../third_party/swiftshader/src/Vulkan/VkObject.hpp:127:8 #6 0x7efda58cf925 in Create<vk::DispatchableObject<vk::Device, VkDevice_T >, VkDevice_T , VkDeviceCreateInfo, vk::PhysicalDevice , const VkPhysicalDeviceFeatures , std::__Cr::shared_ptrmarl::Scheduler > ./../../third_party/swiftshader/src/Vulkan/VkObject.hpp:65:34 #7 0x7efda58cf925 in VkResult vk::DispatchableObject<vk::Device, VkDevice_T>::Create<VkDeviceCreateInfo, vk::PhysicalDevice, VkPhysicalDeviceFeatures const, std::__Cr::shared_ptrmarl::Scheduler>(VkAllocationCallbacks const, VkDeviceCreateInfo const, VkDevice_T, vk::PhysicalDevice, VkPhysicalDeviceFeatures const*, std::__Cr::shared_ptrmarl::Scheduler) ./../../third_party/swiftshader/src/Vulkan/VkObject.hpp:147:10 #8 0x7efda58cf275 in vkCreateDevice ./../../third_party/swiftshader/src/Vulkan/libVulkan.cpp:1264:9 #9 0x7efd9e92d81a in terminator_CreateDevice ./../../third_party/vulkan-deps/vulkan-loader/src/loader/loader.c:5833:11 #10 0x7efd9e930dc5 in loader_create_device_chain ./../../third_party/vulkan-deps/vulkan-loader/src/loader/loader.c:4937:15 #11 0x7efd9e92f3d6 in loader_layer_create_device ./../../third_party/vulkan-deps/vulkan-loader/src/loader/loader.c:4317:11 #12 0x7efd9e944818 in vkCreateDevice ./../../third_party/vulkan-deps/vulkan-loader/src/loader/trampoline.c:1005:20 #13 0x7efdb1cd475f in rx::RendererVk::createDeviceAndQueue(rx::DisplayVk*, unsigned int) ./../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp:3490:5 #14 0x7efdb1ccfc97 in rx::RendererVk::initialize(rx::DisplayVk*, egl::Display*, char const*, char const*) ./../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp:1978:5 #15 0x7efdb1c598a2 in rx::DisplayVk::initialize(egl::Display*) ./../../third_party/angle/src/libANGLE/renderer/vulkan/DisplayVk.cpp:110:39 #16 0x7efdb1ef49d6 in rx::DisplayVkXcb::initialize(egl::Display*) ./../../third_party/angle/src/libANGLE/renderer/vulkan/linux/xcb/DisplayVkXcb.cpp:64:23 #17 0x7efdb2082e1b in egl::Display::initialize() ./../../third_party/angle/src/libANGLE/Display.cpp:1066:36 #18 0x7efdb1b7a7ef in egl::Initialize(egl::Thread*, egl::Display*, int*, int*) ./../../third_party/angle/src/libGLESv2/egl_stubs.cpp:514:5 #19 0x7efdb1b817eb in EGL_Initialize ./../../third_party/angle/src/libGLESv2/entry_points_egl_autogen.cpp:478:27 #20 0x5589e46a02dc in gl::GLDisplayEGL::InitializeDisplay(bool, std::__Cr::vector<gl::DisplayType, std::__Cr::allocatorgl::DisplayType>, gl::EGLDisplayPlatform, gl::GLDisplayEGL*) ./../../ui/gl/gl_display.cc:783:10 #21 0x5589e469e96f in gl::GLDisplayEGL::Initialize(bool, std::__Cr::vector<gl::DisplayType, std::__Cr::allocatorgl::DisplayType>, gl::EGLDisplayPlatform) ./../../ui/gl/gl_display.cc:673:8 #22 0x5589d0db7189 in ui::GLOzoneEGL::InitializeGLOneOffPlatform(bool, std::__Cr::vector<gl::DisplayType, std::__Cr::allocatorgl::DisplayType>, gl::GpuPreference) ./../../ui/ozone/common/gl_ozone_egl.cc:25:17 #23 0x5589e86976c7 in gl::init::InitializeGLOneOffPlatform(gl::GpuPreference) ./../../ui/gl/init/gl_initializer_ozone.cc:27:26 #24 0x5589e8695ddb in gl::init::InitializeGLOneOffPlatformImplementation(bool, bool, bool, gl::GpuPreference) ./../../ui/gl/init/gl_factory.cc:211:24 #25 0x5589e8695771 in gl::init::(anonymous namespace)::InitializeGLOneOffPlatformHelper(bool, gl::GpuPreference) ./../../ui/gl/init/gl_factory.cc:135:10 #26 0x5589e8695b0f in gl::init::InitializeGLNoExtensionsOneOff(bool, gl::GpuPreference) ./../../ui/gl/init/gl_factory.cc:166:10 #27 0x5589e86f74d2 in gpu::GpuInit::InitializeAndStartSandbox(base::CommandLine*, gpu::GpuPreferences const&) ./../../gpu/ipc/service/gpu_init.cc:443:18 #28 0x5589f6e36f28 in content::GpuMain(content::MainFunctionParams) ./../../content/gpu/gpu_main.cc:357:39 #29 0x5589ddbf8f98 in content::RunZygote(content::ContentMainDelegate*) ./../../content/app/content_main_runner_impl.cc:676:14 #30 0x5589ddbfa4c1 in content::RunOtherNamedProcessTypeMain(std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, content::MainFunctionParams, content::ContentMainDelegate*) ./../../content/app/content_main_runner_impl.cc:780:12 #31 0x5589ddbfceff in content::ContentMainRunnerImpl::Run() ./../../content/app/content_main_runner_impl.cc:1146:10 #32 0x5589ddbf72f0 in content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) ./../../content/app/content_main.cc:333:36 #33 0x5589ddbf796b in content::ContentMain(content::ContentMainParams) ./../../content/app/content_main.cc:346:10 #34 0x5589df0d3c4f in HeadlessChildMain ./../../headless/app/headless_shell.cc:195:12 #35 0x5589df0d3c4f in headless::HeadlessShellMain(content::ContentMainParams) ./../../headless/app/headless_shell.cc:256:5 #36 0x5589cea89da5 in ChromeMain ./../../chrome/app/chrome_main.cc:178:14 #37 0x7efdb9029d8f in __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16

SUMMARY: AddressSanitizer: heap-buffer-overflow (/home/pwn11/asan-linux-release/chrome+0xe55aa61) (BuildId: e96457291d9dde52) Shadow bytes around the buggy address: 0x7efd9d6f3680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7efd9d6f3700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7efd9d6f3780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7efd9d6f3800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7efd9d6f3880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7efd9d6f3900: 00 00[07]fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7efd9d6f3980: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7efd9d6f3a00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7efd9d6f3a80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7efd9d6f3b00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x7efd9d6f3b80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb

==1598117==ADDITIONAL INFO

==1598117==Note: Please include this section with the ASan report. Task trace:

==1598117==END OF ADDITIONAL INFO ==1598117==ABORTING

The original report as published on the Chromium issue tracker, by Cassidy Kim(@cassidy6564). Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a missing bounds check in SwiftShader's image copy routine when handling buffer-to-image copies, allowing a memcpy to read beyond the allocated buffer.

Impact

Could lead to a crash or potentially arbitrary code execution in the GPU process, though the text does not demonstrate full exploitation.

What the attacker needed

Victim visits a malicious page; Chrome with SwiftShader enabled

How it was found

  1. Launch Chrome with a specific user-data-dir and the --disable-gpu flag, pointing to a local crash.html file.
  2. The page triggers a buffer data upload and subsequent image copy in SwiftShader, leading to the overflow.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A heap buffer overflow is a memory safety bug where a program reads or writes past the end of a reserved memory area. Here, a web page causes the graphics component to copy more data than it should, which can crash the browser or let an attacker run their own code.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Cassidy Kim

View all

29 more disclosed reports, best first.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.