Page MenuHomeFreeBSD

icmp6: zero out pad space
ClosedPublic

Authored by kp on May 22 2025, 12:39 PM.
Tags
None
Referenced Files
F132911913: D50461.diff
Tue, Oct 21, 3:04 AM
Unknown Object (File)
Sun, Oct 19, 10:14 PM
Unknown Object (File)
Sat, Oct 18, 9:31 PM
Unknown Object (File)
Sat, Sep 27, 12:23 AM
Unknown Object (File)
Sep 19 2025, 12:34 AM
Unknown Object (File)
Sep 17 2025, 11:28 AM
Unknown Object (File)
Sep 12 2025, 3:42 PM
Unknown Object (File)
Sep 2 2025, 8:29 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.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.