Page MenuHomeFreeBSD

Improve error path in BBR
ClosedPublic

Authored by tuexen on Jun 27 2020, 1:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 10:12 AM
Unknown Object (File)
Jan 2 2024, 7:11 PM
Unknown Object (File)
Dec 20 2023, 8:01 AM
Unknown Object (File)
Sep 12 2023, 7:10 PM
Unknown Object (File)
Sep 7 2023, 2:31 PM
Unknown Object (File)
Sep 7 2023, 2:31 PM
Unknown Object (File)
Sep 7 2023, 2:30 PM
Unknown Object (File)
Sep 3 2023, 5:34 PM
Subscribers

Details

Summary

syzkaller found a bug in the BBR code. On an error path, the socket buffer was not unlocked. Free also on this path the allocated mbuf.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This mechanical change looks good to me. Just wondering is similar missing sbunlock would be in RACK or elsewhere in BBR. (but didn't spot anything obvious just now)

This revision is now accepted and ready to land.Jun 27 2020, 3:04 PM

This mechanical change looks good to me. Just wondering is similar missing sbunlock would be in RACK or elsewhere in BBR. (but didn't spot anything obvious just now)

syzkaller triggered the condition. I looked for other cases, but did not spot any. That doesn't mean that they don't exist... Maybe syzkaller will find other issue, I don't know. That is the reason why it it constantly running...