CVE & CISA-KEV Catalog

CVE-2024-26831

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: net/handshake: Fix handshake_req_destroy_test1 Recently, handshake_req_destroy_test1 started failing: Expected handshake_req_destroy_test == req, but handshake_req_destroy_test == 0000000000000000 req == 0000000060f99b40 not ok 11 req_destroy works This is because "sock_release(sock)" was replaced with "fput(filp)" to address a memory leak. Note that sock_release() is synchronous but fput() usually delays the final close and clean-up. The delay is not consequential in the other cases that were changed but handshake_req_destroy_test1 is testing that handshake_req_cancel() followed by closing the file actually does call the ->hp_destroy method. Thus the PTR_EQ test at the end has to be sure that the final close is complete before it checks the pointer. We cannot use a completion here because if ->hp_destroy is never called (ie, there is an API bug) then the test will hang. Reported by: Guenter Roeck <[email protected]>

How to fix

Remediation Available
linuxDebian
Fixed in:6.7.7-1CVE-2024-26831
Fixed in:6.7.7-1CVE-2024-26831
linuxUbuntu
Fixed in:6.5.0-44.44USN-6895-1
linux-aws-6.5Ubuntu
Fixed in:6.5.0-1023.23~22.04.1USN-6895-3
linux-azure-6.5Ubuntu
Fixed in:6.5.0-1024.25~22.04.1USN-6895-2
linux-gcpUbuntu
Fixed in:6.5.0-1024.26USN-6895-1
linux-gcp-6.5Ubuntu
Fixed in:6.5.0-1024.26~22.04.1USN-6895-2
linux-hwe-6.5Ubuntu
Fixed in:6.5.0-44.44~22.04.1USN-6900-1
linux-image-6.5.0-1017-starfiveUbuntu
Fixed in:6.5.0-1017.18~22.04.1USN-6895-3
linux-image-6.5.0-1020-raspiUbuntu
Fixed in:6.5.0-1020.23USN-6895-1
linux-image-6.5.0-1023-awsUbuntu
Fixed in:6.5.0-1023.23~22.04.1USN-6895-3
linux-image-6.5.0-1023-nvidiaUbuntu
Fixed in:6.5.0-1023.24USN-6895-1
linux-image-6.5.0-1023-nvidia-64kUbuntu
Fixed in:6.5.0-1023.24USN-6895-1
linux-image-6.5.0-1024-azureUbuntu
Fixed in:6.5.0-1024.25~22.04.1USN-6895-2
linux-image-6.5.0-1024-azure-fdeUbuntu
Fixed in:6.5.0-1024.25~22.04.1USN-6895-2
linux-image-6.5.0-1024-gcpUbuntu
Fixed in:6.5.0-1024.26~22.04.1USN-6895-2
Fixed in:6.5.0-1024.26USN-6895-1
linux-image-6.5.0-1026-oracleUbuntu
Fixed in:6.5.0-1026.26~22.04.1USN-6895-3
linux-image-6.5.0-1026-oracle-64kUbuntu
Fixed in:6.5.0-1026.26~22.04.1USN-6895-3
linux-image-6.5.0-1027-oemUbuntu
Fixed in:6.5.0-1027.28USN-6895-4
linux-image-6.5.0-44-genericUbuntu
Fixed in:6.5.0-44.44~22.04.1USN-6900-1
Fixed in:6.5.0-44.44USN-6895-1
linux-image-6.5.0-44-generic-64kUbuntu
Fixed in:6.5.0-44.44~22.04.1USN-6900-1
Fixed in:6.5.0-44.44USN-6895-1
linux-image-6.5.0-44-lowlatencyUbuntu
Fixed in:6.5.0-44.44.1~22.04.1USN-6895-3
linux-image-6.5.0-44-lowlatency-64kUbuntu
Fixed in:6.5.0-44.44.1~22.04.1USN-6895-3
linux-image-awsUbuntu
Fixed in:6.5.0.1023.23~22.04.1USN-6895-3
linux-image-azureUbuntu
Fixed in:6.5.0.1024.25~22.04.1USN-6895-2
linux-image-azure-fdeUbuntu
Fixed in:6.5.0.1024.25~22.04.1USN-6895-2
linux-image-gcpUbuntu
Fixed in:6.5.0.1024.26~22.04.1USN-6895-2
Fixed in:6.5.0.1024.26USN-6895-1
linux-image-genericUbuntu
Fixed in:6.5.0.44.44USN-6895-1
linux-image-generic-64kUbuntu
Fixed in:6.5.0.44.44USN-6895-1
linux-image-generic-64k-hwe-22.04Ubuntu
Fixed in:6.5.0.44.44~22.04.1USN-6900-1
linux-image-generic-hwe-22.04Ubuntu
Fixed in:6.5.0.44.44~22.04.1USN-6900-1
linux-image-generic-lpaeUbuntu
Fixed in:6.5.0.44.44USN-6895-1
linux-image-kvmUbuntu
Fixed in:6.5.0.44.44USN-6895-1
linux-image-lowlatency-64k-hwe-22.04Ubuntu
Fixed in:6.5.0.44.44.1~22.04.1USN-6895-3
linux-image-lowlatency-hwe-22.04Ubuntu
Fixed in:6.5.0.44.44.1~22.04.1USN-6895-3
linux-image-nvidia-6.5Ubuntu
Fixed in:6.5.0.1023.31USN-6895-1
linux-image-nvidia-64k-6.5Ubuntu
Fixed in:6.5.0.1023.31USN-6895-1
linux-image-nvidia-64k-hwe-22.04Ubuntu
Fixed in:6.5.0.1023.31USN-6895-1
linux-image-nvidia-hwe-22.04Ubuntu
Fixed in:6.5.0.1023.31USN-6895-1
linux-image-oem-22.04Ubuntu
Fixed in:6.5.0.1027.29USN-6895-4
linux-image-oem-22.04aUbuntu
Fixed in:6.5.0.1027.29USN-6895-4
linux-image-oem-22.04bUbuntu
Fixed in:6.5.0.1027.29USN-6895-4
linux-image-oem-22.04cUbuntu
Fixed in:6.5.0.1027.29USN-6895-4
linux-image-oem-22.04dUbuntu
Fixed in:6.5.0.1027.29USN-6895-4
linux-image-oracleUbuntu
Fixed in:6.5.0.1026.26~22.04.1USN-6895-3
linux-image-oracle-64kUbuntu
Fixed in:6.5.0.1026.26~22.04.1USN-6895-3
linux-image-raspiUbuntu
Fixed in:6.5.0.1020.21USN-6895-1
linux-image-raspi-nolpaeUbuntu
Fixed in:6.5.0.1020.21USN-6895-1
linux-image-starfiveUbuntu
Fixed in:6.5.0.1017.18~22.04.1USN-6895-3
linux-image-virtualUbuntu
Fixed in:6.5.0.44.44USN-6895-1
linux-image-virtual-hwe-22.04Ubuntu
Fixed in:6.5.0.44.44~22.04.1USN-6900-1
Fixed in:6.5.0.44.44USN-6895-1
linux-lowlatency-hwe-6.5Ubuntu
Fixed in:6.5.0-44.44.1~22.04.1USN-6895-3
linux-nvidia-6.5Ubuntu
Fixed in:6.5.0-1023.24USN-6895-1
linux-oem-6.5Ubuntu
Fixed in:6.5.0-1027.28USN-6895-4
linux-oracle-6.5Ubuntu
Fixed in:6.5.0-1026.26~22.04.1USN-6895-3
linux-raspiUbuntu
Fixed in:6.5.0-1020.23USN-6895-1
linux-starfive-6.5Ubuntu
Fixed in:6.5.0-1017.18~22.04.1USN-6895-3

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.22%probability of exploitation in 30 days
13thpercentile

Low risk: more likely to be exploited than 13% of all known CVEs.

References

Related Vulnerabilities

Other CWE-401 (Missing Release of Memory (Memory Leak)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-13934High7.564%-Fix
CVE-2016-6304High7.563%-Fix
CVE-2019-12265Medium5.355%-Fix
CVE-2001-0136Medium5.045%--
CVE-2016-4232High7.536%--
CVE-2001-0543Medium5.021%--
Embed a live status badge for CVE-2024-26831
CVE-2024-26831 severity badge

Markdown

[![CVE-2024-26831](https://tridentstack.com/cve/badge/CVE-2024-26831.svg)](https://tridentstack.com/cve/CVE-2024-26831)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-26831"><img src="https://tridentstack.com/cve/badge/CVE-2024-26831.svg" alt="CVE-2024-26831"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-02.