Linux Kernel up to 6.6.45/6.10.4 tracefs i_lru initialization

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.9 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as problematic has been found in Linux Kernel up to 6.6.45/6.10.4. This impacts the function i_lru of the component tracefs. Executing a manipulation can lead to initialization.
This vulnerability appears as CVE-2024-44959. There is no available exploit.
The affected component should be upgraded.
Details
A vulnerability has been found in Linux Kernel up to 6.6.45/6.10.4 and classified as problematic. This vulnerability affects the function i_lru of the component tracefs. The manipulation with an unknown input leads to a initialization vulnerability. The CWE definition for the vulnerability is CWE-665. The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used. The impact remains unknown. CVE summarizes:
In the Linux kernel, the following vulnerability has been resolved: tracefs: Use generic inode RCU for synchronizing freeing With structure layout randomization enabled for 'struct inode' we need to avoid overlapping any of the RCU-used / initialized-only-once members, e.g. i_lru or i_sb_list to not corrupt related list traversals when making use of the rcu_head. For an unlucky structure layout of 'struct inode' we may end up with the following splat when running the ftrace selftests: [] list_del corruption, ffff888103ee2cb0->next (tracefs_inode_cache+0x0/0x4e0 [slab object]) is NULL (prev is tracefs_inode_cache+0x78/0x4e0 [slab object]) [] ------------[ cut here ]------------ [] kernel BUG at lib/list_debug.c:54! [] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [] CPU: 3 PID: 2550 Comm: mount Tainted: G N 6.8.12-grsec+ #122 ed2f536ca62f28b087b90e3cc906a8d25b3ddc65 [] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-2 04/01/2014 [] RIP: 0010:[] __list_del_entry_valid_or_report+0x138/0x3e0 [] Code: 48 b8 99 fb 65 f2 ff ff ff ff e9 03 5c d9 fc cc 48 b8 99 fb 65 f2 ff ff ff ff e9 33 5a d9 fc cc 48 b8 99 fb 65 f2 ff ff ff ff 0b 4c 89 e9 48 89 ea 48 89 ee 48 c7 c7 60 8f dd 89 31 c0 e8 2f [] RSP: 0018:fffffe80416afaf0 EFLAGS: 00010283 [] RAX: 0000000000000098 RBX: ffff888103ee2cb0 RCX: 0000000000000000 [] RDX: ffffffff84655fe8 RSI: ffffffff89dd8b60 RDI: 0000000000000001 [] RBP: ffff888103ee2cb0 R08: 0000000000000001 R09: fffffbd0082d5f25 [] R10: fffffe80416af92f R11: 0000000000000001 R12: fdf99c16731d9b6d [] R13: 0000000000000000 R14: ffff88819ad4b8b8 R15: 0000000000000000 [] RBX: tracefs_inode_cache+0x0/0x4e0 [slab object] [] RDX: __list_del_entry_valid_or_report+0x108/0x3e0 [] RSI: __func__.47+0x4340/0x4400 [] RBP: tracefs_inode_cache+0x0/0x4e0 [slab object] [] RSP: process kstack fffffe80416afaf0+0x7af0/0x8000 [mount 2550 2550] [] R09: kasan shadow of process kstack fffffe80416af928+0x7928/0x8000 [mount 2550 2550] [] R10: process kstack fffffe80416af92f+0x792f/0x8000 [mount 2550 2550] [] R14: tracefs_inode_cache+0x78/0x4e0 [slab object] [] FS: 00006dcb380c1840(0000) GS:ffff8881e0600000(0000) knlGS:0000000000000000 [] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [] CR2: 000076ab72b30e84 CR3: 000000000b088004 CR4: 0000000000360ef0 shadow CR4: 0000000000360ef0 [] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [] ASID: 0003 [] Stack: [] ffffffff818a2315 00000000f5c856ee ffffffff896f1840 ffff888103ee2cb0 [] ffff88812b6b9750 0000000079d714b6 fffffbfff1e9280b ffffffff8f49405f [] 0000000000000001 0000000000000000 ffff888104457280 ffffffff8248b392 [] Call Trace: [] [] [] ? lock_release+0x175/0x380 fffffe80416afaf0 [] [] list_lru_del+0x152/0x740 fffffe80416afb48 [] [] list_lru_del_obj+0x113/0x280 fffffe80416afb88 [] [] ? _atomic_dec_and_lock+0x119/0x200 fffffe80416afb90 [] [] iput_final+0x1c4/0x9a0 fffffe80416afbb8 [] [] dentry_unlink_inode+0x44b/0xaa0 fffffe80416afbf8 [] [] __dentry_kill+0x23c/0xf00 fffffe80416afc40 [] [] ? __this_cpu_preempt_check+0x1f/0xa0 fffffe80416afc48 [] [] ? shrink_dentry_list+0x1c5/0x760 fffffe80416afc70 [] [] ? shrink_dentry_list+0x51/0x760 fffffe80416afc78 [] [] shrink_dentry_list+0x288/0x760 fffffe80416afc80 [] [] shrink_dcache_sb+0x155/0x420 fffffe80416afcc8 [] [] ? debug_smp_processor_id+0x23/0xa0 fffffe80416afce0 [] [] ? do_one_tre ---truncated---
The advisory is available at git.kernel.org. This vulnerability was named CVE-2024-44959 since 08/21/2024. The exploitation appears to be difficult. Technical details are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 212724 (Ubuntu 22.04 LTS / 24.04 LTS : Linux kernel vulnerabilities (USN-7154-1)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 6.6.46 or 6.10.5 eliminates this vulnerability. Applying the patch 726f4c241e17/061da60716ce/0b6743bd60a5 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (212724). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Vendor
Name
Version
- 6.6.0
- 6.6.1
- 6.6.2
- 6.6.3
- 6.6.4
- 6.6.5
- 6.6.6
- 6.6.7
- 6.6.8
- 6.6.9
- 6.6.10
- 6.6.11
- 6.6.12
- 6.6.13
- 6.6.14
- 6.6.15
- 6.6.16
- 6.6.17
- 6.6.18
- 6.6.19
- 6.6.20
- 6.6.21
- 6.6.22
- 6.6.23
- 6.6.24
- 6.6.25
- 6.6.26
- 6.6.27
- 6.6.28
- 6.6.29
- 6.6.30
- 6.6.31
- 6.6.32
- 6.6.33
- 6.6.34
- 6.6.35
- 6.6.36
- 6.6.37
- 6.6.38
- 6.6.39
- 6.6.40
- 6.6.41
- 6.6.42
- 6.6.43
- 6.6.44
- 6.6.45
- 6.10.0
- 6.10.1
- 6.10.2
- 6.10.3
- 6.10.4
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.0VulDB Meta Temp Score: 4.9
VulDB Base Score: 4.6
VulDB Temp Score: 4.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: InitializationCWE: CWE-665
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 212724
Nessus Name: Ubuntu 22.04 LTS / 24.04 LTS : Linux kernel vulnerabilities (USN-7154-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 6.6.46/6.10.5
Patch: 726f4c241e17/061da60716ce/0b6743bd60a5
Timeline
08/21/2024 🔍09/04/2024 🔍
09/04/2024 🔍
12/13/2024 🔍
Sources
Vendor: kernel.orgAdvisory: git.kernel.org
Status: Confirmed
CVE: CVE-2024-44959 (🔍)
GCVE (CVE): GCVE-0-2024-44959
GCVE (VulDB): GCVE-100-276538
Entry
Created: 09/04/2024 21:45Updated: 12/13/2024 13:05
Changes: 09/04/2024 21:45 (58), 09/06/2024 08:00 (1), 10/11/2024 03:11 (11), 12/13/2024 13:05 (2)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.