[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [kernel-6.5-bug] with xen-4.18~rc4 on ub-24.04 noble, booting xen domU shows UBSAN errors in blkback & netback drivers
- To: Pry Mar <pryorm09@xxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 7 Nov 2023 12:00:23 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yUtrHl5GZ+XbFWRlfnP4En26J6IcjoeFNeHpwOkYt0c=; b=NupcpqBv713dlYIVHy+DjUi0oLd3CVrKl0nvhIOBQzTX3OmpPKUx6XoHz5nnFC7LQRYAYtHfA4RMmV7a/Dxf71gEmY08m4v2fqXfdWXQTmNXknnOnez21jfyKC8fWkLrErdd+HIfGf6ymAIqo5qbnh05UrICbS+Kb6w/yp5hL+eB/W3T1OfHsmukrfKwhkRthnHC6Dez0DpvbbELQZ1bj0JIwkrSMX1n3jeOdMDR8ldEe/tuohur3sDCzzWDgomjtiTOAmYRpAwM20SiV9qQHwzn0rnMVOJF7STUul8GSjS5mbshP39JsPAHIk9Cw2Qb3JWJaMRmCvLDr0jsS2r4Vw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZXWMgpb2sG1UV/1E2wgIIajMvLF8WylHk2Cbmjf48ogZaUIaiesBXLXlHTHbakNQrSwggseT4Gl6GcYyh4tbRNPsdVBs7gFZSzs4NUYniugjAl2FNBXlhw/79gFiHm5/UzLntbcx+1W0ovGqb9g+WvGqElp4K106zKf26lqX/AN3azEcxB2L8J/Be5cdqVNlZM+zkMPExktPhvRkMVcinJRNkc/8e6Rh7NevbKqrtniY4ndtPJOT/2SOINGfUkbNf4jxKmWYbgIUUlHuvvseKl3i+2NMmsYopkZQD+/qcy0nQVppQs8tdkGPwB5NESgqM9BkcjkWhG4kQ+tq9vtNtQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Tue, 07 Nov 2023 11:00:37 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 06.11.2023 20:20, Pry Mar wrote:
> These 2 errors show in dmesg late in boot process when xen domU launch:
> 1) blkback
> UBSAN: array-index-out-of-bounds in
> /build/linux-D15vQj/linux-6.5.0/drivers/block/xen-blkback/blkback.c:1227:4
>
> 2) netback
> [ 55.209063] UBSAN: array-index-out-of-bounds in
> /build/linux-D15vQj/linux-6.5.0/drivers/net/xen-netback/netback.c:289:3
> [ 55.209268] index 3 is out of range for type 'xen_netif_tx_sring_entry
> [1]'
> [ 55.209401] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.5.0-9-generic
> #9-Ubuntu
>
> The xen sources don't seem to generate these UBSAN errors and I included
> the patch from staging-4.18. It seems only the xen related kernel drivers
> are
> doing UBSAN errors.
While I have to admit that I find your report a little confusing, I kind of
guess that what you're reporting would be addressed by
https://lists.xen.org/archives/html/xen-devel/2023-07/msg01837.html (once
it was put in suitable shape to be committed, and once it was then further
pulled over into the Linux tree).
Jan
|