Page MenuHomeFreeBSD

icmp6: zero out pad space
ClosedPublic

Authored by kp on May 22 2025, 12:39 PM.
Tags
None
Referenced Files
F165689622: D50461.id155914.diff
Sun, Aug 9, 7:00 AM
Unknown Object (File)
Sat, Aug 8, 3:42 PM
Unknown Object (File)
Sat, Aug 8, 11:24 AM
Unknown Object (File)
Sat, Aug 8, 8:46 AM
Unknown Object (File)
Fri, Aug 7, 2:00 PM
Unknown Object (File)
Thu, Aug 6, 8:52 AM
Unknown Object (File)
Fri, Jul 31, 10:37 AM
Unknown Object (File)
Sat, Jul 25, 7:39 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 64348
Build 61232: arc lint + arc unit

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.