Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > muc.lists.freebsd.emulation > #12924 > unrolled thread

[Bug 295333] linuxulator: page fault handling SO_PEERCRED

Started bybugzilla-noreply@freebsd.org
First post2026-05-16 17:03 +0000
Last post2026-05-16 17:03 +0000
Articles 1 — 1 participant

Back to article view | Back to muc.lists.freebsd.emulation

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [Bug 295333] linuxulator: page fault handling SO_PEERCRED bugzilla-noreply@freebsd.org - 2026-05-16 17:03 +0000

#12924 — [Bug 295333] linuxulator: page fault handling SO_PEERCRED

Frombugzilla-noreply@freebsd.org
Date2026-05-16 17:03 +0000
Subject[Bug 295333] linuxulator: page fault handling SO_PEERCRED
Message-ID<bug-295333-4077-WoaBKvrEvK@https.bugs.freebsd.org/bugzilla/>
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.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

[toc] | [standalone]


Back to top | Article view | muc.lists.freebsd.emulation


csiph-web