CVE-2023-54274
publishedRDMA/srpt: Add a check for valid 'mad_agent' pointer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa42d985bd5b234da8b61347a78dc3057bf7bb94d to < 8ec6acdb9b6a80eeb13e778dfedb5d72a88f14fe · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 00cc21e32ea1b8ebbabf5d645da9378d986bf8ba · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 4323aaedeba32076e652aad056afd7885bb96bb7 · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 5f6ef2a574b0e0e0ea46ed0022575442df9d0bf9 · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < b713623bfef8cb1df9c769a3887fa10db63d1c54 · a42d985bd5b234da8b61347a78dc3057bf7bb94d to < eca5cd9474cd26d62f9756f536e2e656d3f62f3a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.3 (affected) · 0 to < 3.3 (unaffected · semver) · 5.10.180 through 5.10.* (unaffected · semver) · 5.15.111 through 5.15.* (unaffected · semver) · 6.1.28 through 6.1.* (unaffected · semver) · 6.2.15 through 6.2.* (unaffected · semver) · 6.3.2 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-034 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-devels390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develx86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-docnoarch | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-moduless390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesx86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extraaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extrappc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extras390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extrax86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-toolsaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-toolsppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-toolss390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-toolsx86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-debuginfoaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-debuginfoppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-debuginfos390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-debuginfox86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-libsaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-libsppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-libsx86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-libs-develaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-libs-develppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-libs-develx86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-zfcpdumps390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-zfcpdump-cores390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-zfcpdump-debuginfos390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-zfcpdump-devels390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-zfcpdump-moduless390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-zfcpdump-modules-extras390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | perfaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | perfppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | perfs390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | perfx86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | perf-debuginfoaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | perf-debuginfoppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | perf-debuginfos390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | perf-debuginfox86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perfaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perfppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perfs390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perfx86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perf-debuginfoaarch64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perf-debuginfoppc64le | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perf-debuginfos390x | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perf-debuginfox86_64 | Advisory build | 4.18.0-553.el8_10 | RHSA-2024:3138 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/srpt: Add a check for valid 'mad_agent' pointer When unregistering MAD agent, srpt module has a non-null check for 'mad_agent' pointer before invoking ib_unregister_mad_agent(). This check can pass if 'mad_agent' variable holds an error value. The 'mad_agent' can have an error value for a short window when srpt_add_one() and srpt_remove_one() is executed simultaneously. In srpt module, added a valid pointer check for 'sport->mad_agent' before unregistering MAD agent. This issue can hit when RoCE driver unregisters ib_device Stack Trace: ------------ BUG: kernel NULL pointer dereference, address: 000000000000004d PGD 145003067 P4D 145003067 PUD 2324fe067 PMD 0 Oops: 0002 [#1] PREEMPT SMP NOPTI CPU: 10 PID: 4459 Comm: kworker/u80:0 Kdump: loaded Tainted: P Hardware name: Dell Inc. PowerEdge R640/06NR82, BIOS 2.5.4 01/13/2020 Workqueue: bnxt_re bnxt_re_task [bnxt_re] RIP: 0010:_raw_spin_lock_irqsave+0x19/0x40 Call Trace: ib_unregister_mad_agent+0x46/0x2f0 [ib_core] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready ? __schedule+0x20b/0x560 srpt_unregister_mad_agent+0x93/0xd0 [ib_srpt] srpt_remove_one+0x20/0x150 [ib_srpt] remove_client_context+0x88/0xd0 [ib_core] bond0: (slave p2p1): link status definitely up, 100000 Mbps full duplex disable_device+0x8a/0x160 [ib_core] bond0: active interface up! ? kernfs_name_hash+0x12/0x80 (NULL device *): Bonding Info Received: rdev: 000000006c0b8247 __ib_unregister_device+0x42/0xb0 [ib_core] (NULL device *): Master: mode: 4 num_slaves:2 ib_unregister_device+0x22/0x30 [ib_core] (NULL device *): Slave: id: 105069936 name:p2p1 link:0 state:0 bnxt_re_stopqps_and_ib_uninit+0x83/0x90 [bnxt_re] bnxt_re_alloc_lag+0x12e/0x4e0 [bnxt_re]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 8ec6acdb9b6a80eeb13e778dfedb5d72a88f14fe (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 00cc21e32ea1b8ebbabf5d645da9378d986bf8ba (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 4323aaedeba32076e652aad056afd7885bb96bb7 (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < 5f6ef2a574b0e0e0ea46ed0022575442df9d0bf9 (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < b713623bfef8cb1df9c769a3887fa10db63d1c54 (affected · git)a42d985bd5b234da8b61347a78dc3057bf7bb94d to < eca5cd9474cd26d62f9756f536e2e656d3f62f3a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.3 (affected)0 to < 3.3 (unaffected · semver)5.10.180 through 5.10.* (unaffected · semver)5.15.111 through 5.15.* (unaffected · semver)6.1.28 through 6.1.* (unaffected · semver)6.2.15 through 6.2.* (unaffected · semver)6.3.2 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/00cc21e32ea1b8ebbabf5d645da9378d986bf8ba
- https://git.kernel.org/stable/c/4323aaedeba32076e652aad056afd7885bb96bb7
- https://git.kernel.org/stable/c/5f6ef2a574b0e0e0ea46ed0022575442df9d0bf9
- https://git.kernel.org/stable/c/8ec6acdb9b6a80eeb13e778dfedb5d72a88f14fe
- https://git.kernel.org/stable/c/b713623bfef8cb1df9c769a3887fa10db63d1c54
- https://git.kernel.org/stable/c/eca5cd9474cd26d62f9756f536e2e656d3f62f3a
Provider assertions
1Linux · cna
RDMA/srpt: Add a check for valid 'mad_agent' pointer
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 529fdabf78c07dfd54514f6985122c60f9ee3028a5cbfb06bbd9c4bb403aa537
- Ingested
- 23 Sep 2026, 08:15:07 UTC
- Source record
- Official CVE record