[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <58be003a-c956-494b-be04-09a5d2c411b9@heusel.eu>
Date: Wed, 11 Jun 2025 13:46:01 +0200
From: Christian Heusel <christian@...sel.eu>
To: Jacek Łuczak <difrost.kernel@...il.com>
Cc: regressions@...ts.linux.dev, LKML <linux-kernel@...r.kernel.org>,
kuni1840@...il.com, kuniyu@...zon.com, davem@...emloft.net, edumazet@...gle.com,
Mario Limonciello <mario.limonciello@....com>, Eric Naim <dnaim@...hyos.org>, netdev@...r.kernel.org,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>
Subject: Re: [REGRESSION] af_unix: Introduce SO_PASSRIGHTS - break OpenGL
On 25/06/10 09:22PM, Jacek Łuczak wrote:
> Hi,
Hey,
> Bisection points to:
> [3f84d577b79d2fce8221244f2509734940609ca6] af_unix: Inherit sk_flags
> at connect().
I'm also suffering from an issue that I have bisected to the same commit,
although in a totally different environment and with other reproduction
steps: For me the Xorg server crashes as soon as I re-plug my laptops
power chord and afterwards I can only switch to a TTY to debug. No
errors are logged in the dmesg.
This is the relevant excerpt from the Xorg log (full one is attached):
[ 36.544] (EE) modeset(0): Failed to set CTM property: -13
[ 36.544] (EE) modeset(0): Failed to set CTM property: -13
[ 36.544] (II) modeset(0): EDID vendor "LEN", prod id 16553
[ 36.544] (II) modeset(0): Printing DDC gathered Modelines:
[ 36.544] (II) modeset(0): Modeline "1920x1080"x0.0 138.78 1920 1968 2000 2080 1080 1090 1096 1112 -hsync -vsync (66.7 kHz eP)
[ 36.547] (EE) modeset(0): Failed to set CTM property: -13
[ 36.547] (EE) modeset(0): Failed to set CTM property: -13
[ 36.547] (II) modeset(0): EDID vendor "LEN", prod id 16553
[ 36.547] (II) modeset(0): Printing DDC gathered Modelines:
[ 36.547] (II) modeset(0): Modeline "1920x1080"x0.0 138.78 1920 1968 2000 2080 1080 1090 1096 1112 -hsync -vsync (66.7 kHz eP)
[ 36.897] (WW) modeset(0): Present-unflip: queue flip during flip on CRTC 0 failed: Permission denied
[ 37.196] (EE) modeset(0): Failed to set CTM property: -13
[ 37.196] (EE) modeset(0): failed to set mode: No such file or directory
I can also confirm that reverting the patch on top of 6.16-rc1 fixes the
issue for me (thanks for coming up with the revert to Naim from the
CachyOS team!).
My xorg version is 21.1.16-1 on Arch Linux and I have attached the
revert, my xorg log from the crash and bisection log to this mail!
I'll also CC a few of the netdev people that might have further insights
for this issue!
> Reverting entire SO_PASSRIGHTS fixes the issue.
>
> Regards,
> -Jacek
Cheers,
Chris
---
#regzbot introduced: 3f84d577b79d2
#regzbot title: af_unix: Change in streams crashes various display servers
---
git bisect start
# status: waiting for both good and bad commits
# good: [0ff41df1cb268fc69e703a08a57ee14ae967d0ca] Linux 6.15
git bisect good 0ff41df1cb268fc69e703a08a57ee14ae967d0ca
# status: waiting for bad commit, 1 good commit known
# bad: [19272b37aa4f83ca52bdf9c16d5d81bdd1354494] Linux 6.16-rc1
git bisect bad 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
# bad: [1b98f357dadd6ea613a435fbaef1a5dd7b35fd21] Merge tag 'net-next-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
git bisect bad 1b98f357dadd6ea613a435fbaef1a5dd7b35fd21
# good: [a61e26038143727d9b0f1bc01b0370f77f2ad7e4] Merge tag 'media/v6.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
git bisect good a61e26038143727d9b0f1bc01b0370f77f2ad7e4
# good: [bbff27b54e4271a42ea1dba93a76e51165f2dbaa] Merge tag 'nios2_updates_for_v6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux
git bisect good bbff27b54e4271a42ea1dba93a76e51165f2dbaa
# good: [e39d14a760c039af0653e3df967e7525413924a0] net: dsa: b53: implement setting ageing time
git bisect good e39d14a760c039af0653e3df967e7525413924a0
# good: [ed73728fd14e14714a86b4826fb7115d9dade1b6] Merge tag 'mt76-next-2025-05-21' of https://github.com/nbd168/wireless
git bisect good ed73728fd14e14714a86b4826fb7115d9dade1b6
# bad: [bb91f7547f79434e8818d3f235437e021d34c1cb] octeontx2-af: NPC: Clear Unicast rule on nixlf detach
git bisect bad bb91f7547f79434e8818d3f235437e021d34c1cb
# good: [c6a957d067912f1ab4e3be4c92d3730c21d1ddb8] selftests: drv-net: Fix "envirnoments" to "environments"
git bisect good c6a957d067912f1ab4e3be4c92d3730c21d1ddb8
# good: [ea6342d98928e243f2024fb97a9b4d42ee55dfba] net: add skb_copy_and_crc32c_datagram_iter()
git bisect good ea6342d98928e243f2024fb97a9b4d42ee55dfba
# good: [33e1b1b3991ba8c0d02b2324a582e084272205d6] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
git bisect good 33e1b1b3991ba8c0d02b2324a582e084272205d6
# good: [23205562ffc8de20f57afdd984858cab29e77968] Bluetooth: separate CIS_LINK and BIS_LINK link types
git bisect good 23205562ffc8de20f57afdd984858cab29e77968
# good: [3041bbbeb41b807d2e24d7d78d9cc1387d95898a] af_unix: Don't pass struct socket to maybe_add_creds().
git bisect good 3041bbbeb41b807d2e24d7d78d9cc1387d95898a
# good: [0e81cfd971dc4833c699dcd8924e54a5021bc4e8] af_unix: Move SOCK_PASS{CRED,PIDFD,SEC} to struct sock.
git bisect good 0e81cfd971dc4833c699dcd8924e54a5021bc4e8
# bad: [77cbe1a6d8730a07f99f9263c2d5f2304cf5e830] af_unix: Introduce SO_PASSRIGHTS.
git bisect bad 77cbe1a6d8730a07f99f9263c2d5f2304cf5e830
# bad: [3f84d577b79d2fce8221244f2509734940609ca6] af_unix: Inherit sk_flags at connect().
git bisect bad 3f84d577b79d2fce8221244f2509734940609ca6
# first bad commit: [3f84d577b79d2fce8221244f2509734940609ca6] af_unix: Inherit sk_flags at connect().
View attachment "Xorg.0.log" of type "text/plain" (38108 bytes)
View attachment "dmesg_6.16rc1.log" of type "text/plain" (80056 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists