[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091859-CVE-2023-53397-2076@gregkh>
Date: Thu, 18 Sep 2025 15:34:42 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53397: modpost: fix off by one in is_executable_section()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
modpost: fix off by one in is_executable_section()
The > comparison should be >= to prevent an out of bounds array
access.
The Linux kernel CVE team has assigned CVE-2023-53397 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.1 with commit 52dc0595d540155436d91811f929bdc8afd6a2a1 and fixed in 4.14.322 with commit 7ee557590bac154d324de446d1cd0444988bd511
Issue introduced in 4.1 with commit 52dc0595d540155436d91811f929bdc8afd6a2a1 and fixed in 5.4.251 with commit 02dc8e8bdbe4412cfcf17ee3873e63fa5a55b957
Issue introduced in 4.1 with commit 52dc0595d540155436d91811f929bdc8afd6a2a1 and fixed in 5.10.188 with commit cb0cdca5c979bc34c27602e2039562932c2591a4
Issue introduced in 4.1 with commit 52dc0595d540155436d91811f929bdc8afd6a2a1 and fixed in 5.15.121 with commit 5e0424cd8a44b5f480feb06753cdf4e1f248d148
Issue introduced in 4.1 with commit 52dc0595d540155436d91811f929bdc8afd6a2a1 and fixed in 6.1.39 with commit dd872d5576cc94528f427c7264c2c438928cc6d2
Issue introduced in 4.1 with commit 52dc0595d540155436d91811f929bdc8afd6a2a1 and fixed in 6.3.13 with commit cade370efe2f9e2a79ea8587506ffe2b51ac6d2b
Issue introduced in 4.1 with commit 52dc0595d540155436d91811f929bdc8afd6a2a1 and fixed in 6.4.4 with commit 8b2e77050b91199453bf19d0517b047b7339a9e3
Issue introduced in 4.1 with commit 52dc0595d540155436d91811f929bdc8afd6a2a1 and fixed in 6.5 with commit 3a3f1e573a105328a2cca45a7cfbebabbf5e3192
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-53397
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:
scripts/mod/modpost.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/7ee557590bac154d324de446d1cd0444988bd511
https://git.kernel.org/stable/c/02dc8e8bdbe4412cfcf17ee3873e63fa5a55b957
https://git.kernel.org/stable/c/cb0cdca5c979bc34c27602e2039562932c2591a4
https://git.kernel.org/stable/c/5e0424cd8a44b5f480feb06753cdf4e1f248d148
https://git.kernel.org/stable/c/dd872d5576cc94528f427c7264c2c438928cc6d2
https://git.kernel.org/stable/c/cade370efe2f9e2a79ea8587506ffe2b51ac6d2b
https://git.kernel.org/stable/c/8b2e77050b91199453bf19d0517b047b7339a9e3
https://git.kernel.org/stable/c/3a3f1e573a105328a2cca45a7cfbebabbf5e3192
Powered by blists - more mailing lists