# CVE-2024-26972: linux: In the Linux kernel, the following vulnerability has been resolved:  ubifs: ubifs_symlink: Fix memleak of inode->i_li...

CVE-2024-26972 is fixed in 43 products on 1 platform, first by ALAS2023-2024-517, released February 15, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-26972
- Priority: High
- CVSS: n/a (important)
- EPSS: n/a
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 15, 2024

## Description

In the Linux kernel, the following vulnerability has been resolved:  ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path  For error handling path in ubifs_symlink(), inode will be marked as bad first, then iput() is invoked. If inode->i_link is initialized by fscrypt_encrypt_symlink() in encryption scenario, inode->i_link won't be freed by callchain ubifs_free_inode -> fscrypt_free_inode in error handling path, because make_bad_inode() has changed 'inode->i_mode' as 'S_IFREG'. Following kmemleak is easy to be reproduced by injecting error in ubifs_jnl_update() when doing symlink in encryption scenario:  unreferenced object 0xffff888103da3d98 (size 8):   comm "ln", pid 1692, jiffies 4294914701 (age 12.045s)   backtrace:    kmemdup+0x32/0x70    __fscrypt_encrypt_symlink+0xed/0x1c0    ubifs_symlink+0x210/0x300 [ubifs]    vfs_symlink+0x216/0x360    do_symlinkat+0x11a/0x190    do_syscall_64+0x3b/0xe0 There are two ways fixing it:  1. Remove make_bad_inode() in error handling path. We can do that     because ubifs_evict_inode() will do same processes for good     symlink inode and bad symlink inode, for inode->i_nlink checking     is before is_bad_inode().  2. Free inode->i_link before marking inode bad. Method 2 is picked, it has less influence, personally, I think.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | bpftool-debuginfo amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | dtb-aarch64 opensuse-leap 15.6 | 6.4.0-150600.23.7.1 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-64kb opensuse-leap 15.6 | 6.4.0-150600.23.7.3 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-64kb sles 15.6 | 6.4.0-150600.23.7.3 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-azure opensuse-leap 15.6 | 6.4.0-150600.8.5.4 | [SUSE-SU-2024:2135-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2135-1.md) | Jun 21, 2024 |
| Linux | kernel-azure sles 15.6 | 6.4.0-150600.8.5.4 | [SUSE-SU-2024:2135-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2135-1.md) | Jun 21, 2024 |
| Linux | kernel-debug opensuse-leap 15.6 | 6.4.0-150600.23.7.3 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-debuginfo amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-debuginfo-common-aarch64 amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-debuginfo-common-x86_64 amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-default opensuse-leap 15.6 | 6.4.0-150600.23.7.3 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-default sles 15.6 | 6.4.0-150600.23.7.3 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-default-base opensuse-leap 15.6 | 6.4.0-150600.23.7.3.150600.12.2.7 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-default-base sles 15.6 | 6.4.0-150600.23.7.3.150600.12.2.7 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-devel amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-docs opensuse-leap 15.6 | 6.4.0-150600.23.7.4 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-docs sles 15.6 | 6.4.0-150600.23.7.4 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-headers amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-kvmsmall opensuse-leap 15.6 | 6.4.0-150600.23.7.3 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-libbpf amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-libbpf-devel amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-libbpf-static amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-livepatch-6.1.77-99.164 amzn 2023 | 1.0-0.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-livepatch-SLE15-SP6-RT_Update_1 sles 15.6 | 1-150600.1.5.1 | [SUSE-SU-2024:2973-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2973-1.md) | Aug 20, 2024 |
| Linux | kernel-livepatch-SLE15-SP6_Update_1 sles 15.6 | 1-150600.13.3.7 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-modules-extra amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-modules-extra-common amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-obs-build opensuse-leap 15.6 | 6.4.0-150600.23.7.3 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-obs-build sles 15.6 | 6.4.0-150600.23.7.3 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-obs-qa opensuse-leap 15.6 | 6.4.0-150600.23.7.1 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-rt opensuse-leap 15.6 | 6.4.0-150600.10.5.1 | [SUSE-SU-2024:2973-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2973-1.md) | Aug 20, 2024 |
| Linux | kernel-rt_debug opensuse-leap 15.6 | 6.4.0-150600.10.5.1 | [SUSE-SU-2024:2973-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2973-1.md) | Aug 20, 2024 |
| Linux | kernel-source opensuse-leap 15.6 | 6.4.0-150600.23.7.2 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-source sles 15.6 | 6.4.0-150600.23.7.2 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-source-azure opensuse-leap 15.6 | 6.4.0-150600.8.5.4 | [SUSE-SU-2024:2135-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2135-1.md) | Jun 21, 2024 |
| Linux | kernel-source-azure sles 15.6 | 6.4.0-150600.8.5.4 | [SUSE-SU-2024:2135-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2135-1.md) | Jun 21, 2024 |
| Linux | kernel-source-rt opensuse-leap 15.6 | 6.4.0-150600.10.5.1 | [SUSE-SU-2024:2973-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2973-1.md) | Aug 20, 2024 |
| Linux | kernel-syms opensuse-leap 15.6 | 6.4.0-150600.23.7.1 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-syms sles 15.6 | 6.4.0-150600.23.7.1 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-syms-azure opensuse-leap 15.6 | 6.4.0-150600.8.5.1 | [SUSE-SU-2024:2135-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2135-1.md) | Jun 21, 2024 |
| Linux | kernel-syms-azure sles 15.6 | 6.4.0-150600.8.5.1 | [SUSE-SU-2024:2135-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2135-1.md) | Jun 21, 2024 |
| Linux | kernel-syms-rt opensuse-leap 15.6 | 6.4.0-150600.10.5.1 | [SUSE-SU-2024:2973-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2973-1.md) | Aug 20, 2024 |
| Linux | kernel-tools amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-tools-debuginfo amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-tools-devel amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | kernel-zfcpdump opensuse-leap 15.6 | 6.4.0-150600.23.7.3 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | kernel-zfcpdump sles 15.6 | 6.4.0-150600.23.7.3 | [SUSE-SU-2024:2203-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2203-1.md) | Jun 25, 2024 |
| Linux | linux Debian 13.5 (trixie) | 6.8.9-1 | [CVE-2024-26972](https://patchblox.com/security/data/fix/linux/cve-2024-26972.md) | May 1, 2024 |
| Linux | perf amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | perf-debuginfo amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | python3-perf amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |
| Linux | python3-perf-debuginfo amzn 2023 | 6.1.77-99.164.amzn2023 | [ALAS2023-2024-517](https://patchblox.com/security/data/fix/linux/alas2023-2024-517.md) | Feb 15, 2024 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
