CVE-2026-98354: RDMA/mad: Fix receive buffer leak when PKey enforcement fails
Vulnerability summary
CVE-2026-98354 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 5.7% of scored vulnerabilities.
No CVSS vector published; no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 11Timeline
- 06-10-2026PublishedVulnerability first disclosed.
- 19-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/mad: Fix receive buffer leak when PKey enforcement fails ib_mad_complete_recv() initializes mad_recv_wc->rmpp_list and then runs ib_mad_enforce_security() before linking recv_buf onto that list. On failure it calls ib_free_recv_mad(), which only walks rmpp_list and frees the ib_mad_private of every buffer found there. As the list is still empty at that point, nothing is freed at all. The caller cannot clean up either: ib_mad_recv_done() sets recv to NULL right after ib_mad_complete_recv() returns, assuming the MAD layer took ownership of the buffer. Every MAD that fails the PKey check therefore leaks one ib_mad_private (about 300 bytes per IB port MAD, ~2K for OPA), and a remote node can trigger this repeatedly by sending MADs with a wrong PKey. Link recv_buf onto rmpp_list right after the list is initialized, so the error path has something to free.
CVSS metrics
Risk metrics not yet published.
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: not stated in public data.
Ubuntu168 products
- linuxAll versions (No fix recorded)
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linuxAll versions (No fix recorded) | < 6.1.190-1 | < 6.12.113-1 | < 7.2.8-1
- linux-6.12< 6.12.113-1~deb12u1
Linux1 product
- linux≥ 47a2b338fe63200d716d2e24131cdb49f17c77da, < 4617c9a856188674dddb0ca66979746d07688579 | ≥ 47a2b338fe63200d716d2e24131cdb49f17c77da, < 8e2036fb47a5b152d53eadbd35abf311bd34cc7f | ≥ 47a2b338fe63200d716d2e24131cdb49f17c77da, < bad289e42f512646a988f278f536d21547df73f1 | ≥ 47a2b338fe63200d716d2e24131cdb49f17c77da, < 752b30e9d339008e5ce7eed412e9446078916129 | ≥ 47a2b338fe63200d716d2e24131cdb49f17c77da, < 39c4ea72a40503e102ae07e6776005f96ca078a6 | ≥ 47a2b338fe63200d716d2e24131cdb49f17c77da, < 5091e25ec503f7fc02723ca435226467b68caac7 | ≥ 47a2b338fe63200d716d2e24131cdb49f17c77da, < c0d8df85db146d6275e226cb950023be69dd6c77 | ≥ 47a2b338fe63200d716d2e24131cdb49f17c77da, < 3476c28c9addfa253f505e6bd87f1f5598b961d0 | 4.13
3 vendors · 171 products