Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2026 17:03:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 295333] linuxulator: page fault handling SO_PEERCRED
Message-ID:  <bug-295333-4077-WoaBKvrEvK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295333-4077@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295333

Alan Somers <asomers@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emulation@FreeBSD.org
             Status|New                         |Open

--- Comment #7 from Alan Somers <asomers@FreeBSD.org> ---
I was able to reproduce the problem without Java, by running a small Rust
binary within a Linux jail.  What I did was:

1) Create a Debian Trixie jail according to the instructions at
https://iocage.readthedocs.io/en/latest/debian.html

2) Cloned the Nix repository from https://github.com/nix-rust/nix.git

3) Built the Nix tests in a Linux VM.  I probably could've used the Linux jail,
but I already had the VM setup for this task.
  - cd /path/to/nix
  - cargo test --all-features

4) Transferred the test binary into the Linux jail.  In this case, the test
binary is named /path/to/nix/target/debug/deps/test-5cc4bc3ec691ad64

5) Executed the Linux binary like this:
  - sudo iocage exec debjail /tmp/test-5cc4bc3ec691ad64
can_get_peercred_on_unix_socket

The result was a kernel panic that looked the same as the OP's.

I'll work on a fix, using this reproduction method.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295333-4077-WoaBKvrEvK>