| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2024-36947: qibfs: fix dentry leak |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| qibfs: fix dentry leak |
| |
| simple_recursive_removal() drops the pinning references to all positives |
| in subtree. For the cases when its argument has been kept alive by |
| the pinning alone that's exactly the right thing to do, but here |
| the argument comes from dcache lookup, that needs to be balanced by |
| explicit dput(). |
| |
| Fucked-up-by: Al Viro <viro@zeniv.linux.org.uk> |
| |
| The Linux kernel CVE team has assigned CVE-2024-36947 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.13 with commit e41d237818598c0b17458b4d0416b091a7959e55 and fixed in 5.15.159 with commit 24dd9b08df718f20ccf2dd1519909fefd8c233ee |
| Issue introduced in 5.13 with commit e41d237818598c0b17458b4d0416b091a7959e55 and fixed in 6.1.91 with commit bd8f78c71defbcb7a9ed331e7f287507df972b00 |
| Issue introduced in 5.13 with commit e41d237818598c0b17458b4d0416b091a7959e55 and fixed in 6.6.31 with commit db71ca93259dd1078bcfea3afafde2143cfc2da7 |
| Issue introduced in 5.13 with commit e41d237818598c0b17458b4d0416b091a7959e55 and fixed in 6.8.10 with commit 02ee394a5d899d9bd2f0759382e9481cab6166f8 |
| Issue introduced in 5.13 with commit e41d237818598c0b17458b4d0416b091a7959e55 and fixed in 6.9 with commit aa23317d0268b309bb3f0801ddd0d61813ff5afb |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2024-36947 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| drivers/infiniband/hw/qib/qib_fs.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/24dd9b08df718f20ccf2dd1519909fefd8c233ee |
| https://git.kernel.org/stable/c/bd8f78c71defbcb7a9ed331e7f287507df972b00 |
| https://git.kernel.org/stable/c/db71ca93259dd1078bcfea3afafde2143cfc2da7 |
| https://git.kernel.org/stable/c/02ee394a5d899d9bd2f0759382e9481cab6166f8 |
| https://git.kernel.org/stable/c/aa23317d0268b309bb3f0801ddd0d61813ff5afb |