Page MenuHomeFreeBSD

icmp6: zero out pad space
ClosedPublic

Authored by kp on May 22 2025, 12:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 27, 12:23 AM
Unknown Object (File)
Fri, Sep 19, 12:34 AM
Unknown Object (File)
Wed, Sep 17, 11:28 AM
Unknown Object (File)
Sep 12 2025, 3:42 PM
Unknown Object (File)
Sep 2 2025, 8:29 AM
Unknown Object (File)
Jul 29 2025, 9:17 AM
Unknown Object (File)
Jul 29 2025, 7:34 AM
Unknown Object (File)
Jul 7 2025, 8:09 PM

Details

Summary

In icmp6_redirect_output() we potentially add padding, but failed to clear this
memory. This triggered a KMSAN panic during the sys/netinet/carp:unicast_v6
test.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

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

Event Timeline

kp requested review of this revision.May 22 2025, 12:39 PM
zlei added a subscriber: zlei.

Looks good to me.

This revision is now accepted and ready to land.May 22 2025, 2:24 PM
This revision was automatically updated to reflect the committed changes.