From nobody Thu May 23 08:12:39 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VlLWW3yklz5L9qK for ; Thu, 23 May 2024 08:12:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VlLWW1c63z4gmQ for ; Thu, 23 May 2024 08:12:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716451959; a=rsa-sha256; cv=none; b=A2cqWTRhvCAceHH8a6FF1Qr/Hj8eCMp2Hn16iF2ojDhm9s/K0XTo0eh8WrSL8UGpWJXB/W SnVDd7Mu8v4zXEelDttlQ8HEOLjN7sH0Y2GtOqlFI9+/xD2ectX3gQFLzZuXWLftKxNNjk 6+VVnmE2n8E5q8eUZQK6e+Jyl68CWWS69rwuoIHl4CQfeZBbwyvkMePeLYV2lbYKhlwJw6 FdEkSJRohMptJghjc0sXKTG120UFoVTVM8eNKVYrHEtHiyDlCSQQTHEzJllvlr7FpF78xB YEiHuQxwpzuSFuk1ksdkh/vM0OFiZi4ogz5w+Fe0VCpZWa6FWIEBjtOu5kCTkg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716451959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SJR0M2k2eNi8qvAxOnSFkupi+pvALq9qRXaV3rjDtWQ=; b=aFkL4Z7xuQVW/kgc52+ozdt5Ui5o8blRBN/P34GQv0o53GcvYdI2dMOSKWG6vUQG85PAqV 1nCKHTQtzTZMWFmIaTIuWF6dfduMf17c0UUCCxSoFS6aHwBfhAYocQKKZy+vx/Kf5tvj43 CNwOXl5hho5Bs4+PWQvS6zzjMzEckpMm2ykzWTWnQJgpj1MoCEThJ+JRsswexUJKTRmPgE /5WQlx5uqolIsPrNwjGbofqfe25Ptf41LDlgc0Hxs/5Sgx+faZSm23G8x0WD5G2h33DjNW 8scAgnTFP1Owj0kXHEv2RhyD5xuZ4h3ZyzqNEnAfthrcOcI1Dus+ehYX/xmpdQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VlLWW1DQJzj89 for ; Thu, 23 May 2024 08:12:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44N8CduI092415 for ; Thu, 23 May 2024 08:12:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44N8Cdmu092412 for bugs@FreeBSD.org; Thu, 23 May 2024 08:12:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 279243] panic: Memory modified after free, Most recently used by solaris Date: Thu, 23 May 2024 08:12:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279243 Bug ID: 279243 Summary: panic: Memory modified after free, Most recently used by solaris Product: Base System Version: 14.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: avg@FreeBSD.org This happens on every other boot for me. When it happens it always happens when loading nvidia driver. <118>Mounting local filesystems:. <118>Mounting ZFS filesystems: (354/354) <118>Loading kernel modules: nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io <6>nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platf= orms 550.54.14 Thu Feb 22 01:05:40 UTC 2024 sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)! <6>[drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver Memory modified after free 0xfffff800207cf900(376) val=3D1010000 @ 0xfffff800207cf900 panic: Most recently used by solaris cpuid =3D 2 time =3D 1716443221 KDB: stack backtrace: db_trace_self_wrapper() at 0xffffffff80614c2b =3D db_trace_self_wrapper+0x2b/frame 0xfffffe01985cc060 kdb_backtrace() at 0xffffffff8094a037 =3D kdb_backtrace+0x37/frame 0xfffffe01985cc110 vpanic() at 0xffffffff808fba29 =3D vpanic+0x169/frame 0xfffffe01985cc250 panic() at 0xffffffff808fb803 =3D panic+0x43/frame 0xfffffe01985cc2b0 mtrash_ctor() at 0xffffffff80bb25ee =3D mtrash_ctor+0x7e/frame 0xfffffe0198= 5cc2d0 item_ctor() at 0xffffffff80bb1818 =3D item_ctor+0x108/frame 0xfffffe01985cc= 320 uma_zalloc_arg() at 0xffffffff80baac3b =3D uma_zalloc_arg+0x10b/frame 0xfffffe01985cc360 malloc() at 0xffffffff808d4f60 =3D malloc+0x70/frame 0xfffffe01985cc3a0 os_alloc_mem() at 0xffffffff857de5f7 =3D os_alloc_mem+0x37/frame 0xfffffe01985cc3c0 _nv013606rm() at 0xffffffff854fc874 =3D _nv013606rm+0x34/frame 0xfffffe01a3= 22fc00 Uptime: 42s "Most recently used by solaris" makes me think that the problem is in ZFS. Also, because the module loading happens right after mounting ZFS filesyste= ms. The zone is "malloc-384". 24 initial bytes are affected: (kgdb) x/48a item 0xfffff800207cf900: 0x1010000 0x0 0xfffff800207cf910: 0x0 0xdeadc0dedeadc0de 0xfffff800207cf920: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf930: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf940: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf950: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf960: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf970: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf980: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf990: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf9a0: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf9b0: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf9c0: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf9d0: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf9e0: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cf9f0: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cfa00: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cfa10: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cfa20: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cfa30: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cfa40: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cfa50: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cfa60: 0xdeadc0dedeadc0de 0xdeadc0dedeadc0de 0xfffff800207cfa70: 0xdeadc0dedeadc0de 0xffffffff8121a800 --=20 You are receiving this mail because: You are the assignee for the bug.=