CVE-2024-38580

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
19/06/2024
Last modified:
04/08/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> epoll: be better about file lifetimes<br /> <br /> epoll can call out to vfs_poll() with a file pointer that may race with<br /> the last &amp;#39;fput()&amp;#39;. That would make f_count go down to zero, and while<br /> the ep-&gt;mtx locking means that the resulting file pointer tear-down will<br /> be blocked until the poll returns, it means that f_count is already<br /> dead, and any use of it won&amp;#39;t actually get a reference to the file any<br /> more: it&amp;#39;s dead regardless.<br /> <br /> Make sure we have a valid ref on the file pointer before we call down to<br /> vfs_poll() from the epoll routines.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.15.161 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.93 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.33 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.8.12 (excluding)
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc6:*:*:*:*:*:*