CVE-2024-36903 ipv6: Fix potential uninit-value access in __ip6_make_skb()

Medium 5.5 Published Updated

A race condition in the Linux kernel IPv6 stack allows attackers to read uninitialized memory, potentially disclosing sensitive information.

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-36903?

CVE-2024-36903 is a medium-severity vulnerability in Linux kernel, published on 30 May 2024. 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:

ipv6: Fix potential uninit-value access in __ip6_make_skb()

As it was done in commit fc1092f51567 ("ipv4: Fix uninit-value access in __ip_make_skb()") for IPv4, check FLOWI_FLAG_KNOWN_NH on fl6->flowi6_flags instead of testing HDRINCL on the socket to avoid a race condition which causes uninit-value access.

Weakness: CWE-908

Which versions are affected by CVE-2024-36903?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-36903?

Apply the vendor's patch.

Is CVE-2024-36903 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-56225, BELL-CVE-2024-36903, DEBIAN-CVE-2024-36903, ROOT-OS-DEBIAN-11-CVE-2024-36903, ROOT-OS-DEBIAN-12-CVE-2024-36903, ROOT-OS-UBUNTU-2204-CVE-2024-36903 and 1 more.

Is CVE-2024-36903 in your software?

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

Check your SBOMs for free