Kernel crash via invalid MAD agent pointer
Published Dec 30, 2025 · Updated Dec 30, 2025
NULL-pointer dereference in the Linux RDMA/srpt module allows local users to crash the kernel during concurrent RDMA device removal. A race between srpt_add_one() and srpt_remove_one() leaves sport->mad_agent holding an error value, but srpt_unregister_mad_agent() checks only for non-null before passing it to ib_unregister_mad_agent(). The crash requires the RDMA target module and a RoCE driver unregistering its ib_device during the short race window; the demonstrated consequence is a kernel oops and service interruption.
Summary
What happened
NULL-pointer dereference in the Linux RDMA/srpt module allows local users to crash the kernel during concurrent RDMA device removal. A race between srpt_add_one() and srpt_remove_one() leaves sport->mad_agent holding an error value, but srpt_unregister_mad_agent() checks only for non-null before passing it to ib_unregister_mad_agent(). The crash requires the RDMA target module and a RoCE driver unregistering its ib_device during the short race window; the demonstrated consequence is a kernel oops and service interruption.
The record
- CVE
- CVE-2023-54274
- Published
- Dec 30, 2025
- Updated
- Dec 30, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 30, 2025CVE publishedPublication date reported by the CVE source.
- Dec 30, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.3
- Affected versionversion=a42d985bd5b234da8b61347a78dc3057bf7bb94d <00cc21e32ea1b8ebbabf5d645da9378d986bf8ba
- Affected versionversion=a42d985bd5b234da8b61347a78dc3057bf7bb94d <4323aaedeba32076e652aad056afd7885bb96bb7
- Affected versionversion=a42d985bd5b234da8b61347a78dc3057bf7bb94d <5f6ef2a574b0e0e0ea46ed0022575442df9d0bf9
- Affected versionversion=a42d985bd5b234da8b61347a78dc3057bf7bb94d <8ec6acdb9b6a80eeb13e778dfedb5d72a88f14fe
- Affected versionversion=a42d985bd5b234da8b61347a78dc3057bf7bb94d <b713623bfef8cb1df9c769a3887fa10db63d1c54
- Affected versionversion=a42d985bd5b234da8b61347a78dc3057bf7bb94d <eca5cd9474cd26d62f9756f536e2e656d3f62f3a
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo