~canonical-kernel/ubuntu/+source/linux-gke/+git/focal:master-next

Last commit made on 2023-10-10
Get this branch:
git clone -b master-next https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-gke/+git/focal
Members of Canonical Kernel can upload to this branch. Log in for directions.

Branch merges

Branch information

Recent commits

72595ff... by Jordan Rife <email address hidden>

net: Avoid address overwrite in kernel_connect

BugLink: https://bugs.launchpad.net/bugs/2035163

BPF programs that run on connect can rewrite the connect address. For
the connect system call this isn't a problem, because a copy of the address
is made when it is moved into kernel space. However, kernel_connect
simply passes through the address it is given, so the caller may observe
its address value unexpectedly change.

A practical example where this is problematic is where NFS is combined
with a system such as Cilium which implements BPF-based load balancing.
A common pattern in software-defined storage systems is to have an NFS
mount that connects to a persistent virtual IP which in turn maps to an
ephemeral server IP. This is usually done to achieve high availability:
if your server goes down you can quickly spin up a replacement and remap
the virtual IP to that endpoint. With BPF-based load balancing, mounts
will forget the virtual IP address when the address rewrite occurs
because a pointer to the only copy of that address is passed down the
stack. Server failover then breaks, because clients have forgotten the
virtual IP address. Reconnects fail and mounts remain broken. This patch
was tested by setting up a scenario like this and ensuring that NFS
reconnects worked after applying the patch.

Signed-off-by: Jordan Rife <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(backported from commit 0bdf399342c5acbd817c9098b6c7ed21f1974312)
[ kmously: adjusted for lack of READ_ONCE() ]
Signed-off-by: Khalid Elmously <email address hidden>
Acked-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: John Cabaj <email address hidden>

1644d72... by Khaled El Mously

UBUNTU: Ubuntu-gke-5.4.0-1105.112

Signed-off-by: Khalid Elmously <email address hidden>

5210f7b... by Khaled El Mously

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/2026564
Properties: no-test-build
Signed-off-by: Khalid Elmously <email address hidden>

51f7af0... by Khaled El Mously

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Khalid Elmously <email address hidden>

311ae54... by Khaled El Mously

UBUNTU: [Packaging] resync getabis

BugLink: https://bugs.launchpad.net/bugs/1786013
Signed-off-by: Khalid Elmously <email address hidden>

076360f... by Khaled El Mously

UBUNTU: [Packaging] resync update-dkms-versions helper

BugLink: https://bugs.launchpad.net/bugs/1786013
Signed-off-by: Khalid Elmously <email address hidden>

7ae8b14... by Khaled El Mously

UBUNTU: Ubuntu-gke-5.4.0-1104.111

Signed-off-by: Khalid Elmously <email address hidden>

e8750c0... by Khaled El Mously

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/2026380
Properties: no-test-build
Signed-off-by: Khalid Elmously <email address hidden>

381ddef... by Khaled El Mously

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Khalid Elmously <email address hidden>

04dafbb... by Khaled El Mously

UBUNTU: Ubuntu-gke-5.4.0-1103.110

Signed-off-by: Khalid Elmously <email address hidden>