CVE-2024-57938 net/sctp: Prevent autoclose integer overflow in sctp_association_init()

Medium 5.5 Published Updated

An integer overflow in the Linux kernel SCTP implementation can cause a denial of service when max_autoclose is set to UINT_MAX.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-57938?

CVE-2024-57938 is a medium-severity vulnerability in Linux kernel, published on 21 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-190

Which versions are affected by CVE-2024-57938?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-57938?

Apply the vendor's patch.

Is CVE-2024-57938 being exploited?

There is no known exploitation of CVE-2024-57938 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-55901, AZL-55916, BELL-CVE-2024-57938, DEBIAN-CVE-2024-57938, GHSA-frp4-f42v-g8xw, UBUNTU-CVE-2024-57938.

Is CVE-2024-57938 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free