CVE-2026-31677·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - limit RX SG extraction by receive buffer budget Make af_alg_get_rsgl() limit each RX scatterlist extraction to the remaining receive buffer budget. af_alg_get_rsgl() currently uses af_alg_readable() only as a gate before extracting data into the RX scatterlist. Limit each extraction to the remaining af_alg_rcvbuf(sk) budget so that receive-side accounting matches the amount of data attached to the request. If skcipher cannot obtain enough RX space for at least one chunk while more data remains to be processed, reject the recvmsg call instead of rounding the request length down to zero.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.14
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.16% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 6.19.14
Fixed in: 6.19.14
How to fix this CVE
Update your Linux kernel to version 6.19.14 or later to resolve a receive buffer accounting issue in the af_alg cryptographic subsystem. This vulnerability allows local users with low privileges to trigger a denial of service by exploiting improper RX scatterlist extraction limits. Apply the kernel update through your distribution's package manager and reboot your system to activate the patched kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your installed kernel version with `uname -r` and compare against the affected range 6.19 to 6.19.13
- Step 2: Verify af_alg cryptographic module is loaded with `lsmod | grep af_alg` to confirm the vulnerable component is active
- Step 3: Search system logs for af_alg related errors using `sudo journalctl -xe | grep -i 'af_alg\|crypto\|recvmsg'` to detect exploitation attempts
- Step 4: After patching, verify the new kernel is running with `uname -r` and confirm it shows version 6.19.14 or higher
FAQ
What is CVE-2026-31677?
This vulnerability exists in the Linux kernel's af_alg cryptographic socket implementation, where the receive buffer accounting does not properly limit scatterlist data extraction, allowing local attackers to cause memory-related denial of service conditions.
Is CVE-2026-31677 being actively exploited?
No, this vulnerability is not listed in the CISA KEV catalog and has no public exploit code available, though it remains a valid local privilege escalation vector.
What versions of Kernel are affected by CVE-2026-31677?
Linux kernel versions 6.19 through 6.19.13 are vulnerable; version 6.19.14 and later include the fix.
How do I check if my server is vulnerable to CVE-2026-31677?
Run `uname -r` to check your kernel version; if it displays 6.19.0 through 6.19.13, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2026-31677?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-31677 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453
- https://git.kernel.org/stable/c/4a264b2614c73c96666e196bbabe0cead52bdba7
- https://git.kernel.org/stable/c/7e345de2e69475430af85e09210795d8eb8e719c
- https://git.kernel.org/stable/c/8eceab19eba9dcbfd2a0daec72e1bf48aa100170
- https://git.kernel.org/stable/c/960c56743988d8ce9ff9b5d770dbeb5f64823a23
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31677. Free for 1 server.
Get started free