Description
In the Linux kernel, the following vulnerability has been resolved:
net/rds: fix possible cp null dereference
cp might be null, calling cp->cp_conn would produce null dereference
[Simon Horman adds:]
Analysis:
* cp is a parameter of __rds_rdma_map and is not reassigned.
* The following call-sites pass a NULL cp argument to __rds_rdma_map()
- rds_get_mr()
- rds_get_mr_for_dest
* Prior to the code above, the following assumes that cp may be NULL
(which is indicative, but could itself be unnecessary)
trans_private = rs->rs_transport->get_mr(
sg, nents, rs, &mr->r_key, cp ? cp->cp_conn : NULL,
args->vec.addr, args->vec.bytes,
need_odp ? ODP_ZEROBASED : ODP_NOT_NEEDED);
* The code modified by this patch is guarded by IS_ERR(trans_private),
where trans_private is assigned as per the previous point in this analysis.
The only implementation of get_mr that I could locate is rds_ib_get_mr()
which can return an ERR_PTR if the conn (4th) argument is NULL.
* ret is set to PTR_ERR(trans_private).
rds_ib_get_mr can return ERR_PTR(-ENODEV) if the conn (4th) argument is NULL.
Thus ret may be -ENODEV in which case the code in question will execute.
Conclusion:
* cp may be NULL at the point where this patch adds a check;
this patch does seem to address a possible bug
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 4.19.310 – < 4.19.312, 5.4.272 – < 5.4.274, 5.10.213 – < 5.10.215, 5.15.152 – < 5.15.154, 6.1.82 – < 6.1.85, 6.6.22 – < 6.6.26, 6.7.10 – < 6.8, 6.8 | 4.19.312 |
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 | 6.8.9-1 | — |
| Debian 13 | linux | 6.8.9-1 | — |
| Debian 12 | linux | 6.1.85-1 | — |
| Debian 10 | linux | 4.19.316-1 | DLA-3840-1 |
| Debian 10 | linux-5.10 | 5.10.216-1~deb10u1 | DLA-3842-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | 5.15.0-1047.49 | — |
| Ubuntu 24.04 LTS | linux | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu 24.04 LTS | linux-aws | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu 24.04 LTS | linux-azure | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu 24.04 LTS | linux-gcp | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu 24.04 LTS | linux-gke | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu 24.04 LTS | linux-ibm +2 | 6.8.0-1008.8 | USN-6918-1, USN-6893-1 |
| Ubuntu 24.04 LTS | linux-intel | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu 24.04 LTS | linux-nvidia | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu 24.04 LTS | linux-raspi | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu 24.04 LTS | linux-riscv +1 | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu 22.04 LTS | linux +1 | 5.15.0-116.126 | USN-6898-2, USN-6898-1 |
| Ubuntu 22.04 LTS | linux-aws | 5.15.0-1065.71 | USN-6898-3 |
| Ubuntu 22.04 LTS | linux-aws-6.8 | 6.8.0-1011.12~22.04.1 | — |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1068.77 | USN-6917-1 |
| Ubuntu 22.04 LTS | linux-azure-6.8 | 6.8.0-1010.10~22.04.1 | — |
| Ubuntu 22.04 LTS | linux-azure-fde | 5.15.0-1068.77.1 | USN-6917-1 |
| Ubuntu 22.04 LTS | linux-gcp | 5.15.0-1064.72 | USN-6898-1 |
| Ubuntu 22.04 LTS | linux-gke | 5.15.0-1062.68 | USN-6898-1 |
| Ubuntu 22.04 LTS | linux-gkeop | 5.15.0-1048.55 | USN-6898-1 |
| Ubuntu 22.04 LTS | linux-ibm | 5.15.0-1058.61 | USN-6898-1 |
| Ubuntu 22.04 LTS | linux-intel-iotg | 5.15.0-1060.66 | USN-6898-1 |
| Ubuntu 22.04 LTS | linux-kvm | 5.15.0-1062.67 | USN-6898-1 |
| Ubuntu 22.04 LTS | linux-nvidia | 5.15.0-1060.61 | USN-6898-1 |
| Ubuntu 22.04 LTS | linux-nvidia-6.8 | 6.8.0-1009.9~22.04.1 | — |
| Ubuntu 22.04 LTS | linux-oracle | 5.15.0-1063.69 | USN-6898-1 |
| Ubuntu 22.04 LTS | linux-oracle-6.8 | 6.8.0-1008.8~22.04.1 | — |
| Ubuntu 22.04 LTS | linux-riscv +21 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-xilinx-zynqmp | 5.15.0-1035.39 | USN-7019-1 |
| Ubuntu 20.04 LTS | linux-aws-5.15 | 5.15.0-1065.71~20.04.1 | USN-6898-4 |
| Ubuntu 20.04 LTS | linux-azure-5.15 | 5.15.0-1068.77~20.04.1 | USN-6917-1 |
| Ubuntu 20.04 LTS | linux-azure-fde-5.15 | 5.15.0-1068.77~20.04.1.1 | USN-6917-1 |
| Ubuntu 20.04 LTS | linux-gcp-5.15 | 5.15.0-1065.73~20.04.1 | USN-6927-1 |
| Ubuntu 20.04 LTS | linux-gke +26 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gkeop-5.15 | 5.15.0-1048.55~20.04.1 | USN-6898-1 |
| Ubuntu 20.04 LTS | linux-hwe-5.15 +1 | 5.15.0-116.126~20.04.1 | USN-6898-3, USN-6898-2 |
| Ubuntu 20.04 LTS | linux-ibm-5.15 | 5.15.0-1058.61~20.04.1 | USN-6898-2 |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu 20.04 LTS | linux-oracle-5.15 | 5.15.0-1063.69~20.04.1 | USN-6898-2 |
| Ubuntu 20.04 LTS | linux-riscv-5.15 | 5.15.0-1061.65~20.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +13 | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-raspi-realtime | 6.8.0-2006.6 | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime | 6.8.1-1004.4 | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-intel-iot-realtime | 5.15.0-1058.60 | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime | 5.15.0-1066.74 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-aws-fips | 5.15.0-1065.71+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-azure-fips | 5.15.0-1068.77+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips | 5.15.0-115.125+fips1 | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-gcp-fips | 5.15.0-1064.72+fips1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | kernel-64kb +6 | 6.4.0-150600.23.22.1 | SUSE-SU-2024:3383-1 |
| SLES 15 SP6 | kernel-azure +2 | 6.4.0-150600.8.11.1 | SUSE-SU-2024:3194-1 |
| SLES 15 SP6 | kernel-default-base | 6.4.0-150600.23.22.1.150600.12.8.3 | SUSE-SU-2024:3383-1 |
| SLES 15 SP5 | kernel-64kb +4 | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SLES 15 SP5 | kernel-azure +2 | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SLES 15 SP5 | kernel-syms +1 | 5.14.21-150500.55.80.1 | SUSE-SU-2024:3483-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 6.0 | kernel-default-base | 6.4.0-17.1.1.51 | SUSE-SU-2025:20044-1 |
| SLE Micro 6.0 | kernel-livepatch-MICRO-6-0_Update_2 +1 | 1-1.1 | SUSE-SU-2025:20047-1, SUSE-SU-2025:20044-1 |
| SLE Micro 6.0 | kernel-rt +1 | 6.4.0-10.1 | SUSE-SU-2025:20047-1 |
| SLE Micro 6.0 | kernel-source +2 | 6.4.0-19.1 | SUSE-SU-2025:20044-1 |
| SLE Micro 5.5 | kernel-default | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SLE Micro 5.5 | kernel-rt +1 | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SLE Live Patching 15 SP6 | kernel-default | 6.4.0-150600.23.22.1 | SUSE-SU-2024:3383-1 |
| SLE Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_2 | 1-150600.1.3.2 | SUSE-SU-2024:3195-1 |
| SLE Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_4 | 1-150600.13.3.3 | SUSE-SU-2024:3383-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_19 +1 | 1-150500.11.3.2 | SUSE-SU-2024:3483-1, SUSE-SU-2024:3209-1 |
| SUSE Real Time Module 15 SP6 | kernel-rt +2 | 6.4.0-150600.10.8.3 | SUSE-SU-2024:3195-1 |
| SUSE Real Time Module 15 SP6 | kernel-syms-rt | 6.4.0-150600.10.8.1 | SUSE-SU-2024:3195-1 |
| SUSE Real Time Module 15 SP5 | kernel-rt +2 | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE Real Time Module 15 SP5 | kernel-syms-rt | 5.14.21-150500.13.67.1 | SUSE-SU-2024:3209-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | dtb-aarch64 +10 | 6.4.0-150600.23.22.1 | SUSE-SU-2024:3383-1 |
| openSUSE Leap 15.6 | kernel-azure +2 | 6.4.0-150600.8.11.1 | SUSE-SU-2024:3194-1 |
| openSUSE Leap 15.6 | kernel-default-base | 6.4.0-150600.23.22.1.150600.12.8.3 | SUSE-SU-2024:3383-1 |
| openSUSE Leap 15.6 | kernel-rt +2 | 6.4.0-150600.10.8.3 | SUSE-SU-2024:3195-1 |
| openSUSE Leap 15.6 | kernel-syms-rt | 6.4.0-150600.10.8.1 | SUSE-SU-2024:3195-1 |
| openSUSE Leap 15.5 | dtb-aarch64 +3 | 5.14.21-150500.55.80.1 | SUSE-SU-2024:3483-1 |
| openSUSE Leap 15.5 | kernel-64kb +6 | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| openSUSE Leap 15.5 | kernel-azure +2 | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| openSUSE Leap 15.5 | kernel-default-base | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| openSUSE Leap 15.5 | kernel-rt +2 | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| openSUSE Leap 15.5 | kernel-syms-rt | 5.14.21-150500.13.67.1 | SUSE-SU-2024:3209-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.5 | kernel-default | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| openSUSE Leap Micro 5.5 | kernel-default-base | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| openSUSE Leap Micro 5.5 | kernel-rt | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | kernel-livepatch-6.1.87-99.174 | 1.0-0.amzn2023 | ALAS2023-2024-613 |
| Amazon Linux 2023 | perf +14 | 6.1.87-99.174.amzn2023 | ALAS2023-2024-613 |
Advisories 25
- WID-SEC-2024-1188 Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Nov 9, 2026
- USN-7019-1 linux-xilinx-zynqmp vulnerabilities Ubuntu Security Notices (USN) · Oct 26, 2026
- USN-6917-1 linux-azure, linux-azure-5.15, linux-azure-fde, linux-azure-fde-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 26, 2026
- USN-6927-1 linux-gcp-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 26, 2026
- USN-6898-1 linux, linux-gcp, linux-gke, linux-gkeop, linux-gkeop-5.15, linux-ibm, linux-intel-iotg, linux-intel-iotg-5.15, linux-kvm, linux-nvidia, linux-oracle vulnerabilities Ubuntu Security Notices (USN) · Oct 23, 2026
- USN-6893-1 linux, linux-azure, linux-gcp, linux-ibm, linux-intel, linux-lowlatency, linux-oem-6.8, linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Oct 23, 2026
- USN-6898-2 linux-ibm-5.15, linux-lowlatency, linux-lowlatency-hwe-5.15, linux-oracle-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 23, 2026
- USN-6898-3 linux-aws, linux-hwe-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 23, 2026
- USN-6898-4 linux-aws-5.15 vulnerabilities Ubuntu Security Notices (USN) · Oct 23, 2026
- USN-6893-2 linux-gke, linux-nvidia vulnerabilities Ubuntu Security Notices (USN) · Oct 23, 2026
- USN-6893-3 linux-aws vulnerabilities Ubuntu Security Notices (USN) · Oct 23, 2026
- USN-6918-1 linux-oracle vulnerabilities Ubuntu Security Notices (USN) · Oct 23, 2026
- SSA-265688 SSA-265688: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 TM MFP V1.1 Siemens ProductCERT · Oct 13, 2026
- ICSA-24-102-01 Siemens SIMATIC S7-1500 TM MFP CISA ICS & IT advisories · May 14, 2026
- SUSE-SU-2025:20047-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20044-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-3840-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3842-1 linux-5.10 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2024:3483-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3209-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3195-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3190-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3383-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3194-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2023-2024-613 Moderate: kernel security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 5, 2025
References
- https://git.kernel.org/stable/c/d275de8ea7be3a453629fddae41d4156762e814c
- https://git.kernel.org/stable/c/bcd46782e2ec3825d10c1552fcb674d491cc09f9
- https://git.kernel.org/stable/c/cfb786b03b03c5ff38882bee38525eb9987e4d14
- https://git.kernel.org/stable/c/d49fac38479bfdaec52b3ea274d290c47a294029
- https://git.kernel.org/stable/c/cbaac2e5488ed54833897264a5ffb2a341a9f196
- https://git.kernel.org/stable/c/92309bed3c5fbe2ccd4c45056efd42edbd06162d
- https://git.kernel.org/stable/c/6794090c742008c53b344b35b021d4a3093dc50a
- https://git.kernel.org/stable/c/62fc3357e079a07a22465b9b6ef71bb6ea75ee4b