Page MenuHomeFreeBSD

icmp6: zero out pad space
ClosedPublic

Authored by kp on Thu, May 22, 12:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 13, 11:35 AM
Unknown Object (File)
Wed, Jun 11, 1:21 PM
Unknown Object (File)
Thu, Jun 5, 6:52 AM
Unknown Object (File)
Wed, Jun 4, 8:13 PM
Unknown Object (File)
Tue, Jun 3, 1:41 AM
Unknown Object (File)
Fri, May 30, 12:59 PM
Unknown Object (File)
Sat, May 24, 8:00 AM
Unknown Object (File)
Sat, May 24, 12:14 AM

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.Thu, May 22, 12:39 PM
zlei added a subscriber: zlei.

Looks good to me.

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