cve.bz

CVE-2024-26689 Use After Free

7.8 highEPSS 0.7%Fix available

High (7.8). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: ceph: prevent use-after-free in encode_cap_msg() In fs/ceph/caps.c, in encode_cap_msg(), "use after free" error was caught by KASAN at this line - 'ceph_buffer_get(arg->xattr_buf);'. This implies before the refcount could be increment here, it was freed. In same file, in "handle_cap_grant()" refcount is decremented by this line - 'ceph_buffer_put(ci->i_xattrs.blob);'. It appears that a race occurred and resource was freed by the latter line before the former line could increment it. encode_cap_msg() is called by __send_cap() and __send_cap() is called by ceph_check_caps() after calling __prep_cap(). __prep_cap() is where arg->xattr_buf is assigned to ci->i_xattrs.blob. This is the spot where the refcount must be increased to prevent "use after free" error.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-26689 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-26689?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-26689?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-26689 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux2.6.34 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.210
Linux5.155.15.149
Linux6.16.1.79
Linux6.66.6.18
Linux6.76.7.6
Linuxlater releases6.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux-5.105.10.216-1~deb10u1DLA-3842-1
Debian11linux5.10.216-1DSA-5681-1
Debian12linux6.1.82-1DEBIAN-CVE-2024-26689
Debian13, 14linux6.7.7-1DEBIAN-CVE-2024-26689
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-26689
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2024-26689
Ubuntu20.04:LTSlinux5.4.0-215.235UBUNTU-CVE-2024-26689 USN-7495-1
Ubuntu20.04:LTSlinux-aws5.4.0-1145.155UBUNTU-CVE-2024-26689 USN-7495-1
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1061.67~20.04.1UBUNTU-CVE-2024-26689 USN-6766-3
Ubuntu20.04:LTSlinux-azure5.4.0-1150.157UBUNTU-CVE-2024-26689 USN-7495-3
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1063.72~20.04.1UBUNTU-CVE-2024-26689 USN-6766-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1063.72~20.04.1.1USN-6766-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1105.112UBUNTU-CVE-2024-26689 USN-7517-3
Ubuntu20.04:LTSlinux-gcp5.4.0-1148.157UBUNTU-CVE-2024-26689 USN-7495-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1059.67~20.04.1UBUNTU-CVE-2024-26689 USN-6766-1
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 25 moreno fix listedUBUNTU-CVE-2024-26689
106 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-syms, kernel-source and 3 more5.3.18-150300.59.161.1SUSE-SU-2024:1642-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.161.1.150300.18.94.1SUSE-SU-2024:1642-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morekernel-docs5.3.18-150300.59.161.2SUSE-SU-2024:1642-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.216.1SUSE-SU-2024:1870-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.191.1SUSE-SU-2024:1650-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.161.1SUSE-SU-2024:1642-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.119.1SUSE-SU-2024:1641-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.62.2SUSE-SU-2024:1659-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default-base5.3.18-150200.24.191.1.150200.9.97.1SUSE-SU-2024:1650-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.191.1SUSE-SU-2024:1650-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.119.1SUSE-SU-2024:1641-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.119.1.150400.24.56.1SUSE-SU-2024:1641-1
25 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5dtb-aarch64, kernel-syms, kernel-obs-qa5.14.21-150500.55.62.1SUSE-SU-2024:1659-1
openSUSELeap 15.5kernel-64kb, kernel-docs, kernel-debug and 5 more5.14.21-150500.55.62.2SUSE-SU-2024:1659-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.48.1SUSE-SU-2024:1490-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.62.2.150500.6.27.2SUSE-SU-2024:1659-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.52.1SUSE-SU-2024:1663-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default5.14.21-150400.24.119.1SUSE-SU-2024:1641-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default-base5.14.21-150400.24.119.1.150400.24.56.1SUSE-SU-2024:1641-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-rt5.14.21-150400.15.79.1SUSE-SU-2024:1647-1
Alpaquita23linux-lts6.1.81-r0BELL-CVE-2024-26689
Alpaquita25, streamlinux-lts6.12.41-r0BELL-CVE-2024-26689

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelWill not fix
Red Hat Enterprise Linux 8kernel-rtWill not fix
Red Hat Enterprise Linux 9kernelAffected
Red Hat Enterprise Linux 9kernel-rtWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-26689.

References

Check your stackJSON