Summary: | [memguard] page 0xfffffe0037728000 is not freed | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Peter Holm <pho> | ||||
Component: | kern | Assignee: | Mark Johnston <markj> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | markj | ||||
Priority: | --- | Keywords: | crash | ||||
Version: | CURRENT | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Peter Holm
![]() ![]() Created attachment 237459 [details]
proposed patch
The attached patch fixes the problem for me.
Works for me. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=2dba2288aa364c36c756770ac77590816b15d954 commit 2dba2288aa364c36c756770ac77590816b15d954 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-10-19 18:27:49 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2022-10-19 18:36:36 +0000 uma: Never pass cache zones to memguard Items allocated from cache zones cannot usefully be protected by memguard. PR: 267151 Reported and tested by: pho MFC after: 1 week sys/vm/uma_core.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=5019af2e87438bb51c8d345e496418841b680e88 commit 5019af2e87438bb51c8d345e496418841b680e88 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-10-19 18:27:49 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2022-10-26 00:35:31 +0000 uma: Never pass cache zones to memguard Items allocated from cache zones cannot usefully be protected by memguard. PR: 267151 Reported and tested by: pho (cherry picked from commit 2dba2288aa364c36c756770ac77590816b15d954) sys/vm/uma_core.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) |