Skip to content
Heist/ feed
Back to feed
MediumFix available

modpost: fix off by one in is_executable_section()

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.322, 5.10.188, 5.15.121, 5.4.251, 6.1.39, 6.3.13, 6.4.4
CVEs
CVE-2023-53397
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:45 UTC · Revision 1

Source evidence

modpost: fix off by one in is_executable_section()

core-osv · Original source

Published 18 Sept 2025, 13:33 UTC

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.

osv:CVE-2023-53397

Kernel

Fixed versions: 4.14.322, 5.4.251, 5.10.188, 5.15.121, 6.1.39, 6.3.13, 6.4.4

Complete source record
{
  "id": "b3f8c4d715c763df67b323eeca6c3cf10a102f1cb0642152ac320219b6efadf5",
  "url": "https://osv.dev/vulnerability/CVE-2023-53397",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "modpost: fix off by one in is_executable_section()",
    "summary": "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.",
    "evidence": "osv:CVE-2023-53397",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.14.322",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.251",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.121",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.39",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.3.13",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.4.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-53397",
      "aliases": [
        "CVE-2023-53397"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "52dc0595d540155436d91811f929bdc8afd6a2a1"
                },
                {
                  "fixed": "7ee557590bac154d324de446d1cd0444988bd511"
                },
                {
                  "fixed": "02dc8e8bdbe4412cfcf17ee3873e63fa5a55b957"
                },
                {
                  "fixed": "cb0cdca5c979bc34c27602e2039562932c2591a4"
                },
                {
                  "fixed": "5e0424cd8a44b5f480feb06753cdf4e1f248d148"
                },
                {
                  "fixed": "dd872d5576cc94528f427c7264c2c438928cc6d2"
                },
                {
                  "fixed": "cade370efe2f9e2a79ea8587506ffe2b51ac6d2b"
                },
                {
                  "fixed": "8b2e77050b91199453bf19d0517b047b7339a9e3"
                },
                {
                  "fixed": "3a3f1e573a105328a2cca45a7cfbebabbf5e3192"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53397.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.1.0"
                },
                {
                  "fixed": "4.14.322"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "5.4.251"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.121"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.39"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.3.13"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.4.0"
                },
                {
                  "fixed": "6.4.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53397.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.078473834Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/02dc8e8bdbe4412cfcf17ee3873e63fa5a55b957",
        "https://git.kernel.org/stable/c/3a3f1e573a105328a2cca45a7cfbebabbf5e3192",
        "https://git.kernel.org/stable/c/5e0424cd8a44b5f480feb06753cdf4e1f248d148",
        "https://git.kernel.org/stable/c/7ee557590bac154d324de446d1cd0444988bd511",
        "https://git.kernel.org/stable/c/8b2e77050b91199453bf19d0517b047b7339a9e3",
        "https://git.kernel.org/stable/c/cade370efe2f9e2a79ea8587506ffe2b51ac6d2b",
        "https://git.kernel.org/stable/c/cb0cdca5c979bc34c27602e2039562932c2591a4",
        "https://git.kernel.org/stable/c/dd872d5576cc94528f427c7264c2c438928cc6d2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53397.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53397",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53397.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53397",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496474,
  "published_at": "2025-09-18T13:33:38.093+00:00"
}