Page MenuHomeFreeBSD

udp: Fix a use-after-free in udp_multi_input()
ClosedPublic

Authored by markj on Dec 15 2021, 5:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 8:31 PM
Unknown Object (File)
Nov 25 2024, 11:46 AM
Unknown Object (File)
Nov 14 2024, 12:58 AM
Unknown Object (File)
Oct 18 2024, 5:27 AM
Unknown Object (File)
Oct 10 2024, 3:41 AM
Unknown Object (File)
Sep 27 2024, 8:19 PM
Unknown Object (File)
Sep 26 2024, 5:34 AM
Unknown Object (File)
Sep 23 2024, 11:24 AM

Details

Summary

"ip" is a pointer into the mbuf chain, so we shouldn't access it after
the chain is freed.

Fix style at the call site.

Reported by: syzbot+7c8258509722af1b6145@syzkaller.appspotmail.com
Fixes: de2d47842e88 ("SMR protection for inpcbs")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable