Skip to content
Heist/ feed
Back to feed
MediumFix available

net/sctp: Prevent autoclose integer overflow in sctp_association_init()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: net/sctp: Prevent autoclose integer overflow in sctp_association_init() While by default max_autoclose equals to INT_MAX / HZ, one may set net.sctp.max_autoclose to UINT_MAX. There is code in sctp_association_init() that can consequently trigger overflow.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.233, 5.15.176, 5.4.289, 6.1.124, 6.12.9, 6.6.70
CVEs
CVE-2024-57938
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 17:51 UTC · Revision 1

Source evidence

net/sctp: Prevent autoclose integer overflow in sctp_association_init()

core-osv · Original source

Published 21 Jan 2025, 12:09 UTC

In the Linux kernel, the following vulnerability has been resolved: net/sctp: Prevent autoclose integer overflow in sctp_association_init() While by default max_autoclose equals to INT_MAX / HZ, one may set net.sctp.max_autoclose to UINT_MAX. There is code in sctp_association_init() that can consequently trigger overflow.

osv:CVE-2024-57938

Kernel

Fixed versions: 5.4.289, 5.10.233, 5.15.176, 6.1.124, 6.6.70, 6.12.9

Complete source record
{
  "id": "2be6e51c96b652d0aa3a39b1e7d16d5389cacd3f4625ea7313237556c60d5327",
  "url": "https://osv.dev/vulnerability/CVE-2024-57938",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net/sctp: Prevent autoclose integer overflow in sctp_association_init()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: net/sctp: Prevent autoclose integer overflow in sctp_association_init() While by default max_autoclose equals to INT_MAX / HZ, one may set net.sctp.max_autoclose to UINT_MAX. There is code in sctp_association_init() that can consequently trigger overflow.",
    "evidence": "osv:CVE-2024-57938",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.289",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.233",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.176",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.124",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.70",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-57938",
      "aliases": [
        "CVE-2024-57938"
      ],
      "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": "9f70f46bd4c7267d48ef461a1d613ec9ec0d520c"
                },
                {
                  "fixed": "94b7ed0a4896420988e1776942f0a3f67167873e"
                },
                {
                  "fixed": "081bdb3a31674339313c6d702af922bc29de2c53"
                },
                {
                  "fixed": "f9c3adb083d3278f065a83c3f667f1246c74c31f"
                },
                {
                  "fixed": "7af63ef5fe4d480064eb22583b24ffc8b408183a"
                },
                {
                  "fixed": "271f031f4c31c07e2a85a1ba2b4c8e734909a477"
                },
                {
                  "fixed": "2297890b778b0e7c8200d6818154f7e461d78e94"
                },
                {
                  "fixed": "4e86729d1ff329815a6e8a920cb554a1d4cb5b8d"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57938.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.13.0"
                },
                {
                  "fixed": "5.4.289"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.233"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.176"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.124"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.70"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57938.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:44.970491688Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/081bdb3a31674339313c6d702af922bc29de2c53",
        "https://git.kernel.org/stable/c/2297890b778b0e7c8200d6818154f7e461d78e94",
        "https://git.kernel.org/stable/c/271f031f4c31c07e2a85a1ba2b4c8e734909a477",
        "https://git.kernel.org/stable/c/4e86729d1ff329815a6e8a920cb554a1d4cb5b8d",
        "https://git.kernel.org/stable/c/7af63ef5fe4d480064eb22583b24ffc8b408183a",
        "https://git.kernel.org/stable/c/94b7ed0a4896420988e1776942f0a3f67167873e",
        "https://git.kernel.org/stable/c/f9c3adb083d3278f065a83c3f667f1246c74c31f",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57938.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-57938",
        "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/2024/57xxx/CVE-2024-57938.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-57938",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 512593,
  "published_at": "2025-01-21T12:09:15.412+00:00"
}