-
Notifications
You must be signed in to change notification settings - Fork 844
Clear random header value by AIO read error #8559
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ywkaras
approved these changes
Dec 17, 2021
bneradt
approved these changes
Dec 17, 2021
zwoop
pushed a commit
that referenced
this pull request
Jan 5, 2022
(cherry picked from commit 61c0fcc)
zwoop
pushed a commit
that referenced
this pull request
Jan 5, 2022
(cherry picked from commit 61c0fcc)
Contributor
|
Cherry-picked to v9.1.x branch. |
Member
|
If we want this for 8.x can we get a backport? |
masaori335
added a commit
to masaori335/trafficserver
that referenced
this pull request
Feb 7, 2022
(cherry picked from commit 61c0fcc)
Contributor
Author
ezelkow1
pushed a commit
that referenced
this pull request
Feb 7, 2022
moonchen
pushed a commit
to moonchen/trafficserver
that referenced
this pull request
Mar 17, 2022
* asf/9.2.x: Updated ChangeLog docs: fix fedora install notes and spelling issues (apache#8537) Docs: Fix default value of proxy.config.ssl.handshake_timeout_in (apache#8574) Partial of revert "Cleanup generated LDFLAGS for jemalloc (apache#8285)" (apache#8533) TSUserArg: add value type checking (apache#8550) Relax key validation of sni.yaml (apache#8549) Clear random header value by AIO read error (apache#8559) Fixes macOS arm64 builds (again) (apache#8556) Traffic Dump: Use the correct transaction user index (apache#8548) combo_handler: Initialize User Arg Index in TSRemapInit (apache#8551) backout down parent retry limiting in parent selection and nexthop (apache#8546)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #7865. We observed the crash loop on start-up with a bad disk.
Backtrace
Log
Conditions
Scenario
ET_NETthread,CacheDisk::openschedule AIO read to load disk header info intoDiskHeader *headermember.ET_AIOthread,cache_optry to read the disk but got an error (errno=61). When this error happens, the given buffer (header) has a random value.ET_NETthread,CacheDisk::openStarthandles the callback and declares it's a bad disk because of the result. It deletes theCacheDiskobject.CacheDiskdestructor refers to theheaderwhich has a random value on a loop and got heap-buffer-overflow.Affected Version
8.1.x, 9.0.x, and master