-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
isisd: fix crash when reading asla #16718
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible to see the backtrace of the crash?
b9f80d9
to
4a93aa2
Compare
It was reported to me on slack. I have no backtrace |
@Mergifyio backport stable/10.1 stable/10.0 stable/9.1 stable/9.0 |
✅ Backports have been created
|
@louis-6wind I pointed out the backtrace to @ton31337 in slack. I don't believe you necessarily need a stack trace for this crash but if you do as well, I will send it to you in slack |
No I am fine without the backtrace. Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
isisd is crashing when reading a ASLA sub-TLV with Application Identifier Bit Mask length greater than 1 octet. Set a limit of 8 bytes in accordance with RFC9479 and check that the received value does not exceed the limit. Reported-by: Iggy Frankovic <[email protected]> Link: https://www.rfc-editor.org/rfc/rfc9479.html#name-application-identifier-bit- Fixes: 5749ac8 ("isisd: add ASLA support") Signed-off-by: Louis Scalbert <[email protected]>
4a93aa2
to
f1bc6c5
Compare
@ton31337 are we waiting on something here, or can I push this? |
Waiting to be confirmed by the reporter. |
It was confimed on slack: https://frrouting.slack.com/archives/C07KB1HFG9G/p1725377157093039 Iggy [17 h 25] |
Then ✌️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
isisd: fix crash when reading asla (backport #16718)
isisd: fix crash when reading asla (backport #16718)
isisd: fix crash when reading asla (backport #16718)
isisd: fix crash when reading asla (backport #16718)
isisd is crashing when reading a ASLA sub-TLV with Application Identifier Bit Mask length greater than 1 octet.
Set a limit of 8 bytes in accordance with RFC9479 and check that the received value does not exceed the limit.
Link: https://www.rfc-editor.org/rfc/rfc9479.html#name-application-identifier-bit-
Fixes: 5749ac8 ("isisd: add ASLA support")