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


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

[Bug 295333] linuxulator: page fault handling SO_PEERCRED

From bugzilla-noreply@freebsd.org
Newsgroups muc.lists.freebsd.emulation
Subject [Bug 295333] linuxulator: page fault handling SO_PEERCRED
Date 2026-05-16 17:03 +0000
Organization Newsgate at muc.de e.V.
Message-ID <bug-295333-4077-WoaBKvrEvK@https.bugs.freebsd.org/bugzilla/> (permalink)
References <bug-295333-4077@https.bugs.freebsd.org/bugzilla/>

Show all headers | View raw


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

Back to muc.lists.freebsd.emulation | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web