Description
In the Linux kernel, the following vulnerability has been resolved:
afs: Fix corruption in reads at fpos 2G-4G from an OpenAFS server
AFS-3 has two data fetch RPC variants, FS.FetchData and FS.FetchData64, and
Linux's afs client switches between them when talking to a non-YFS server
if the read size, the file position or the sum of the two have the upper 32
bits set of the 64-bit value.
This is a problem, however, since the file position and length fields of
FS.FetchData are *signed* 32-bit values.
Fix this by capturing the capability bits obtained from the fileserver when
it's sent an FS.GetCapabilities RPC, rather than just discarding them, and
then picking out the VICED_CAPABILITY_64BITFILES flag. This can then be
used to decide whether to use FS.FetchData or FS.FetchData64 - and also
FS.StoreData or FS.StoreData64 - rather than using upper_32_bits() to
switch on the parameter values.
This capabilities flag could also be used to limit the maximum size of the
file, but all servers must be checked for that.
Note that the issue does not exist with FS.StoreData - that uses *unsigned*
32-bit values. It's also not a problem with Auristor servers as its
YFS.FetchData64 op uses unsigned 64-bit values.
This can be tested by cloning a git repo through an OpenAFS client to an
OpenAFS server and then doing "git status" on it from a Linux afs
client[1]. Provided the clone has a pack file that's in the 2G-4G range,
the git status will show errors like:
error: packfile .git/objects/pack/pack-5e813c51d12b6847bbc0fcd97c2bca66da50079c.pack does not match index
error: packfile .git/objects/pack/pack-5e813c51d12b6847bbc0fcd97c2bca66da50079c.pack does not match index
This can be observed in the server's FileLog with something like the
following appearing:
Sun Aug 29 19:31:39 2021 SRXAFS_FetchData, Fid = 2303380852.491776.3263114, Host 192.168.11.201:7001, Id 1001
Sun Aug 29 19:31:39 2021 CheckRights: len=0, for host=192.168.11.201:7001
Sun Aug 29 19:31:39 2021 FetchData_RXStyle: Pos 18446744071815340032, Len 3154
Sun Aug 29 19:31:39 2021 FetchData_RXStyle: file size 2400758866
...
Sun Aug 29 19:31:40 2021 SRXAFS_FetchData returns 5
Note the file position of 18446744071815340032. This is the requested file
position sign-extended.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 2.6.22 | 5.14.9 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 5.14.9-1 | — |
| Debian 13 | linux | 5.14.9-1 | — |
| Debian 12 | linux | 5.14.9-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +22 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +27 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro FIPS 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro 20.04 LTS | linux +10 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | linux +12 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | linux +7 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux +3 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | kernel-64kb +6 | 5.14.21-150500.55.68.1 | SUSE-SU-2024:2190-1 |
| SLES 15 SP5 | kernel-azure +2 | 5.14.21-150500.33.57.1 | SUSE-SU-2024:2019-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.68.1.150500.6.31.1 | SUSE-SU-2024:2190-1 |
| SLES 15 SP4 | kernel-64kb +4 | 5.14.21-150400.24.122.2 | SUSE-SU-2024:2189-1 |
| SLES 15 SP4 | kernel-default-base | 5.14.21-150400.24.122.2.150400.24.58.2 | SUSE-SU-2024:2189-1 |
| SLES 15 SP4 | kernel-syms +1 | 5.14.21-150400.24.122.1 | SUSE-SU-2024:2189-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP4 | kernel-default-base | 5.14.21-150400.24.122.2.150400.24.58.2 | SUSE-SU-2024:2189-1 |
| SLES for SAP 15 SP4 | kernel-docs +2 | 5.14.21-150400.24.122.2 | SUSE-SU-2024:2189-1 |
| SLES for SAP 15 SP4 | kernel-syms +1 | 5.14.21-150400.24.122.1 | SUSE-SU-2024:2189-1 |
| SLE Micro 5.5 | kernel-default | 5.14.21-150500.55.68.1 | SUSE-SU-2024:2190-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.68.1.150500.6.31.1 | SUSE-SU-2024:2190-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.58.1 | SUSE-SU-2024:2008-1 |
| SLE Micro 5.4 | kernel-default | 5.14.21-150400.24.122.2 | SUSE-SU-2024:2189-1 |
| SLE Micro 5.4 | kernel-default-base | 5.14.21-150400.24.122.2.150400.24.58.2 | SUSE-SU-2024:2189-1 |
| SLE Micro 5.4 | kernel-rt +1 | 5.14.21-150400.15.82.1 | SUSE-SU-2024:2011-1 |
| SLE Micro 5.3 | kernel-default | 5.14.21-150400.24.122.2 | SUSE-SU-2024:2189-1 |
| SLE Micro 5.3 | kernel-default-base | 5.14.21-150400.24.122.2.150400.24.58.2 | SUSE-SU-2024:2189-1 |
| SLE Micro 5.3 | kernel-rt +1 | 5.14.21-150400.15.82.1 | SUSE-SU-2024:2011-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.68.1 | SUSE-SU-2024:2190-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_15 +1 | 1-150500.11.3.1 | SUSE-SU-2024:2190-1, SUSE-SU-2024:2008-1 |
| SLE Live Patching 15 SP4 | kernel-default | 5.14.21-150400.24.122.2 | SUSE-SU-2024:2189-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_27 | 1-150400.9.3.2 | SUSE-SU-2024:2189-1 |
| SLE HPC 15 SP4 | kernel-64kb +3 | 5.14.21-150400.24.122.2 | SUSE-SU-2024:2189-1 |
| SLE HPC 15 SP4 | kernel-default-base | 5.14.21-150400.24.122.2.150400.24.58.2 | SUSE-SU-2024:2189-1 |
| SLE HPC 15 SP4 | kernel-syms +1 | 5.14.21-150400.24.122.1 | SUSE-SU-2024:2189-1 |
| SUSE Real Time Module 15 SP5 | kernel-rt +3 | 5.14.21-150500.13.58.1 | SUSE-SU-2024:2008-1 |
| SUSE Manager Server 4.3 | kernel-default +1 | 5.14.21-150400.24.122.2 | SUSE-SU-2024:2189-1 |
| SUSE Manager Server 4.3 | kernel-default-base | 5.14.21-150400.24.122.2.150400.24.58.2 | SUSE-SU-2024:2189-1 |
| SUSE Manager Server 4.3 | kernel-syms +1 | 5.14.21-150400.24.122.1 | SUSE-SU-2024:2189-1 |
| SUSE Manager Proxy 4.3 | kernel-default | 5.14.21-150400.24.122.2 | SUSE-SU-2024:2189-1 |
| SUSE Manager Proxy 4.3 | kernel-default-base | 5.14.21-150400.24.122.2.150400.24.58.2 | SUSE-SU-2024:2189-1 |
| SUSE Manager Proxy 4.3 | kernel-syms +1 | 5.14.21-150400.24.122.1 | SUSE-SU-2024:2189-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | dtb-aarch64 +10 | 5.14.21-150500.55.68.1 | SUSE-SU-2024:2190-1 |
| openSUSE Leap 15.5 | kernel-azure +2 | 5.14.21-150500.33.57.1 | SUSE-SU-2024:2019-1 |
| openSUSE Leap 15.5 | kernel-default-base | 5.14.21-150500.55.68.1.150500.6.31.1 | SUSE-SU-2024:2190-1 |
| openSUSE Leap 15.5 | kernel-rt +3 | 5.14.21-150500.13.58.1 | SUSE-SU-2024:2008-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.4 | kernel-default | 5.14.21-150400.24.122.2 | SUSE-SU-2024:2189-1 |
| openSUSE Leap Micro 5.4 | kernel-default-base | 5.14.21-150400.24.122.2.150400.24.58.2 | SUSE-SU-2024:2189-1 |
| openSUSE Leap Micro 5.4 | kernel-rt | 5.14.21-150400.15.82.1 | SUSE-SU-2024:2011-1 |
| openSUSE Leap Micro 5.3 | kernel-default | 5.14.21-150400.24.122.2 | SUSE-SU-2024:2189-1 |
| openSUSE Leap Micro 5.3 | kernel-default-base | 5.14.21-150400.24.122.2.150400.24.58.2 | SUSE-SU-2024:2189-1 |
| openSUSE Leap Micro 5.3 | kernel-rt | 5.14.21-150400.15.82.1 | SUSE-SU-2024:2011-1 |
Advisories 5
- SUSE-SU-2024:2019-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2189-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2190-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2008-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2011-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026