Skip to contentSkip to conversation

CVE-2023-53117: fs: prevent out-of-bounds array speculation when closing a file descriptor

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 2, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

fs: prevent out-of-bounds array speculation when closing a file descriptor

Google-Bug-Id: 114199369

The Linux kernel CVE team has assigned CVE-2023-53117 to this issue.

Affected and fixed versions
===========================

	Fixed in 4.14.310 with commit f31cd5da636682caea424fa1c22679016cbfc16b
	Fixed in 4.19.278 with commit 3d5d9501b634fd268eb56428cda92cd317752d69
	Fixed in 5.4.237 with commit 6631c8da02cfad96c53b217cf647b511c7f34faf
	Fixed in 5.10.175 with commit a759905de9cd6ec9ca08ceadf0920272772ed830
	Fixed in 5.15.103 with commit f8cd8754a03a3748384ee438c572423643c9c315
	Fixed in 6.1.20 with commit cec08b7d1ebcd3138d4658b3868ce26aeb1e8e06
	Fixed in 6.2.7 with commit eea8e4e056a5ffbeb539a13854c017d5d62c756a
	Fixed in 6.3 with commit 609d54441493c99f21c1823dfd66fa7f4c512ff4

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-2023-53117

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/file.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/f31cd5da636682caea424fa1c22679016cbfc16b
	https://git.kernel.org/stable/c/3d5d9501b634fd268eb56428cda92cd317752d69
	https://git.kernel.org/stable/c/6631c8da02cfad96c53b217cf647b511c7f34faf
	https://git.kernel.org/stable/c/a759905de9cd6ec9ca08ceadf0920272772ed830
	https://git.kernel.org/stable/c/f8cd8754a03a3748384ee438c572423643c9c315
	https://git.kernel.org/stable/c/cec08b7d1ebcd3138d4658b3868ce26aeb1e8e06
	https://git.kernel.org/stable/c/eea8e4e056a5ffbeb539a13854c017d5d62c756a
	https://git.kernel.org/stable/c/609d54441493c99f21c1823dfd66fa7f4c512ff4