pve-kernel-qoup/patches/kernel
Wolfgang Bumiller 57cd0485a7 add apparmor patch to fix recvmsg returning EINVAL
With apparmor 4, when recvmsg() calls are checked by the apparmor LSM
they will always return EINVAL.
This causes very weird issues when apparmor profiles are in use, and a
lot of networking issues in containers (which are always using
apparmor).

When coming from sys_recvmsg, msg->msg_namelen is explicitly set to
zero early on. (see ____sys_recvmsg in net/socket.c)
We still end up in 'map_addr' where the assumption is that addr !=
NULL means addrlen has a valid size.

This is likely not a final fix, it was suggested by jjohansen on irc
to get things going until this is resolved properly.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-04-10 15:40:00 +02:00
..
0001-Make-mkcompile_h-accept-an-alternate-timestamp-strin.patch update kernel and patches for Ubuntu-6.5.0-20.20 2024-02-14 11:08:30 +01:00
0002-wireless-Add-Debian-wireless-regdb-certificates.patch wireless: Add Debian wireless-regdb certificates 2023-02-10 12:48:20 +01:00
0003-bridge-keep-MAC-of-first-assigned-port.patch wireless: Add Debian wireless-regdb certificates 2023-02-10 12:48:20 +01:00
0004-pci-Enable-overrides-for-missing-ACS-capabilities-4..patch rebase patches on top of Ubuntu-6.8.0-23.23 2024-04-08 17:47:21 +02:00
0005-kvm-disable-default-dynamic-halt-polling-growth.patch update submodule and patches for 24.04 Noble based kernel 2024-04-02 18:14:21 +02:00
0006-net-core-downgrade-unregister_netdevice-refcount-lea.patch rebase patches on top of Ubuntu-6.8.0-23.23 2024-04-08 17:47:21 +02:00
0007-Revert-fortify-Do-not-cast-to-unsigned-char.patch update submodule and patches for 24.04 Noble based kernel 2024-04-02 18:14:21 +02:00
0008-kvm-xsave-set-mask-out-PKRU-bit-in-xfeatures-if-vCPU.patch update submodule and patches for 24.04 Noble based kernel 2024-04-02 18:14:21 +02:00
0009-allow-opt-in-to-allow-pass-through-on-broken-hardwar.patch rebase patches on top of Ubuntu-6.8.0-23.23 2024-04-08 17:47:21 +02:00
0010-KVM-nSVM-Advertise-support-for-flush-by-ASID.patch update submodule and patches for 24.04 Noble based kernel 2024-04-02 18:14:21 +02:00
0011-revert-memfd-improve-userspace-warnings-for-missing-.patch update submodule and patches for 24.04 Noble based kernel 2024-04-02 18:14:21 +02:00
0012-apparmor-expect-msg_namelen-0-for-recvmsg-calls.patch add apparmor patch to fix recvmsg returning EINVAL 2024-04-10 15:40:00 +02:00