CVE-2024-47733
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
21/10/2024
Last modified:
23/10/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
netfs: Delete subtree of &#39;fs/netfs&#39; when netfs module exits<br />
<br />
In netfs_init() or fscache_proc_init(), we create dentry under &#39;fs/netfs&#39;,<br />
but in netfs_exit(), we only delete the proc entry of &#39;fs/netfs&#39; without<br />
deleting its subtree. This triggers the following WARNING:<br />
<br />
==================================================================<br />
remove_proc_entry: removing non-empty directory &#39;fs/netfs&#39;, leaking at least &#39;requests&#39;<br />
WARNING: CPU: 4 PID: 566 at fs/proc/generic.c:717 remove_proc_entry+0x160/0x1c0<br />
Modules linked in: netfs(-)<br />
CPU: 4 UID: 0 PID: 566 Comm: rmmod Not tainted 6.11.0-rc3 #860<br />
RIP: 0010:remove_proc_entry+0x160/0x1c0<br />
Call Trace:<br />
<br />
netfs_exit+0x12/0x620 [netfs]<br />
__do_sys_delete_module.isra.0+0x14c/0x2e0<br />
do_syscall_64+0x4b/0x110<br />
entry_SYSCALL_64_after_hwframe+0x76/0x7e<br />
==================================================================<br />
<br />
Therefore use remove_proc_subtree() instead of remove_proc_entry() to<br />
fix the above problem.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.8 (including) | 6.10.13 (excluding) |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.11 (including) | 6.11.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page