Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2023 00:02:18 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Cc:        Current FreeBSD <freebsd-current@freebsd.org>, Kyle Evans <kevans@FreeBSD.org>
Subject:   sys/net/if_lagg_test:status_stress can lead to use-after-free in main (both before and after stable/14 was created), at least on aarch64
Message-ID:  <1A90A03B-0B48-4A74-A10C-BD871514460D@yahoo.com>
References:  <1A90A03B-0B48-4A74-A10C-BD871514460D.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273081#c5
and the backtrace in the prior comment.

The test context is aarch64.

Kyle Evans provided a kgdb patch for devel/gdb for aarch64 that
that finally let me track this down to the level of detail on
how to interpret the register values reported vs. what code
involved using the value.

I will say that I've not managed to produce the crash with
14.0-BETA1. But I have produced the crash in my personal
non-debug kernel builds and with the main snapshots dd'd to
media and booted and used.

===
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1A90A03B-0B48-4A74-A10C-BD871514460D>