CVE-2026-31639

rxrpc: Fix key reference count leak from call->key

No CVSS score yet EPSS 0.13%

Published 24 Apr 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-31639

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31639 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

rxrpc: Fix key reference count leak from call->key

When creating a client call in rxrpc_alloc_client_call(), the code obtains a reference to the key. This is never cleaned up and gets leaked when the call is destroyed.

Fix this by freeing call->key in rxrpc_destroy_call().

Before the patch, it shows the key reference counter elevated:

$ cat /proc/keys | grep afs@54321 1bffe9cd I--Q--i 8053480 4169w 3b010000 1000 1000 rxrpc afs@54321: ka $

After the patch, the invalidated key is removed when the code exits:

$ cat /proc/keys | grep afs@54321 $

Exploitation

EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.58% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f3441d4125fc98995858550a5521b8d7daf0504a, before f1a7a3ab0f35f83cf11bba906b9e948cf3788c28
affected from f3441d4125fc98995858550a5521b8d7daf0504a, before e6b7943c5dc875647499da09bf4d50a8557ab0c3
affected from f3441d4125fc98995858550a5521b8d7daf0504a, before 2e6ef713b1598f6acd7f302fa6b12b6731c89914
affected from f3441d4125fc98995858550a5521b8d7daf0504a, before 978108902ee4ef2b348ff7ec36ad014dc5bc6dc6
affected from f3441d4125fc98995858550a5521b8d7daf0504a, before d666540d217e8d420544ebdfbadeedd623562733
Other versions: unaffected
Linux
affected 6.2
unaffected before 6.2
unaffected from 6.6.135 up to and including 6.6.*
unaffected from 6.12.82 up to and including 6.12.*
unaffected from 6.18.23 up to and including 6.18.*
unaffected from 6.19.13 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31639 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31639

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-31639
trivy image --scanners vuln IMAGE | grep CVE-2026-31639

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-31639 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.