linux: In the Linux kernel, the following vulnerability has been resolved: vfs: Don't evict inode under the inode lru trave...
CVE-2024-45003 is fixed in 59 products on 1 platform, first by DEBIAN-CVE-2024-45003, released September 4, 2024. It is not reported as exploited. Patch Radar priority: Routine.
In the Linux kernel, the following vulnerability has been resolved: vfs: Don't evict inode under the inode lru traversing context The inode reclaiming process(See function prune_icache_sb) collects all reclaimable inodes and mark them with I_FREEING flag at first, at that time, other processes will be stuck if they try getting these inodes (See function find_inode_fast), then the reclaiming process destroy the inodes by function dispose_list(). Some filesystems(eg. ext4 with ea_inode feature, ubifs with xattr) may do inode lookup in the inode evicting callback function, if the inode lookup is operated under the inode lru traversing context, deadlock problems may happen. Case 1: In function ext4_evict_inode(), the ea inode lookup could happen if ea_inode feature is enabled, the lookup process will be stuck under the evicting context like this: 1. File A has inode i_reg and an ea inode i_ea 2. getfattr(A, xattr_buf) // i_ea is added into lru // lru->i_ea 3. Then, following three processes running like this: PA PB echo 2 > /proc/sys/vm/drop_caches shrink_slab prune_dcache_sb // i_reg is added into lru, lru->i_ea->i_reg prune_icache_sb list_lru_walk_one inode_lru_isolate i_ea->i_state |= I_FREEING // set inode state inode_lru_isolate __iget(i_reg) spin_unlock(&i_reg->i_lock) spin_unlock(lru_lock) rm file A i_reg->nlink = 0 iput(i_reg) // i_reg->nlink is 0, do evict ext4_evict_inode ext4_xattr_delete_inode ext4_xattr_inode_dec_ref_all ext4_xattr_inode_iget ext4_iget(i_ea->i_ino) iget_locked find_inode_fast __wait_on_freeing_inode(i_ea) ----→ AA deadlock dispose_list // cannot be executed by prune_icache_sb wake_up_bit(&i_ea->i_state) Case 2: In deleted inode writing function ubifs_jnl_write_inode(), file deleting process holds BASEHD's wbuf->io_mutex while getting the xattr inode, which could race with inode reclaiming process(The reclaiming process could try locking BASEHD's wbuf->io_mutex in inode evicting function), then an ABBA deadlock problem would happen as following: 1. File A has inode ia and a xattr(with inode ixa), regular file B has inode ib and a xattr. 2. getfattr(A, xattr_buf) // ixa is added into lru // lru->ixa 3. Then, following three processes running like this: PA PB PC echo 2 > /proc/sys/vm/drop_caches shrink_slab prune_dcache_sb // ib and ia are added into lru, lru->ixa->ib->ia prune_icache_sb list_lru_walk_one inode_lru_isolate ixa->i_state |= I_FREEING // set inode state inode_lru_isolate __iget(ib) spin_unlock(&ib->i_lock) spin_unlock(lru_lock) rm file B ib->nlink = 0 rm file A iput(ia) ubifs_evict_inode(ia) ubifs_jnl_delete_inode(ia) ubifs_jnl_write_inode(ia) make_reservation(BASEHD) // Lock wbuf->io_mutex ubifs_iget(ixa->i_ino) iget_locked find_inode_fast __wait_on_freeing_inode(ixa) | iput(ib) // ib->nlink is 0, do evict | ubifs_evict_inode | ubifs_jnl_delete_inode(ib) ↓ ubifs_jnl_write_inode ABBA deadlock ←-----make_reservation(BASEHD) dispose_list // cannot be executed by prune_icache_sb wake_up_bit(&ixa->i_state) Fix the possible deadlock by using new inode state flag I_LRU_ISOLATING to pin the inode in memory while inode_lru_isolate( ---truncated---
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| bpftool · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| bpftool · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| bpftool · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| bpftool-debuginfo · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| dtb-aarch64 · opensuse-leap 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-64kb · opensuse-leap 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-64kb · sles 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-azure · opensuse-leap 15.6 | 6.4.0-150600.8.14.1 | SUSE-SU-2024:3551-1 | Oct 8, 2024 |
| kernel-azure · sles 15.6 | 6.4.0-150600.8.14.1 | SUSE-SU-2024:3551-1 | Oct 8, 2024 |
| kernel-debug · opensuse-leap 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-debuginfo · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-debuginfo-common-aarch64 · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-debuginfo-common-x86_64 · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-default · opensuse-leap 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-default · sles 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-default-base · opensuse-leap 15.6 | 6.4.0-150600.23.25.1.150600.12.10.2 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-default-base · sles 15.6 | 6.4.0-150600.23.25.1.150600.12.10.2 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-devel · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-docs · opensuse-leap 15.6 | 6.4.0-150600.23.25.2 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-docs · sles 15.6 | 6.4.0-150600.23.25.2 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-headers · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-kvmsmall · opensuse-leap 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-libbpf · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-libbpf-devel · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-libbpf-static · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-livepatch-6.1.109-118.189 · amzn 2023 | 1.0-0.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-livepatch-SLE15-SP6-RT_Update_4 · sles 15.6 | 1-150600.1.3.1 | SUSE-SU-2024:3564-1 | Oct 9, 2024 |
| kernel-livepatch-SLE15-SP6_Update_5 · sles 15.6 | 1-150600.13.3.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-modules-extra · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-modules-extra-common · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-obs-build · opensuse-leap 15.6 | 6.4.0-150600.23.25.2 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-obs-build · sles 15.6 | 6.4.0-150600.23.25.2 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-obs-qa · opensuse-leap 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-rt · opensuse-leap 15.6 | 6.4.0-150600.10.14.1 | SUSE-SU-2024:3564-1 | Oct 9, 2024 |
| kernel-rt_debug · opensuse-leap 15.6 | 6.4.0-150600.10.14.1 | SUSE-SU-2024:3564-1 | Oct 9, 2024 |
| kernel-source · opensuse-leap 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-source · sles 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-source-azure · opensuse-leap 15.6 | 6.4.0-150600.8.14.1 | SUSE-SU-2024:3551-1 | Oct 8, 2024 |
| kernel-source-azure · sles 15.6 | 6.4.0-150600.8.14.1 | SUSE-SU-2024:3551-1 | Oct 8, 2024 |
| kernel-source-rt · opensuse-leap 15.6 | 6.4.0-150600.10.14.1 | SUSE-SU-2024:3564-1 | Oct 9, 2024 |
| kernel-syms · opensuse-leap 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-syms · sles 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-syms-azure · opensuse-leap 15.6 | 6.4.0-150600.8.14.1 | SUSE-SU-2024:3551-1 | Oct 8, 2024 |
| kernel-syms-azure · sles 15.6 | 6.4.0-150600.8.14.1 | SUSE-SU-2024:3551-1 | Oct 8, 2024 |
| kernel-syms-rt · opensuse-leap 15.6 | 6.4.0-150600.10.14.1 | SUSE-SU-2024:3564-1 | Oct 9, 2024 |
| kernel-tools · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-tools-debuginfo · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-tools-devel · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| kernel-uek · ol 8 | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 | Nov 12, 2024 |
| kernel-uek · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-container · ol 8 | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 | Nov 12, 2024 |
| kernel-uek-container · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-container · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-container-debug · ol 8 | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 | Nov 12, 2024 |
| kernel-uek-container-debug · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-container-debug · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-core · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-core · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-debug · ol 8 | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 | Nov 12, 2024 |
| kernel-uek-debug · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-debug · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-debug-core · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-debug-core · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-debug-devel · ol 8 | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 | Nov 12, 2024 |
| kernel-uek-debug-devel · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-debug-devel · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-debug-modules · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-debug-modules · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-debug-modules-extra · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-debug-modules-extra · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-devel · ol 8 | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 | Nov 12, 2024 |
| kernel-uek-devel · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-devel · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-doc · ol 8 | 0:5.4.17-2136.337.5.el8uek | ELSA-2024-12813 | Nov 12, 2024 |
| kernel-uek-doc · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-doc · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-modules · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-modules · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-modules-extra · ol 8 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-modules-extra · ol 9 | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 | Nov 11, 2024 |
| kernel-uek-tools · ol 8 | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 | Nov 12, 2024 |
| kernel-uek-tools-libs · ol 8 | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 | Nov 12, 2024 |
| kernel-zfcpdump · opensuse-leap 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| kernel-zfcpdump · sles 15.6 | 6.4.0-150600.23.25.1 | SUSE-SU-2024:3561-1 | Oct 9, 2024 |
| linux · Debian 12.15 (bookworm) | 6.1.112-1 | DEBIAN-CVE-2024-45003 | Sep 4, 2024 |
| linux · Debian 13.5 (trixie) | 6.10.7-1 | DEBIAN-CVE-2024-45003 | Sep 4, 2024 |
| linux · Debian 14 | 6.10.7-1 | DEBIAN-CVE-2024-45003 | Sep 4, 2024 |
| perf · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| perf · ol 8 | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 | Nov 12, 2024 |
| perf-debuginfo · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| python-perf · ol 8 | 0:5.4.17-2136.337.5.el7uek | ELSA-2024-12813 | Nov 12, 2024 |
| python3-perf · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 2024 |
| python3-perf-debuginfo · amzn 2023 | 6.1.109-118.189.amzn2023 | ALAS2023-2024-779 | Dec 5, 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.