-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[C++][Acero] ASAN reports heap buffer overflow in arrow::compute::Hashing32::ProcessStripes_avx2
#39778
Labels
Component: C++
Critical Fix
Bugfixes for security vulnerabilities, crashes, or invalid data.
Type: bug
Milestone
Comments
Managed to reproduce with the following UT:
Trying to fix. |
take |
pitrou
pushed a commit
that referenced
this issue
Jan 26, 2024
…h avx2 (#39800) ### Rationale for this change Issue #39778 seems caused by a careless (but hard to spot) bug in key hash avx2. ### What changes are included in this PR? Fix the careless bug. ### Are these changes tested? UT included. ### Are there any user-facing changes? No. * Closes: #39778 Authored-by: Ruoxi Sun <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
dgreiss
pushed a commit
to dgreiss/arrow
that referenced
this issue
Feb 19, 2024
…ey hash avx2 (apache#39800) ### Rationale for this change Issue apache#39778 seems caused by a careless (but hard to spot) bug in key hash avx2. ### What changes are included in this PR? Fix the careless bug. ### Are these changes tested? UT included. ### Are there any user-facing changes? No. * Closes: apache#39778 Authored-by: Ruoxi Sun <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
raulcd
pushed a commit
that referenced
this issue
Feb 20, 2024
…h avx2 (#39800) ### Rationale for this change Issue #39778 seems caused by a careless (but hard to spot) bug in key hash avx2. ### What changes are included in this PR? Fix the careless bug. ### Are these changes tested? UT included. ### Are there any user-facing changes? No. * Closes: #39778 Authored-by: Ruoxi Sun <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
amoeba
added
the
Critical Fix
Bugfixes for security vulnerabilities, crashes, or invalid data.
label
Feb 27, 2024
zanmato1984
added a commit
to zanmato1984/arrow
that referenced
this issue
Feb 28, 2024
…ey hash avx2 (apache#39800) ### Rationale for this change Issue apache#39778 seems caused by a careless (but hard to spot) bug in key hash avx2. ### What changes are included in this PR? Fix the careless bug. ### Are these changes tested? UT included. ### Are there any user-facing changes? No. * Closes: apache#39778 Authored-by: Ruoxi Sun <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
thisisnic
pushed a commit
to thisisnic/arrow
that referenced
this issue
Mar 8, 2024
…ey hash avx2 (apache#39800) ### Rationale for this change Issue apache#39778 seems caused by a careless (but hard to spot) bug in key hash avx2. ### What changes are included in this PR? Fix the careless bug. ### Are these changes tested? UT included. ### Are there any user-facing changes? No. * Closes: apache#39778 Authored-by: Ruoxi Sun <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component: C++
Critical Fix
Bugfixes for security vulnerabilities, crashes, or invalid data.
Type: bug
Describe the bug, including details regarding any error messages, version, and platform.
Similar to #39577, only that this can be only observed on Intel chips. As I believe the bug lies in
avx2
code path.Hardware
Intel i9
OS
macOS Sonoma 14.2.1 (23C71)
Version
3fe598a
Reproduce
Change test
HashJoin.Random
code to run more times, e.g.1000
:arrow/cpp/src/arrow/acero/hash_join_node_test.cc
Line 981 in 3fe598a
Build with ASAN enabled and all allocators disabled:
Run specific test:
Result:
Component(s)
C++
The text was updated successfully, but these errors were encountered: