Thread View: linux.debian.bugs.dist
3 messages
3 total messages
Started by Paul Gevers
Sun, 18 Oct 2026 07:40
Bug#1145111: [PATCH] apparmor: fix NULL ctx->peer derefs in unix socket ctx updates
Author: Paul Gevers
Date: Sun, 18 Oct 2026 07:40
Date: Sun, 18 Oct 2026 07:40
9 lines
2326 bytes
2326 bytes
Hi, I find it a bit difficult to track if either of the patches landed already in the kernel used by the buildds. I got drawn back to the issue as libqb is now 45 days old in unstable but can't migrate as the build on loong64 is blocked by this issue. rustc was reported to also fail on it, but that has been successfully built since. Paul
Bug#1145111: [PATCH] apparmor: fix NULL ctx->peer derefs in unix socket ctx updates
Author: Adrian Bunk
Date: Tue, 20 Oct 2026 20:50
Date: Tue, 20 Oct 2026 20:50
22 lines
2879 bytes
2879 bytes
On Sun, Oct 18, 2026 at 09:34:39AM +0200, Paul Gevers wrote: > Hi, Hi Paul, > I find it a bit difficult to track if either of the patches landed already > in the kernel used by the buildds. the issue is still seen on the buildds, I think netcat-openbsd today killed buildds on loong64 and in ports on pppc64 and sparc64. > I got drawn back to the issue as libqb is > now 45 days old in unstable but can't migrate as the build on loong64 is > blocked by this issue. rustc was reported to also fail on it, but that has > been successfully built since. https://salsa.debian.org/rust-team/rust/-/commit/8fb12a317768d55ac880a97f989c04919763c23b > Paul cu Adrian
Bug#1145111: [PATCH] apparmor: fix NULL ctx->peer derefs in unix socket ctx updates
Author: Aurelien Jarno
Date: Tue, 20 Oct 2026 21:20
Date: Tue, 20 Oct 2026 21:20
52 lines
4128 bytes
4128 bytes
control: affects -1 netcat-openbsd
Hi,
On 2026-10-20 23:39, Adrian Bunk wrote:
> On Sun, Oct 18, 2026 at 09:34:39AM +0200, Paul Gevers wrote:
> > Hi,
>
> Hi Paul,
>
> > I find it a bit difficult to track if either of the patches landed already
> > in the kernel used by the buildds.
>
> the issue is still seen on the buildds, I think netcat-openbsd today
> killed buildds on loong64 and in ports on pppc64 and sparc64.
The issue is still present upstream, and thus in the testing, unstable,
experimental and backports kernels. Two similar patches fixing the issue
have been posted so far. If the fix is not pushed through the next merge
window, I think the kernel team should either:
- bypass the policy that the patches need to be merged upstream first
- or disable apparmor in the debian kernel
Please also find below a simpler reproducer, it just needs python to
crash a default forky installation. What is nice is that it works for
all architectures without having to special case them.
Regards
Aurelien
#!/usr/bin/env python3
import os, socket, sys
if '--payload' in sys.argv:
server = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
server.setsockopt(socket.SOL_SOCKET, socket.SO_PASSCRED, 1)
server.bind('\0aa-crash-server')
client = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
client.connect('\0aa-crash-server')
os.writev(client.fileno(), [b'\0' * 16])
sys.exit()
# Run the payload using the unprivileged_userns AA profile
os.execvp('aa-exec', ['aa-exec', '-p', 'unprivileged_userns', '--',
sys.executable, os.path.abspath(__file__), '--payload'])
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads