[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024122716-CVE-2024-56570-7580@gregkh>
Date: Fri, 27 Dec 2024 15:23:21 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-56570: ovl: Filter invalid inodes with missing lookup function
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ovl: Filter invalid inodes with missing lookup function
Add a check to the ovl_dentry_weird() function to prevent the
processing of directory inodes that lack the lookup function.
This is important because such inodes can cause errors in overlayfs
when passed to the lowerstack.
The Linux kernel CVE team has assigned CVE-2024-56570 to this issue.
Affected and fixed versions
===========================
Fixed in 5.4.287 with commit f9248e2f73fb4afe08324485e98c815ac084d166
Fixed in 5.10.231 with commit 5f86e79c0b2287ffdabe6c1b305a36c4e0f40fe3
Fixed in 5.15.174 with commit 749eac5a6687ec99116e0691d0d71225254654e3
Fixed in 6.1.120 with commit ff43d008bbf9b27ada434d6455f039a5ef6cee53
Fixed in 6.6.64 with commit 065bf5dd21639f80e68450de16bda829784dbb8c
Fixed in 6.12.4 with commit 72014e7745cc8250bb8f27bd78694dfd3f1b5773
Fixed in 6.13-rc1 with commit c8b359dddb418c60df1a69beea01d1b3322bfe83
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-56570
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:
fs/overlayfs/util.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/f9248e2f73fb4afe08324485e98c815ac084d166
https://git.kernel.org/stable/c/5f86e79c0b2287ffdabe6c1b305a36c4e0f40fe3
https://git.kernel.org/stable/c/749eac5a6687ec99116e0691d0d71225254654e3
https://git.kernel.org/stable/c/ff43d008bbf9b27ada434d6455f039a5ef6cee53
https://git.kernel.org/stable/c/065bf5dd21639f80e68450de16bda829784dbb8c
https://git.kernel.org/stable/c/72014e7745cc8250bb8f27bd78694dfd3f1b5773
https://git.kernel.org/stable/c/c8b359dddb418c60df1a69beea01d1b3322bfe83
Powered by blists - more mailing lists