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