Skip to content

Add advisory for vku VMABuffer::set_data unsoundness#2849

Open
sisy2020 wants to merge 2 commits into
rustsec:mainfrom
sisy2020:add-vku-set-data-advisory
Open

Add advisory for vku VMABuffer::set_data unsoundness#2849
sisy2020 wants to merge 2 commits into
rustsec:mainfrom
sisy2020:add-vku-set-data-advisory

Conversation

@sisy2020
Copy link
Copy Markdown

This PR adds an informational RustSec advisory for an unsound safe API in vku.

VMABuffer::set_data accepted an arbitrary offset and used it in unsafe pointer arithmetic before copying data into a mapped allocation. A safe caller could trigger an out-of-bounds write.

Upstream issue: ArrowMaxGithub/vku#5
Fix commit: ArrowMaxGithub/vku@ce02c19
Patched version: 0.4.0

@djc
Copy link
Copy Markdown
Member

djc commented May 12, 2026

Please obtain approval from the maintainer when submitting advisories.

@ArrowMaxGithub
Copy link
Copy Markdown

While I feel humbled that my personal side-project gets any attention, I don't think this advisory is warranted.
It's very much WIP with zero dependents on crates.io and a clear warning to any hypothetical downstream users inside the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants