CVE-2024-26689

linux: In the Linux kernel, the following vulnerability has been resolved: ceph: prevent use-after-free in encode_cap_msg()...

CVE-2024-26689 is fixed in 22 products on 1 platform, first by ALAS2023-2024-549, released February 29, 2024. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.8
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0070
53rd percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
bpftool · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
bpftool-debuginfo · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-debuginfo · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-debuginfo-common-aarch64 · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-debuginfo-common-x86_64 · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-devel · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-headers · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-libbpf · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-libbpf-devel · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-libbpf-static · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-livepatch-6.1.79-99.164 · amzn 2023 1.0-0.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-modules-extra · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-modules-extra-common · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-tools · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-tools-debuginfo · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
kernel-tools-devel · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
linux · Debian 12.15 (bookworm) 6.1.82-1 DEBIAN-CVE-2024-26689 Apr 3, 2024
linux · Debian 13.5 (trixie) 6.7.7-1 DEBIAN-CVE-2024-26689 Apr 3, 2024
linux · Debian 14 6.7.7-1 DEBIAN-CVE-2024-26689 Apr 3, 2024
perf · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
perf-debuginfo · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
python3-perf · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024
python3-perf-debuginfo · amzn 2023 6.1.79-99.164.amzn2023 ALAS2023-2024-549 Feb 29, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.