Hi Sven & doko, Nice to hear from you Sven again, you always pop-up on x32 kernel mailing lists threads, great to hear you use Ubuntu.
Debian also has ports that provide x32 binaries, whereas Ubuntu doesn't. We did do preliminary work to enable x32 over sixteen years ago in gutsy, but since then no demand has materialised to actually ever support this. It is probably a mistake and oversight that we have kept this config option on for so long; and continue to have portions of toolchain available too (triarch). From the investigations I did, it appears this config was dropped as part of the kernel config review, when a few other obsolete execution formats were dropped. Note that no ubuntu certification, tooling, or assertions enforce or test x32 binaries on ubuntu kernels, and imho shouldn't gonig forward. I spoke to a few people about this, and consenus infofar is this opens an attack vector even when simply complied in and not enabled at runtime. Other distributions also do not have this on (fedora, suse). I will use this bug report, to document that x32 should be off and not turned back on. If you use 22.04 LTS you can use linux-generic (v5.15) based kernel, which will continue to have existing config as is. Or alternatively you can build your own kernel, or use Debian one. ** Tags removed: rls-kk-incoming rls-ll-incoming ** Tags added: rls-kk-notfixing rls-ll-notfixing ** Changed in: linux (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1994516 Title: Kernels after 5.16 cannot execute x32-ABI binaries Status in linux package in Ubuntu: Won't Fix Bug description: The kernel configuration option CONFIG_X86_X32_ABI is outcommented for kernel 5.17 and higher (amd64). x32 binaries are now reporting: cannot execute binary file: Exec format error The x32-ABI has its proven merits in some HPC tasks (e.g. link and GC intensive tasks) because it saves CPU time and critical resources like energy. So, the following approach (e.g. Debian) looks more appropriate: 1. Include the x32-relevant code, but disable its use on standard boots: CONFIG_X86_X32=y CONFIG_X86_X32_DISABLED=y 2. Users that must run x32 binaries can easily add the GRUB cmdline option syscall.x32=y to enable x32 binaries. This could be a good compromise between kernel complexity and resource efficiency. --- ProblemType: Bug ApportVersion: 2.23.1-0ubuntu3 Architecture: amd64 AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/controlC1', '/dev/snd/hwC1D0', '/dev/snd/pcmC1D2c', '/dev/snd/pcmC1D1p', '/dev/snd/pcmC1D0c', '/dev/snd/pcmC1D0p', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: N/A CasperMD5CheckResult: unknown DistroRelease: Ubuntu 22.10 InstallationDate: Installed on 2022-10-24 (1 days ago) InstallationMedia: Lubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221017.1) IwConfig: lo no wireless extensions. eno1 no wireless extensions. MachineType: ASUS System Product Name Package: linux (not installed) ProcFB: 0 amdgpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-23-generic root=UUID=b71ed1bd-e82f-41cb-b6dd-a7805136105f ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7 RelatedPackageVersions: linux-restricted-modules-5.19.0-23-generic N/A linux-backports-modules-5.19.0-23-generic N/A linux-firmware 20220923.gitf09bebf3-0ubuntu1 RfKill: Tags: kinetic Uname: Linux 5.19.0-23-generic x86_64 UnreportableReason: This report is about a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: sudo WifiSyslog: _MarkForUpload: False dmi.bios.date: 10/13/2022 dmi.bios.release: 8.5 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 0805 dmi.board.asset.tag: Default string dmi.board.name: PRIME B650-PLUS dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: Rev 1.xx dmi.chassis.asset.tag: Default string dmi.chassis.type: 3 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0805:bd10/13/2022:br8.5:svnASUS:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnPRIMEB650-PLUS:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU: dmi.product.family: To be filled by O.E.M. dmi.product.name: System Product Name dmi.product.sku: SKU dmi.product.version: System Version dmi.sys.vendor: ASUS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1994516/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp