# CVE-2026-31643: rxrpc: Fix key parsing memleak

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-24T14:44:57.540Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

rxrpc: Fix key parsing memleak

In rxrpc_preparse_xdr_yfs_rxgk(), the memory attached to token->rxgk can be
leaked in a few error paths after it's allocated.

Fix this by freeing it in the "reject_token:" case.

(As written by CVE List.)

## Affected

- Linux Linux: from 0ca100ff4df64f5d0f6c1dd5080c3e096786bea6 before d5f76f812d2c0ea6dd651b0586be49e85ecca085; from 0ca100ff4df64f5d0f6c1dd5080c3e096786bea6 before 01f51318feb626deee1d0c8a190198cd7857d599; from 0ca100ff4df64f5d0f6c1dd5080c3e096786bea6 before b555912b9b21075e8298015f888ffe3ff60b1a97; 6.16 (not affected: before 6.16; from 6.18.23 up to 6.18.*; from 6.19.13 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.16.1 before 6.18.23; from 6.19 before 6.19.13; 6.16; 7.0

## References

- <https://git.kernel.org/stable/c/d5f76f812d2c0ea6dd651b0586be49e85ecca085> (patch)
- <https://git.kernel.org/stable/c/01f51318feb626deee1d0c8a190198cd7857d599> (patch)
- <https://git.kernel.org/stable/c/b555912b9b21075e8298015f888ffe3ff60b1a97> (patch)

## Sources

- CVE List: [CVE-2026-31643](https://www.cve.org/CVERecord?id=CVE-2026-31643), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-31643](https://nvd.nist.gov/vuln/detail/CVE-2026-31643), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31643 · Whole record: https://cve.day/CVE-2026-31643.json · Rebuilt by cve.day 2026-11-25T22:59:19.529Z
