🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.hackers
Article #31

Re: The bhyve fix in 07c15b75f etc doesn't work....

#31
From: Mark Johnston
Date: Thu, 15 Oct 2026 17:08
52 lines
3473 bytes
On Wed, Oct 14, 2026 at 07:20:19PM -0700, Bakul Shah wrote:
> The commit log has this:
>     Security:       FreeBSD-SA-26:72.bhyve
>     Security:       CVE-2026-101311
>     Fixes:          fb51ddb20d57 ("bhyve: increase fbuf display resolution limit")
> 
> But this fails for non freebsd oses such as 9front, netbsd, ubuntu etc.
> with a message like this:

Indeed, the patch wasn't trying to fix this problem.

I looked a bit at why 9front can't boot and wrote this patch:
https://reviews.freebsd.org/D60748

Does it help for other guests?

> 
> Assertion failed: (error == 0), function modify_bar_registration, file /usr/src/usr.sbin/bhyve/pci_emul.c, line 708.
> fbuf frame buffer base: 0x267efbc00000 [sz 33554432]
> 
> [as well as leaves the filesystem in a bad state in netbsd, losing
>  a bunch of files the next time fsck is run]
> 
> See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290098
> 
> Prior to this fix I used to use this patch that made bhyve work
> for 9front,netbsd,ubuntu etc:
> 
> --- a/usr.sbin/bhyve/pci_fbuf.c
> +++ b/usr.sbin/bhyve/pci_fbuf.c
> @@ -71,10 +71,10 @@ static int fbuf_debug = 1;
> 
>  #define        DMEMSZ  128
> 
> -#define        FB_SIZE         (32*MB)
> +#define        FB_SIZE         (16*MB)
> 
> -#define COLS_MAX       3840
> -#define ROWS_MAX       2160
> +#define COLS_MAX       1920
> +#define ROWS_MAX       1200
> 
>  #define COLS_DEFAULT   1024
>  #define ROWS_DEFAULT   768
> 
> 
> 


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <atEIgu9sBTE-BYq6@nuc>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <28CFA7FD-5C20-4983-9401-995493F746A9@iitbombay.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Mark Johnston <markj@freebsd.org>
Newsgroups: muc.lists.freebsd.hackers
Subject: Re: The bhyve fix in 07c15b75f etc doesn't work....
Date: Thu, 15 Oct 2026 13:08:18 -0400
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-hackers@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <atEIgu9sBTE-BYq6@nuc>
References: <28CFA7FD-5C20-4983-9401-995493F746A9@iitbombay.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="3001"; mail-complaints-to="news-admin@muc.de"
X-Original-To: hackers@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1792084100;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references;
	bh=WrQ5aTLEQo+VDUCTAR35dWSbD8NF2eduGCtsdQfs+S4=;
	b=tvZ69+Hu9hVdn850gQb4roxjqC1SeEXRvkZBB8s1blOmT4IwdKVAB3E72uiJygNh6cT/Dp
	lAaOOnrYiNjb/RRxqc47cJD33dj/PaKc5co+Afdz57VQO+YS0NxoWd6WQLai+elGUp9YMr
	LdbnPx+WPuWfjuQnjYGI+YmS9Cuj+UcohwsEEmc0UQTFP847/O3TpwGpfjemOEh9p0cUfN
	RnRJhsoIshimDolDnzllCJQYaSGZntcmvoy0MbvlZm8pg+kGLoko8lIo0wllrsudEtuMvI
	0d9GDEa6feWQAHwrUwyzK4WZCx+AEJZczQRgHenRg7ZzD4Xt0YP00VLml7G+cQ==
Precedence: list
Content-Disposition: inline
In-Reply-To: <28CFA7FD-5C20-4983-9401-995493F746A9@iitbombay.org>
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes